SgDotNet
Singapore Professional .NET User Group -For Cool Developers

Error Publishing and Running a WebService on the IIS Web Server

Latest post 04-23-2008 2:39 AM by mythios. 2 replies.
  • 04-14-2008 11:32 AM

    Error Publishing and Running a WebService on the IIS Web Server

    I dun know if any1 ever face this same Problem as me when publishing and
    running a WebService from the IIS Server

    I created a simple VB.NET Web Services
    The WebServices run well from the Visual Studio
    The 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.asmx
    and 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.

  • 04-22-2008 3:13 PM In reply to

    Re: Error Publishing and Running a WebService on the IIS Web Server

    Is the .NET Framework (v1 or v2 for your case) even installed on the server, and IIS configured to operate ASP.NET?
    The melody of logic will always play out the truth. ~ Narumi Ayumu, Spiral
  • 04-23-2008 2:39 AM In reply to

    Re: Error Publishing and Running a WebService on the IIS Web Server

    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. :> 

Page 1 of 1 (3 items) | RSS
Copyright SgDotNet 2004-2007
Powered by Community Server (Commercial Edition), by Telligent Systems