Solved

Web Service cannot be found

Posted on 2006-11-14
4
197 Views
Last Modified: 2012-06-21
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
Comment
Question by:leta37
  • 2
  • 2
4 Comments
 
LVL 12

Accepted Solution

by:
sandip132 earned 500 total points
ID: 17944364
check the virtual directory is correct and have proper permissions.
0
 

Author Comment

by:leta37
ID: 17944399
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
 

Author Comment

by:leta37
ID: 17944487
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
 
LVL 12

Expert Comment

by:sandip132
ID: 17945044
aspnet_isapi.dll  problem mostly happenes when IIS is installed after Visual Studio.
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In .NET 2.0, Microsoft introduced the Web Site.  This was the default way to create a web Project in Visual Studio 2005.  In Visual Studio 2008, the Web Application has been restored as the default web Project in Visual Studio/.NET 3.x The Web Si…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question