Re: Here's a rather broad question...
- From: "Homer J. Simpson" <root@xxxxxxxxx>
- Date: Tue, 27 Jun 2006 09:44:38 -0400
I've finally had a few minutes to toy with this some more...
The data route should be
ASP code & pages <--> ADO <---> OLEDB SQLServer Native Provider <---> SQL
Server 2005
Had you been using ODBC it is more complicated
Agreed; in this day and age, ODBC is to be avoided, especially if, like me,
you're trying to do this through a 64-bit environment. Has anyone even
bothered creating 64-bit ODBC drivers?
Beef up the security once you have a working prototype.
Well, here's, generally, what I did:
- nuked both SQL Server 2005 and IIS
- reinstalled them both
- used your connection string ("Provider=sqloledb;Data
Source=yourserver;Initial Catalogue=yourdatabase;Integrated Security=SSPI")
with blank username/password
- (note that I had to change that to Initial Catalog--without the
terminating 'ue', or it would complain it's not a valid element)
- it complained the IIS user (MyMachineName\IUSR_MyMachineName) didn't have
access rights to my database, so I changed IIS's anonymous user to my own
account
Bingo, that worked. Now, of course, I don't wanna let the anonymous user
run as myself, as I run as admin on that box. Switching IIS's anonymous
user back to IUSR_MyMachineName, the page once again complained that this
user doesn't have access to the database. Now, my next problem is, how do I
tell SQL Server that this user should have read rights to that database? I
don't have it in front of me right now so I can't recall the exact steps,
but when I try to create a new SQL Server user, if I try to browse through
existing users, that account isn't listed--because, I'm assuming, one is for
SQL Server authentication, while I'm actually trying to use Windows
authentication...
I'm assuming it makes more sense then to use SQL Server authentication, and
specify this user name/password in my connection string--and this is where
after messing so much with these settings I got in a state where nothing
worked...
To put it bluntly, where would you go from here?
.
- Follow-Ups:
- Re: Here's a rather broad question...
- From: Homer J. Simpson
- Re: Here's a rather broad question...
- References:
- Here's a rather broad question...
- From: Homer J. Simpson
- Re: Here's a rather broad question...
- From: Stephen Howe
- Re: Here's a rather broad question...
- From: Homer J. Simpson
- Re: Here's a rather broad question...
- From: Stephen Howe
- Re: Here's a rather broad question...
- From: Homer J. Simpson
- Re: Here's a rather broad question...
- From: Stephen Howe
- Re: Here's a rather broad question...
- From: Homer J. Simpson
- Re: Here's a rather broad question...
- From: Stephen Howe
- Here's a rather broad question...
- Prev by Date: Re: Error 3265 mystery error
- Next by Date: Re: Error 3265 mystery error
- Previous by thread: Re: Here's a rather broad question...
- Next by thread: Re: Here's a rather broad question...
- Index(es):
Relevant Pages
|
|