Monday, March 17, 2008

Problem after hosting webservice

When I tried to host a WebService and then to check it in the browser I got the content of the file rather than the list of WebMethods.

To solve this, first check whether the asp.net version is set in the website properties in IIS.

If your problem is not solved (most probably you install IIS after installing .net) run "aspnet_regiis.exe -i"(it will be there in your .net frame work folder) and then run "iisreset".

This fixed my problem.

No comments:

Post a Comment