Connecting to SQL through ASP
From: Ann (williaj_at_rrb.gov)
Date: 04/30/03
- Previous message: David Wang [Msft]: "Re: What IIS settings are required to allow file upload? I keep getting 401 error"
- Next in thread: Ken Schaefer: "Re: Connecting to SQL through ASP"
- Reply: Ken Schaefer: "Re: Connecting to SQL through ASP"
- Reply: Tom Kaminski [MVP]: "Re: Connecting to SQL through ASP"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: 29 Apr 2003 21:15:53 -0700
Guys I need your help.
I think i have followed the instructions for connecting to SQL Server
when IIS and SQL are on different machines, but I still get error,
Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'. What am I
missing?
IIS 5.0 machine running on win2000 pro
Anonymous account IUSR_MACHINENAME was given password
Authentication Method for the web was set to:
Anonymous is not checked
Basic is checked
Integrated is checked
SQL 7.0 machine running on win2000 pro
Created local account with same name (IUSR_MACHINENAME) as IIS
anonymous account and same password
Gave this account log on locally rights and Access this computer from
the network rights
Added new login IUSR_MACHINENAME in SQL Enterprise manager and mapped
it to the local account I created above
Added this login to the database I want to access
My connection string is:
"Provider=SQLOLEDB.1;Initial Catalog=XXXXXXX;Integrated
Security=SSPI;Data Source=XXXXXXX"
Can anyone help????
Thanks
Ann
- Previous message: David Wang [Msft]: "Re: What IIS settings are required to allow file upload? I keep getting 401 error"
- Next in thread: Ken Schaefer: "Re: Connecting to SQL through ASP"
- Reply: Ken Schaefer: "Re: Connecting to SQL through ASP"
- Reply: Tom Kaminski [MVP]: "Re: Connecting to SQL through ASP"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|