pankajsparashar

Hi

I have webservice website in ASP.NET2.0 and published these webservices to IIS Server 5.1 on local host .My system has WinXP with sp2. When I try to browse any of webservice then it gives me following error

-----------------------------------------------------------------------------------

The XML page cannot be displayed

Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.


Re: ASMX Web Services and XML Serialization IIS Settings for Publishing WebServices

ranamauro

ASP.NET 2.0 seems to be misconfigured on your system. to fix this run these two commands one after the other:

%systemroot%\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe -ua

%systemroot%\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe -i -enable