Versions des environnements
Network:
Windows 2008 Server
>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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement