Getting Error while adding reference to WebService
HI,
I am getting error while adding reference to webservice file(*.asmx) in the local system, it is showing error at the <@ position in the asmx file. Can anyone help me to fix this problem. Thanks in advance,
Here is the error:
The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.
--------------------------------------------------------------------------------
A name was started with an invalid character. Error processing resource 'http://localhost/MyWebProjects/WebSite1/Service.as...
<%@ WebService Language="C#" CodeBehind="~/App_Code/Service.cs" Class="WService.Service" %>
-^
VijayaRam B
|