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. How to install my web service on another PC?

How to install my web service on another PC?

Scheduled Pinned Locked Moved C#
questioncsharphelptutorial
4 Posts 2 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.
  • C Offline
    C Offline
    Crazy Joe Devola
    wrote on last edited by
    #1

    Hi I wrote a web service in C#. Now I want to install it on another PC. How do I do that? Here is what I have done: a) From my development PC, I copied the WS folder to the other PC. b) Went into Internet Information Services and created new a new Virtual directory that points to that folder. Problem is I can't get the web service to work. When I open my internet exploer and browse to http://localhost/MyWebService/Item.asmx, I get just <%@ WebService Language="c#" Codebehind="Item.asmx.cs" Class="Retalix.StoreLine.WS.Item" %> Thank you.

    J 1 Reply Last reply
    0
    • C Crazy Joe Devola

      Hi I wrote a web service in C#. Now I want to install it on another PC. How do I do that? Here is what I have done: a) From my development PC, I copied the WS folder to the other PC. b) Went into Internet Information Services and created new a new Virtual directory that points to that folder. Problem is I can't get the web service to work. When I open my internet exploer and browse to http://localhost/MyWebService/Item.asmx, I get just <%@ WebService Language="c#" Codebehind="Item.asmx.cs" Class="Retalix.StoreLine.WS.Item" %> Thank you.

      J Offline
      J Offline
      Judah Gabriel Himango
      wrote on last edited by
      #2

      The other machine will need a web server up and running, ala IIS. If you've got IIS installed, make sure the default website is started and that the IIS service is started.

      C 1 Reply Last reply
      0
      • J Judah Gabriel Himango

        The other machine will need a web server up and running, ala IIS. If you've got IIS installed, make sure the default website is started and that the IIS service is started.

        C Offline
        C Offline
        Crazy Joe Devola
        wrote on last edited by
        #3

        Thanks. IIS is installed on the target machine, default web site is started, and the World Wide Web Publishing service is also started. Still, when I browse to my service, i get a page with just the contenst of item.asmx: <%@ WebService Language="c#" Codebehind="Item.asmx.cs" Class="Retalix.StoreLine.WS.Item" %> This PC is a Win2000 professional, with no visual studio .net on it - only .NET framework 1.1. I tried the same steps on another PC, XP professional with .NET framework 1.1 and it works OK there. could it be an operating system issue? thank you.

        J 1 Reply Last reply
        0
        • C Crazy Joe Devola

          Thanks. IIS is installed on the target machine, default web site is started, and the World Wide Web Publishing service is also started. Still, when I browse to my service, i get a page with just the contenst of item.asmx: <%@ WebService Language="c#" Codebehind="Item.asmx.cs" Class="Retalix.StoreLine.WS.Item" %> This PC is a Win2000 professional, with no visual studio .net on it - only .NET framework 1.1. I tried the same steps on another PC, XP professional with .NET framework 1.1 and it works OK there. could it be an operating system issue? thank you.

          J Offline
          J Offline
          Judah Gabriel Himango
          wrote on last edited by
          #4

          I don't know; I'm not sure of the requirements there. Such a question might be better suited for the ASP.NET forum.

          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