• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 194
  • Last Modified:

How to deploy an asp.net web service application

Hi,

I hope that someone is able to help. This is my first go at creating a web service. I have created an application using visual studio 2012 and manage to run this on my computer in debug mode by running F5.

This seems to run ok. I did notice however if I try and access this via ip and not using localhost that this does not work.

So for example this works :

http://localhost:62815/PrintService.asmx

But this does not work:

http://192.168.2.106:62815/PrintService.asmx


Please see the following document for the setup and errors I received. I would appreciate any help in how to deploy this web service.

Best regards,

Ross
WebService.docx
0
ross13
Asked:
ross13
  • 3
3 Solutions
 
Paul MacDonaldDirector, Information SystemsCommented:
I believe http://192.168.2.106:62815/PrintService.asmx will only work if you're running a web server on your computer, and not relying on VisualStudio's built-in server.  This movie goes into some detail about how to publish to a web server.
0
 
ross13Author Commented:
I tried the steps that were in the video and are in the attached word document.

Regards,

Ross
0
 
Lokesh B RDeveloperCommented:
0
 
ross13Author Commented:
I found out that my main problem was that the asp.net was missing from my install components for IIS.
0
 
ross13Author Commented:
The reason for the error when trying to run on local PC was due to missing asp.net components
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: C++ 11 Fundamentals

This course will introduce you to C++ 11 and teach you about syntax fundamentals.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now