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: General / Classic ASP versions(v3.4.XX)
 error message
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

dekouw
Starting Member

Netherlands
6 Posts

Posted - 10 February 2007 :  10:24:26  Show Profile  Visit dekouw's Homepage
After changing the config file as derscribed is get this message:


Microsoft OLE DB Provider for SQL Server error '80004005'

Cannot open database requested in login 'databasename'. Login fails.

/forum/inc_header.asp, line 111


annybody who can help with this??

Podge
Support Moderator

Ireland
3776 Posts

Posted - 10 February 2007 :  11:31:36  Show Profile  Send Podge an ICQ Message  Send Podge a Yahoo! Message
Are you sure that you have typed the correct database name, username and password in config.asp ?

Podge.

The Hunger Site - Click to donate free food | My Blog | Snitz 3.4.05 AutoInstall (Beta!)

My Mods: CAPTCHA Mod | GateKeeper Mod
Tutorial: Enable subscriptions on your board

Warning: The post above or below may contain nuts.

Edited by - Podge on 10 February 2007 11:31:49
Go to Top of Page

dekouw
Starting Member

Netherlands
6 Posts

Posted - 10 February 2007 :  11:47:40  Show Profile  Visit dekouw's Homepage
yes, i checked two times (i changed the name in this message
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 10 February 2007 :  12:19:22  Show Profile  Send ruirib a Yahoo! Message
Well, the error message shows that the username and / or the password are incorrect.


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

pdrg
Support Moderator

United Kingdom
2897 Posts

Posted - 10 February 2007 :  12:47:31  Show Profile  Send pdrg a Yahoo! Message
are you sure you didn't miskey, add a space, lose or add an extra ' or " or anything? Did you change the data in the db?

Could you post the few lines of code around the error (you can obfuscate the password) so we could see if anything is obvious?
Go to Top of Page

dekouw
Starting Member

Netherlands
6 Posts

Posted - 10 February 2007 :  16:14:11  Show Profile  Visit dekouw's Homepage
I will try once more
Go to Top of Page

dekouw
Starting Member

Netherlands
6 Posts

Posted - 10 February 2007 :  16:30:21  Show Profile  Visit dekouw's Homepage
'#################################################################################
'## SELECT YOUR DATABASE TYPE AND CONNECTION TYPE (access, sqlserver or mysql)
'#################################################################################
strDBType = "sqlserver"
'strDBType = "access"
'strDBType = "mysql"

'## Make sure to uncomment one of the strConnString lines and edit it so that it points to where your database is!
strConnString = "Provider=SQLOLEDB;Data Source==Server_IP;database=DBName;uid=username;pwd=XXXXXXXX;" '## MS SQL Server 6.x/7.x/2000 (OLEDB connection)
'strConnString = "driver={SQL Server};server=SERVER_NAME;uid=UID;pwd=PWD;database=DB_NAME" '## MS SQL Server 6.x/7.x/2000 (ODBC connection)
'strConnString = "driver=MySQL;server=Server_IP;uid=username;pwd=xxxxxx;database=DBName" '## MySQL w/ MyODBC v2.50
'strConnString = "driver={MySQL ODBC 3.51 Driver};option=16387;server=SERVER_IP;user=UID;password=PWD;DATABASE=DB_NAME;" '##MySQL w/ MyODBC v3.51
'strConnString = "DSN_NAME" '## DSN

strTablePrefix = "FORUM_"
strMemberTablePrefix = "FORUM_"

Edited by ruirib - we don't need the actual DB and server access data

Edited by - dekouw on 10 February 2007 16:31:35
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 10 February 2007 :  16:54:04  Show Profile  Send ruirib a Yahoo! Message
Can you connect to the database using that username and password, from SQL Server Enterprise Manager or Management Studio?


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

dekouw
Starting Member

Netherlands
6 Posts

Posted - 10 February 2007 :  17:08:03  Show Profile  Visit dekouw's Homepage
You lost me with your question but thanks for editing away the access data
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 10 February 2007 :  17:11:56  Show Profile  Send ruirib a Yahoo! Message
Right now you need to determine if the username / password are correct for that database. You could try logging in using one of the SQL Server tools, if you had them...


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

pdrg
Support Moderator

United Kingdom
2897 Posts

Posted - 11 February 2007 :  06:48:21  Show Profile  Send pdrg a Yahoo! Message
If you don't have the SQL Server tools, you could try using Access to connect to the remote database (try creating a linked table)

Rui - a thought, could the databasename dekouw is trying to use be a dupe of an existing db, hence the credentials failure?
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 11 February 2007 :  10:51:20  Show Profile  Send ruirib a Yahoo! Message
That's a good suggestion, the Access one. It means that dekouw needs either to create an ODBC connection to the database, or use a data access project, that will allow him to connect to the database server directly...

Not sure about the second thought, though. You mean a duplicate of the DB?


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

pdrg
Support Moderator

United Kingdom
2897 Posts

Posted - 11 February 2007 :  11:13:04  Show Profile  Send pdrg a Yahoo! Message
Well rather a dupe of the existing db name. I don't know his host, or how they're configured or how well they're segmented, but if, for instance, there's already a database called 'DBName' (or some other default, maybe 'snitz', etc) in their sql server, and someone else tried to connect to that db then the u:p would fail. I guess more details on the host would clear that one up!
Go to Top of Page

daveo
New Member

97 Posts

Posted - 11 February 2007 :  12:47:46  Show Profile  Visit daveo's Homepage
Also, is the account a windows domain account so username would be domain\account or a SQL account where the username would be account?

http://copdforum.portalone.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.43 seconds. Powered By: Snitz Forums 2000 Version 3.4.07