CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Sep 2005
    Location
    Cracow, Poland
    Posts
    345

    Question Web service & IIS

    I have searched for few hours for how to host my WebService on IIS (5.0 or 6.0). I still didn`t succeded.

    Could anyone help me and tell me exactly what I have to do to publish my WebService? I have made a virtual directory, but what I have to put in it? And what to type in web browser to see it?

    Thank you very much in advance
    Last edited by yoyosh; August 21st, 2007 at 07:11 AM.

  2. #2
    Join Date
    Jun 2003
    Location
    Toronto
    Posts
    805

    Re: Web service & IIS

    All you really need to do is upload the ASMX and binaries to a virtual directory or a site on IIS.

    this page gives you some step by step:
    http://www.codeguru.com/Csharp/Cshar...icle.php/c5477

    you can also try putting up a little test html page on the same virtual directory in order to test access. if you can hit the page but not your webservice then you know the IIS Site is set up properly but the Webservice may have a problem.

    Also with IIS 6 you may need to enable web service extensions. Otherwise you may get a 404 error, check here:
    http://www.microsoft.com/technet/pro....mspx?mfr=true

    hth,
    mcm
    rate my posts!
    mcm

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured