Solved

404 web services migration 1.1 to 4.0

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

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
Loop not working 29 47
Tool Box 2 35
.NET tools for adding thread safety to a web app? 3 17
Need a starter for ETL protocol? 4 43
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…
More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…

867 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