XML/SOAP based webservice Help
I'm getting the errors when trying to test a webservice from the 'Walkthrough' XML webservice exercise. Any help is greatly appreciated!
I'm getting the errors when trying to test a webservice from the 'Walkthrough' XML webservice exercise. Any help is greatly appreciated!
i am having the same problem.. is there any solution to this bug..did u get some work around..
I created a webservice using VB. When I test it using the Visual Studio 2005, with Visual Web Server, it works perfectly. But when I try to use it with IIS, it gives an error for the asp.net page. I am using Windows XP with IIS.
The error message displayed is:
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/WebSite1A/Service.asmx'. Line 1,...
<%@ WebService Language="VB" CodeBehind="~/Code/Service.vb" Class ="Service" Debug="true" %>
-^
Hi!
Thanks for asking! I'm a member of the ASP.NET team, and was just popping over here to see what was going on. The best place to ask ASP.NET questions is over on the ASP.NET forums at
http://www.asp.net/welcome.aspx?tabindex=1&tabid=39Just looking at the header, that should work (with the exception of the -^ at the end). If you were copying and pasting, there MAY be some hidden character that got pasted, but that seems a little far fetched. If you create a simple empty web service, does that compile? Let me know over on the ASP.NET forums and we'll take if from there.
HTH,
PEte
Hi,
I had the same problem, and solved it doing this:
Run C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe -i
Thanks,
Hi,
May b ur PC still have iis registration with VS2003..
So u need to re-register iis again with VS 2005,for that uneed to do couple of things..
- start Visual Studio 2005 Command Prompt
- execute aspnet_regiis -i
This will register ur iis with VS2005..
Hope this may work for u...