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
 SQL - Create Tables Error/s
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

martybatten
Starting Member

United Kingdom
6 Posts

Posted - 17 October 2005 :  06:57:12  Show Profile
Hi there,

Im having some problems during the initial setup, I have successfully set up the forum on our local test SQL server, but when running the setup on our live site I get the following errors (diff error depending on either OLEDB connection or ODBC).

Error #1 - OLEDB

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 : 80004005

Error Description :
[DBNMPNTW]Access denied.


Error #2 - ODBC

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 : 80004005

Error Description :
[Microsoft][ODBC SQL Server Driver][Named Pipes]Access denied.


I have checked and double checked the config and all seems fine, this is especially weird as it worked no probs locally on our test/development server.

Any help greatly appreciated and thanks in advance..

Marty :-)

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 17 October 2005 :  07:02:24  Show Profile  Send ruirib a Yahoo! Message
You have a permissions problem. Make sure the username and password are valid for that database and that you have the adequate permissions to create the tables.


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

martybatten
Starting Member

United Kingdom
6 Posts

Posted - 17 October 2005 :  12:10:37  Show Profile
Thanks for the reply - we have checked that and we have the correct username/password for the database - which makes this just plain crazy.. ?!
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 17 October 2005 :  13:12:21  Show Profile  Send ruirib a Yahoo! Message
Any reason for using Named Pipes instead of TCP / IP to connect to the database?


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

martybatten
Starting Member

United Kingdom
6 Posts

Posted - 20 October 2005 :  04:48:26  Show Profile
I tried both methods as pasted above - both gave similar errors.. .
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20595 Posts

Posted - 20 October 2005 :  05:24:12  Show Profile  Visit HuwR's Homepage
Named Pipes/tcpip are not related to which connection string you are using, it is a server setting on the SQL server, you need to enable TCPIP as the connection type at the SQL end not the forum
Go to Top of Page

martybatten
Starting Member

United Kingdom
6 Posts

Posted - 20 October 2005 :  05:53:05  Show Profile
Aah got ya, sorry am such a noobie :-S.. .
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 20 October 2005 :  08:06:38  Show Profile  Send ruirib a Yahoo! Message
I should have also written "to connect to the database server", it would have been more clear. Sorry.


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

Doug G
Support Moderator

USA
6493 Posts

Posted - 20 October 2005 :  17:40:55  Show Profile
Usually tcp is enabled at the sql server. But if you use the sql server's computer name in you connection string the connector will generally default to named pipes. Try using the sql server's IP address in the connection string rather than the name, or if you search the documentation there you can add an attribute in your connection string that will force a particular network library.

======
Doug G
======
Computer history and help at www.dougscode.com
Go to Top of Page

martybatten
Starting Member

United Kingdom
6 Posts

Posted - 21 October 2005 :  11:42:01  Show Profile
Yeah it gave me the same error using the IP, am going to look into the TCP/IP thing next week.. its been too mad here to look into it anymore, thanks everyone for the help.. hopefully this will sort out..
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 21 October 2005 :  11:52:16  Show Profile  Send ruirib a Yahoo! Message
You sure the DB account has the right permissions for you to connect to it?


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

martybatten
Starting Member

United Kingdom
6 Posts

Posted - 21 October 2005 :  11:54:59  Show Profile
Ok - fixed it!.. random. . forced the network ("Network=...") and that worked a treat. . friday beers will taste all the sweeter!

Thanx team..
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 21 October 2005 :  12:48:32  Show Profile  Send ruirib a Yahoo! Message
Glad you fixed it.


Snitz 3.4 Readme | Like the support? Support Snitz too
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.19 seconds. Powered By: Snitz Forums 2000 Version 3.4.07