Solved

Web Service cannot be found

Posted on 2006-11-14
4
196 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
What .NET website keeps me current? 9 57
Rolling back a sequence of stored procedures 12 38
asp.net mvc return json 2 56
Gridview alignment 1 10
Lots of people ask this question on how to extend the “MembershipProvider” to make use of custom authentication like using existing database or make use of some other way of authentication. Many blogs show you how to extend the membership provider c…
User art_snob (http://www.experts-exchange.com/M_6114203.html) encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

895 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now