I dun know if any1 ever face this same Problem as me when publishing andrunning a WebService from the IIS Server
I created a simple VB.NET Web Services The WebServices run well from the Visual StudioThe WebService can also consumed without error from another VB.Net applications
However, when I deployed and published it to run on the IIS Web Server as follows :- C:\Inetpub\wwwroot\ProductWS\ProdService.asmxand run the WebService on browser from the IIS Server(http://localhost/ProductWS/ProdService.asmx), it return the following errors:-
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
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.
A name was started with an invalid character. Error processing resource 'http://localhost/ProductWS/ProdService.asmx'. Lin...
<%@ WebService Language="VB" Class="ProdService" %> -^
Any1 encountered such problem and know the solution? pls advise me.
Thanks.
The melody of logic will always play out the truth. ~ Narumi Ayumu, Spiral
hi thanks... i just realized for ur hint... I am using the wrong version of ASP.NET in my IIS server..
The Web Service was created with ASP.NET version 2.xxxx, but the IIS Server is still referencing to ASP.NET version 1.xxxx....
I fixed it and it works..
Thanks. :>