Solved

404 web services migration 1.1 to 4.0

Posted on 2011-09-16
2
312 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

A basic question.. “What is the Garbage Collector?” The usual answer given back: “Garbage collector is a background thread run by the CLR for freeing up the memory space used by the objects which are no longer used by the program.” I wondered …
It seems a simple enough task, yet I see repeated questions asking how to do it: how to pass data between two forms. In this article, I will show you the different mechanisms available for you to do just that. This article is directed towards the .N…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…

628 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