Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Connecting to a Database 1

Status
Not open for further replies.

ducky62

Programmer
Jul 10, 2001
24
CA
I'm trying to connect to a database through html and I keep getting the error

"Impossible to open the database per defect of the user. Use of the base master in the place."

I have no clue as to what this means...
The connection string I am using is as follows:

'dsn = "Driver={SQL Server}; Server=BHHCMT;Database=ccoprtest;UID=;PWD="

Any help you could give me would be greatly appreciated
 
Hi ducky62,
I had not worked with HTML, but by seeing your connection string it seems, that you should also pass the userid and password values in your connection string.
 
Yes I have the Username and Password I just left them out here for security reasons...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top