krbnldy
asked on
Access Denied Error
I am using the following DSNLESS connection to access info from sql server 2003 and I am getting the following error
----Connection----------
set cn = Server.CreateObject("ADODB .Connectio n")
cn.connectionstring = "Provider=SQLOLEDB.1;Persi st Security Info=False;User ID=iwilliams;Password=4161 023;Initia l Catalog=CustomerMaster;Dat a Source=CITSCUSTMAST"
cn.OPEN
----error------
Microsoft OLE DB Provider for SQL Server (0x80004005)
[DBNMPNTW]Access denied.
any idea how to correct this problem
thank you
----Connection----------
set cn = Server.CreateObject("ADODB
cn.connectionstring = "Provider=SQLOLEDB.1;Persi
cn.OPEN
----error------
Microsoft OLE DB Provider for SQL Server (0x80004005)
[DBNMPNTW]Access denied.
any idea how to correct this problem
thank you
ASKER
yes i have the correct user name and password
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
http://www.connectionstrings.com/ has a detailed listing of many connection string templates.
Hope this helps.
-Jim