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

Web Service cannot be found

Hi Experts!

I have jsut moved a web service from an old server to our brand spanking new flashy server.

Problem: When I browse to http://mydomain/api/Service.asmx I get the default IIS error message "The page cannot be found" - and it works perfectly on the old server

Both servers are Win2k3 and both are running ASP.NET2.0

I have checked the permissions, and firewall rules and dont know what else to do. The file is definately there!!!

Any suggestions???
0
leta37
Asked:
leta37
  • 2
  • 2
1 Solution
 
sandip132Commented:
check the virtual directory is correct and have proper permissions.
0
 
leta37Author Commented:
Ok, I have created a new service from visual studio .net 2005 - and it should ahve teh default 'Hello World' service - even this Service.asmx page will not display in the browser
0
 
leta37Author Commented:
ANSWER:

Add aspnet_isapi.dll to the Web Service Extension list in IIS and set it to Allowed - for some reason this must have been skipped when APS.NET2.0 was installed on the server
0
 
sandip132Commented:
aspnet_isapi.dll  problem mostly happenes when IIS is installed after Visual Studio.
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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

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