Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Authorization to SQL Server
Message
De
25/09/2015 03:28:01
 
 
À
24/09/2015 11:48:37
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
VB 9.0
OS:
Windows 8.1
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01625043
Message ID:
01625069
Vues:
54
>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?

What version of IIS ?

Are you sure that the new site is pointed to the correct application pool. The default behaviour in IIS7 when creating a new site is to create an additional app pool of the same name using the ApplicationPoolIdentity identity. You may need to change the Application Pool in the site advanced settings.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform