Server Error in '/' Application.

Compilation Error

Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: CS0101: The namespace '<global namespace>' already contains a definition for 'WebService'

Source Error:


Line 15: // To allow this Web Service to be called from script, using ASP.NET AJAX, uncomment the following line. 
Line 16: [System.Web.Script.Services.ScriptService]
Line 17: public class WebService : System.Web.Services.WebService {
Line 18: 
Line 19:     [WebMethod(EnableSession = true)]

Source File: c:\WEBDATA\Pankaj Jhunjhunwala\editinfotech.com\App_Code\WebService_original.cs    Line: 17






Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.4087.0