Request failed with HTTP status 401: Unauthorized - IIS Upgrade - WebService & Web Application

I know that there have already been several questions on this topic. Please note that this question and situation are different from others. Of course, I tried all the other directions asked in the previous questions.

Previous scenario: My current server is 2003, and it has a web application hosted on it. And a web service hosted on the 2008 server. Both work in Windows Authentication. And yet now it works perfectly, without any problems.

Update scenario: We plan to upgrade the server from 2003 to 2008 to host web applications.

Question: After the update, we get the error below.

Request Error with HTTP Status 401: Unauthorized

When we install Anonymous authentication , working as expected.

The code is already configured with the defaultcredential parameter as True .

One tricky part: We cannot change the code as our assembly in the .Net Framework 2.0 , since it has many internal DLLs that are missing / not working / not in proper condition to accept and fix this. His nearly 116 projects are interconnected, so we do not have enough time to fix and restore all things.

The following are snippets:

Language: C # .Net Framework: 2.0 Authentication: Windows

, -, IIS .., . , , . , , - .

TA

+4

Source: https://habr.com/ru/post/1618450/


All Articles