Solved

404 web services migration 1.1 to 4.0

Posted on 2011-09-16
2
304 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

Resolve Critical IT Incidents Fast

If your data, services or processes become compromised, your organization can suffer damage in just minutes and how fast you communicate during a major IT incident is everything. Learn how to immediately identify incidents & best practices to resolve them quickly and effectively.

Question has a verified solution.

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

Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
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…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

733 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