i




 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Silverlight.web web service parsar error problem
05-21-2012, 09:06 AM (This post was last modified: 05-21-2012 09:30 AM by gopal_nivas.)
Post: #1
Not Solved Silverlight.web web service parsar error problem
hi..

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.
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 'GetWebservice'.

Source Error:





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.

note:
in silverlight app. i dont have app_code folder . both asmx and asmx.cs file in root directory only.


need ur suggestions..

regards
gopal.s


Quote
05-21-2012, 10:20 AM
Post: #2
Not Solved RE: Silverlight.web web service parsar error problem
Hi,
1) Open IIS
2) Expand [Computer Name] (local computer) -> Web Sites
3) Right click on Default Web Site -> Properties
4) Go to the Home Directory Tab
5) Click on Configuration... button.
6) In the mappings tab, make sure that .asmx extension is there.

If .asmx is missing, then you need add it by executing the following command in the Visual Studio Command Prompt:
Code:
aspnet_regiis.exe -i

[Image: 2604595733.png]
Quote


Possibly Related Threads...
Thread: Author Replies Views: Last Post
  Web Service to Find Similar Image sharath 1 3,346 11-27-2015 12:02 PM
Last Post: nisar87
  Enable oAuth in asp.net web application gopal_nivas 0 991 09-12-2014 09:02 AM
Last Post: gopal_nivas
  How to Enable oAuth in Asp.net Web application gopal_nivas 0 1,237 09-12-2014 09:01 AM
Last Post: gopal_nivas
  How to Enable oAuth in Asp.net Web application gopal_nivas 0 946 09-12-2014 09:01 AM
Last Post: gopal_nivas
  Call The Web application Folder with different sitname in asp.net gopal_nivas 0 1,072 07-31-2014 08:49 AM
Last Post: gopal_nivas



User(s) browsing this thread: 1 Guest(s)