Ask a Question related to ASP Database, Design and Development.
-
Gabriel #1
OLEDB connection string help
I'm trying to connect to a SQL Server using dsn-less
connection string such as "PROVIDER=SQLOLEDB;DATA
SOURCE=SQLSERVER;UID=DOMAIN\username;PWD=password; DATABASE
=myDB" I know it works with Standard SQL Server
authentication but is it possible to use Windows
authentication like in the example above? It tells me
that login failed for user.
Any help or suggestions would be appreciated.
Thanks,
Gabriel
Gabriel Guest
-
Dreamweaver ASP.NET OLEDB connection problem
have some Dreamweaver ASP .NET OLE DB connectin problem - I have "The connection was made susessfull" message but doesn't see any table in it. Can... -
Replacement for OLEDB connection in MX?
My ISP used to have Cold Fusion 5 running on their servers, allowing me to connect to databases via OLEDB connection: <CFSET... -
Help with OLEDB connection string
Hi, I'm following the below example in order to create a connection to my Access database. My question is, is it possible to include the... -
OLEDB COnnection String to Oracle
Does someone know the proper connection string for using OLE DB connection to an oracle server ? Jon Spartan -
Connection string - ODBC vs OLEDB and Unspecified Error
This one has me stumped and I was wondering if anyone might have a solution... Using this connection string ... -
Bob Barrows #2
Re: OLEDB connection string help
Gabriel wrote:
[url]http://www.aspfaq.com/show.asp?id=2126[/url]> I'm trying to connect to a SQL Server using dsn-less
> connection string such as "PROVIDER=SQLOLEDB;DATA
> SOURCE=SQLSERVER;UID=DOMAIN\username;PWD=password; DATABASE
> =myDB" I know it works with Standard SQL Server
> authentication but is it possible to use Windows
> authentication like in the example above? It tells me
> that login failed for user.
>
> Any help or suggestions would be appreciated.
>
> Thanks,
>
> Gabriel
HTH,
Bob Barrows
--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.
Bob Barrows Guest
-
Foo Man Chew #3
Re: OLEDB connection string help
> authentication like in the example above? It tells me
To use Windows Authentication, you don't specify the username and password.> that login failed for user.
(If you can hardcode a Windows password into an ASP page, kind of defeats
the purpose, and isn't very secure.) If you want to use Windows
authentication, you either have to add the IUSR_WebServer account manually
to the SQL Server machine, or else force users to authenticate and a Windows
group (or individual users, if required) to SQL Server. For most web
applications, it makes much more sense to use SQL Auth.
Foo Man Chew Guest



Reply With Quote

