in my silver light.web application i have added a web serice.
i hosted the silverlight application in iis7.
when i try to access the webservice URL i received the below error.
Server Error in '/' 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 'GetWebservice'.
Line 1: <%@ WebService Language="C#" CodeBehind="GetWebservice.asmx.cs" Class="GetWebservice" %>
Source File: /getwebservice.asmx Line: 1
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.272
how to handle the above issue.
in silverlight app. i dont have app_code folder . both asmx and asmx.cs file in root directory only.
need ur suggestions..