Solved

404 web services migration 1.1 to 4.0

Posted on 2011-09-16
2
296 Views
Last Modified: 2012-05-12
we recently migrated from 1.1 .net to 4.0 .net - every thing works well locally but when we deployed to one of our development servers I'm getting a 404 error while accessing a web service.

any help would be much appreciated. The web service is a web application project and the current version of .net is selected.

0
Comment
Question by:sanagarwl
2 Comments
 
LVL 28

Accepted Solution

by:
strickdd earned 500 total points
ID: 36550602
Make sure that you have all the ISAPI filters set up properly if you are using URL rewriting with IIS 6 or lower.

Make sure that the application is set as .Net 4.0 in IIS

Make sure it is in a 4.0 app pool if you are using IIS 7+

Add an HTML page to the site in that location and make sure it is accessible, if not you have the website path wrong.

Let me know if any of these are right/wrong.
0
 

Author Comment

by:sanagarwl
ID: 36550906
thanks strickdd,

I looked at the extended log files and it turns out that the it was a path issue - it was trying to access the web service locally when in fact it should have gone to a remote server.

turns out while converting from 1.1 to 4.0 certain configuration setting are added added to the web. Config and since we have environment specific Config files these configuration settings in the default config file had to be manually configured in each of the environment specific configuration files.

We had the web services set to be picked up dynamically and due to the missing configuration settings (than are sepcific to .net 4.0) it was trying to get the web service locally which was nonexistant.

also we are using app pools - unfortunately the iis versions differ between production and the other environments - ie. uat dev and test.

should the app pool not be 4.0 irrespective of IIS version?

thanks for the help.
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Normally the drop down box control found in the .Net framework tools is able to select just one data and value at a time, which is displayed on the text area.   But what if you want to have multiple values to be selected in the drop down box? As …
In my previous article (http://www.experts-exchange.com/Programming/Languages/.NET/.NET_Framework_3.x/A_4362-Serialization-in-NET-1.html) we saw the basics of serialization and how types/objects can be serialized to Binary format. In this blog we wi…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…

708 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

17 Experts available now in Live!

Get 1:1 Help Now