Click here to Skip to main content
15,880,796 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello All,

I am going to take extensive security testing of my application.
I am getting below error

error ASPPARSE: The page must have a <%@ webservice class="MyNamespace.MyClass" ... %> directive.
for MyWebService.asmx.

Whereas MyWebService.asmx having proper directive is defined, as given below -

<%@ WebService Language="C#" CodeBehind="MyWebService.asmx.cs" Class="MyNamespace.MyWebService"%>

Hoping for assistance.

Thanks is advance,

Rohan Lokhande
Posted
Updated 11-Sep-14 22:13pm
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900