At 10:50 AM 5/23/2002 +0200, Csaba Gero wrote:
>You'll have to grant access permissions to the account used to run
>aspnet_wp.exe (ASPNET by default), not the account used by IIS
>(IUSR_ServerName), as that is the process that initiates the connection.

No - I found the root of my problem; when I rebuilt the solution I didn't
realize I'd pointed it at the wrong drive, so the changes I was making
weren't showing in the website I was hitting. :/

For the archives, here's the connection string I'm using:
Initial Catalog=db;Data Source=localhost;Integrated Security=SSPI;

I had to put the impersonation string in web.config:
<identity impersonate="true" />

And of course make sure the user you're logging in as has a login and
permissions on the database.

Philo

You can read messages from the Advanced DOTNET archive, unsubscribe from Advanced 
DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to