Parser Error Message Could not Create type “ServiceName”
Parser Error Message Could not Create type “ServiceName”
I have created a web service in asp.net Website, so in ASP.NET website case that service running successfully. but when i am using the same web service in ASP.NET Web Application Project it's showing the parser Error message like below:
Parser Error
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 'XYZBeta.Service'.
Line 1: <%@ WebService Language="C#" CodeBehind="Service.asmx.cs" Class="XYZBeta.Service" %>
I am unable to find the solution because the same code is running in the case of ASP.NET Website but not running in ASP.NET Web Application Project case.
any suggestions ?
0
Thanks for contributing an answer to Stack Overflow!
But avoid …
To learn more, see our tips on writing great answers.
Required, but never shown
Required, but never shown
By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.