I am using .NET 2005 Team Architect Edition. I created new project of type web service. This has default one webmethod Hello. I did not make any change. I "Build" the web service. Then I published it.
Then I opened a new web application. Now when I try to set Web Reference to this web service, I get following error:
Server Error in '/Sample' Application.
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.
Parser Error Message: Could not create type 'Forex.Service1'.
Line 1: <%@ WebService Language="C#" CodeBehind="Service1.asmx.cs" Class="Forex.Service1" %>
Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.