Could not create type 'Stratman.Web.VSTS.Services.UpdateTimesheet'

Sep 29, 2008 at 8:14 PM

Hi, lstratman

I have downloaded the TFSTimesheet-3[1].02-TSWA2008-src.zip to a Windows Server 2003 with SP2. The IIS 6.0 and 2008 Team Foundation Server are installed on this Windows Server 2003 with . NET Framework version is 3.5. This is the first time we install your TFS Timesheet program. When I opened the \Stratman\Web\VSTS web site with VS2008 and ran Build - Build Web Site command. I got an error message:

Error 1 Could not create type 'Stratman.Web.VSTS.Services.UpdateTimesheet'. C:\TSFTimesheet302\Stratman\Web\VSTS\Services\UpdateTimesheet.asmx 1 

<%@ WebService Language="C#" CodeBehind="UpdateTimesheet.asmx.cs" Class="Stratman.Web.VSTS.Services.UpdateTimesheet" %>

I got the same error message whether I ran Build - Build Solution or Build - Rebuild Solution.

Our server environments are "Windows Server 2003 with SP2", "Microsoft Visual Studio 2008 Team Foundation Server", "Microsoft Visual Studio 2008 Team System Web Access", and "SQL Server 2005".

Please tell me how to fix this issue. Thank you for your help.