Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Web Service, I am missing something

Web Service, I am missing something

Scheduled Pinned Locked Moved C#
windows-adminhelpquestion
2 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Z Offline
    Z Offline
    zaboboa
    wrote on last edited by
    #1

    Hi, I am trying to publish the web service. I created a new web service in VS2005, by default it has one web method HelloWorld, that returns a string. If I run the web service, and then try to add the web reference from windows application, by using http://localhost:2205/etc... Everything works fine. Now, If I create a virtual directory in IIS, and then use the Publish Web Service option from VS2005, now by trying even to open the web in the browser gives me the error. This is the path that I put into the browser window: http://my_pc_name/ISS_Virtual_Folder_Name/Service_Name.asmx Is there something that I am missing? Thank you!

    Z 1 Reply Last reply
    0
    • Z zaboboa

      Hi, I am trying to publish the web service. I created a new web service in VS2005, by default it has one web method HelloWorld, that returns a string. If I run the web service, and then try to add the web reference from windows application, by using http://localhost:2205/etc... Everything works fine. Now, If I create a virtual directory in IIS, and then use the Publish Web Service option from VS2005, now by trying even to open the web in the browser gives me the error. This is the path that I put into the browser window: http://my_pc_name/ISS_Virtual_Folder_Name/Service_Name.asmx Is there something that I am missing? Thank you!

      Z Offline
      Z Offline
      zaboboa
      wrote on last edited by
      #2

      Ok Solved the problem. Just in case if anyone will run into the same thing. In command line navigate to C:\Windows\Microsoft.NET\Framework\v2.0.50727 and run: aspnet_regiis.exe -i :-)

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups