Migrated ASP.NET application to new server

Anthony Fornito

Recently migrated an ASP.NET application from an old server to a new server

Both servers have the Same OS Windows Server 2008 R2 Standard

IIS 7.5 on both servers

SQL Server 2008 R2

The only difference is the amount of RAM and CPU speed

I have gone the server point to point and cannot find any differences.

I had a developer look at the code and he says its not the code

On the old server the website loads fine on the new server I get an error when browsing the website via domain name

Microsoft SQL Server Native Client 10.0 error '80040e4d'

Login failed for user 'NT AUTHORITY\IUSR'.

/lib/SQLHelper.asp, line 134

I cannot find anywhere that NT AUTHORITY\IUSR is being told to attempt to log in. Im thinking it is some kind of default. I have googled every line of the error trying to find a resolve and have been basically flipping switches to try to find an answer, nothing i have tried provides any good results.

Is there a setting in the deep dark belly of windows that im not checking?

maxwell

'NT AUTHORITY\IUSR' is used by IIS as the account for anonymous users. This means that IIS is using passing through the authentication information to the SQL server rather than using a specified user account.

In most situations you would either have specified an account to be used in the connection string or disabled anonymous access to ensure that the account passed through is a authenticated user account.

It is possible to give the IUSR account permissions on the SQL Server.

Try looking at this article as it may give you some assistance The error "Login failed for user 'NT AUTHORITY\IUSR'" in ASP.NET and SQL Server 2008

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

django 1.8 application migrated to new server rises strange exception

From Dev

Configuration error in ASP.NET application when deploying to new server

From Dev

ASP.NET : Error - Server Error in '/' Application

From Dev

ASP.net server error in '/' Application Inherits

From Dev

Async is not working in large ASP.NET Application but in new application

From Dev

Async is not working in large ASP.NET Application but in new application

From Dev

Migrated CVS to new server - but where have the branches and versions gone?

From Dev

Migrate a ASP.Net application from one server to another server

From Dev

Error when adding new ASP.Net Web Application

From Dev

Debugging an ASP.NET application on Local IIS Server

From Java

Remove "Server" header from ASP.NET Core 2.1 application

From Dev

How to deploy asp.net application to docker container on Linux server?

From Dev

Deploying a ASP.NET MVC 5 Application in Windows Server 2012

From Dev

Run ASP.NET5 web application with Kestrel server on Windows

From Dev

Is it support Application cache in multiple server in asp.net(C#)?

From Dev

Using SignalR as a standalone server application, and not an Asp.Net one

From Dev

Android application using asp.net in server side

From Dev

ASP.NET MVC 2.0 application not working on server

From Dev

Deploy an ASP.net application in windows server 2008

From Dev

ASP.NET Server Error in '/' Application in Visual Studio 2012

From Dev

Tracing for an ASP.NET application does not work in production server

From Dev

Migrated CVS to new server - why did the file commit with a weird, non-cvs, group name?

From Dev

can a web app which is created using .net framework 2.0 running on windows server 2003 be migrated to azure?

From Dev

How to use SQL Server Profiler in SQL Server with your ASP.NET application?

From Dev

Template ASP.NET Core Web Application does not exist in New Project

From Dev

Sharepoint 2010 API upload a file with metadata creating a new version from ASP.NET web application

From Dev

Why does my ASP.NET MVC 4 application create new entities instead of updating the old ones?

From Dev

Why does my ASP.NET web application not add a new user to my Azure Table storage?

From Dev

Template ASP.NET Core Web Application does not exist in New Project

Related Related

  1. 1

    django 1.8 application migrated to new server rises strange exception

  2. 2

    Configuration error in ASP.NET application when deploying to new server

  3. 3

    ASP.NET : Error - Server Error in '/' Application

  4. 4

    ASP.net server error in '/' Application Inherits

  5. 5

    Async is not working in large ASP.NET Application but in new application

  6. 6

    Async is not working in large ASP.NET Application but in new application

  7. 7

    Migrated CVS to new server - but where have the branches and versions gone?

  8. 8

    Migrate a ASP.Net application from one server to another server

  9. 9

    Error when adding new ASP.Net Web Application

  10. 10

    Debugging an ASP.NET application on Local IIS Server

  11. 11

    Remove "Server" header from ASP.NET Core 2.1 application

  12. 12

    How to deploy asp.net application to docker container on Linux server?

  13. 13

    Deploying a ASP.NET MVC 5 Application in Windows Server 2012

  14. 14

    Run ASP.NET5 web application with Kestrel server on Windows

  15. 15

    Is it support Application cache in multiple server in asp.net(C#)?

  16. 16

    Using SignalR as a standalone server application, and not an Asp.Net one

  17. 17

    Android application using asp.net in server side

  18. 18

    ASP.NET MVC 2.0 application not working on server

  19. 19

    Deploy an ASP.net application in windows server 2008

  20. 20

    ASP.NET Server Error in '/' Application in Visual Studio 2012

  21. 21

    Tracing for an ASP.NET application does not work in production server

  22. 22

    Migrated CVS to new server - why did the file commit with a weird, non-cvs, group name?

  23. 23

    can a web app which is created using .net framework 2.0 running on windows server 2003 be migrated to azure?

  24. 24

    How to use SQL Server Profiler in SQL Server with your ASP.NET application?

  25. 25

    Template ASP.NET Core Web Application does not exist in New Project

  26. 26

    Sharepoint 2010 API upload a file with metadata creating a new version from ASP.NET web application

  27. 27

    Why does my ASP.NET MVC 4 application create new entities instead of updating the old ones?

  28. 28

    Why does my ASP.NET web application not add a new user to my Azure Table storage?

  29. 29

    Template ASP.NET Core Web Application does not exist in New Project

HotTag

Archive