Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: Database: MS SQL Server
 Error code: 80004005
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

jmoffett
Starting Member

11 Posts

Posted - 20 July 2006 :  15:03:32  Show Profile
I am trying to set up my forum and I am getting an the following error:


The database could not be opened !!
Check your config.asp file and set the
strConnString so it points to the database.
Also check if strDBType is set to the right database type.

Code : 80004005

Error Description :
Cannot open database requested in login 'snitzdb'. Login fails.


I've searched on the error code and see that it generally is caused by permissions setup. I am hosting through ComCity.com and I have established a DSN entitled "snitzdb" with the database name the same (snitzdb) within the database control panel, which uses MS SQL 2000. My database control panel gives me an IP address of 205.178.132.160 and I'm using the following sequences:


strDBType = "sqlserver"

strConnString = "Provider=SQLOLEDB;Data Source=205.178.132.160;database=snitzdb;uid=********;pwd=******;" '## MS SQL Server 6.x/7.x/2000 (OLEDB connection)


I have replaced the uid= and the pwd= with asterisks, but my entry in the config.asp matches the username and password in my database control panel.

I extracted the Snitz files to a directory named "snitz" and uploaded that directory into my /htdocs directory on my host server.

I've actually had this working previously, using a different DSN and database name, but I deleted that database configuration from my control panel for unrelated reasons. Now I can't enter setup. Any ideas?

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 20 July 2006 :  15:13:16  Show Profile  Send ruirib a Yahoo! Message
That's definitely a permissions problem. Why did you setup a DSN and then not use it? Have you tried connecting using the DSN?


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

jmoffett
Starting Member

11 Posts

Posted - 20 July 2006 :  16:10:06  Show Profile
Thanks for the reply. I just went into my config.asp file and used the DSN string and put the ' back in front of the other string, saved it and uploaded it to my server. I then reloaded the setup.asp file from my browser and I got this message:


The database could not be opened !!
Check your config.asp file and set the
strConnString so it points to the database.
Also check if strDBType is set to the right databasetype.

Code : 80040E4D

Error Description :
[Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user '(null)'. Reason: Not associated with a trusted SQL Server connection.

What does that mean?
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 20 July 2006 :  18:08:22  Show Profile  Send ruirib a Yahoo! Message
That means that the authentication is failing once more, but somehow the user is not being correctly identified (is being identified as null).


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

mikegodwin
Starting Member

USA
18 Posts

Posted - 03 August 2006 :  13:52:17  Show Profile  Visit mikegodwin's Homepage
I don't know if you got it working yet or not, but here's something I found that helped me fix the same problem..

http://support.microsoft.com/kb/889615/en-us
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.15 seconds. Powered By: Snitz Forums 2000 Version 3.4.07