How to install my web service on another PC?
-
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.
-
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.
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.
-
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.
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.
-
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.
I don't know; I'm not sure of the requirements there. Such a question might be better suited for the ASP.NET forum.