Web Service Deployment

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rgb
    New Member
    • Aug 2006
    • 37

    Web Service Deployment

    Hi,

    I need help in deploying a web service. I already have a working web service on a server, I want to create a local copy on a machine. I have copied the necessary files required for the web service locally on the machine, the \bin folder, global.asax file, the asmx file and the web.config file. I added it to the IIS and also create it as an application on the property page. But as i try to access the web service using <http://localhost/appname/service.asmx>, all i can see is the actual content of asmx <%@ WebService Language="vb" CodeBehind="nam e.asmx.vb" Class="name.ser vice" %>

    I need advice, help on steps to do to make the IIS execute the asmx file rather than showing me the actual contents of the file.

    Thank you in advance.
  • mdaRock
    New Member
    • Nov 2006
    • 26

    #2
    Dear Rgb,

    is it on the same machine where you develop the web service??

    if not the i guess you have one of the following problem

    1) need to register the asp.net on IIS:
    %DotNetFramewor kPath%\aspnet_r egiis /i

    2) you use a folder other than wwwroot under inetpub:
    add to security tab page the account aspnet account

    if not please explain more.

    Regards.


    Originally posted by rgb
    Hi,

    I need help in deploying a web service. I already have a working web service on a server, I want to create a local copy on a machine. I have copied the necessary files required for the web service locally on the machine, the \bin folder, global.asax file, the asmx file and the web.config file. I added it to the IIS and also create it as an application on the property page. But as i try to access the web service using <http://localhost/appname/service.asmx>, all i can see is the actual content of asmx <%@ WebService Language="vb" CodeBehind="nam e.asmx.vb" Class="name.ser vice" %>

    I need advice, help on steps to do to make the IIS execute the asmx file rather than showing me the actual contents of the file.

    Thank you in advance.

    Comment

    • rgb
      New Member
      • Aug 2006
      • 37

      #3
      Originally posted by mdaRock
      Dear Rgb,

      is it on the same machine where you develop the web service??

      if not the i guess you have one of the following problem

      1) need to register the asp.net on IIS:
      %DotNetFramewor kPath%\aspnet_r egiis /i

      2) you use a folder other than wwwroot under inetpub:
      add to security tab page the account aspnet account

      if not please explain more.

      Regards.

      Hi mdaRock,

      I discovered that I was using a faulty machine (errors in some MS updates previously) and by simply re-setting up the IIS and NET framework, all the components worked properly.

      Thanks for your advice.

      Comment

      Working...