Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Authorization to SQL Server
Message
From
24/09/2015 11:48:37
 
 
To
All
General information
Forum:
ASP.NET
Category:
Other
Title:
Authorization to SQL Server
Environment versions
Environment:
VB 9.0
OS:
Windows 8.1
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01625043
Message ID:
01625043
Views:
73
I have a Web site application. It is defined to use a connection string to SQL Server with Integrated Security=True. The IIS of that virtual directory is set to an application pool. That application pool is used for other Web site. It works. The application is set to use a specific username.

However, on the new Web site, when I try to do a SQL Server command, I get:

Login failed for user 'NT AUTHORITY\IUSR'.

I cannot understand why that Web site is trying to use that account when the application pool is set for a specific user.

Anyone would have an idea what could be a factor here?
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Next
Reply
Map
View

Click here to load this message in the networking platform