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
 MS SQL Connection String Error
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

livvy38
Starting Member

10 Posts

Posted - 29 July 2005 :  21:52:54  Show Profile
Hello. I'm in the process of moving my Snitz Forums 3.4.04 from one SQL Server to another SQL Server (different web site hosts).

I'm using Enterprise Manager and can connect to my database without any issues. I've created my database and set the user to access the database.

I am, hoever, having problems connecting to SQL Server through my web site. I have exported my data from the old server and I need to set up the tables again on the new server. No matter which connection string I use (ODBC, OLEDB, or DSN) I receive an error stating that the login failed or [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified.

I've tried the following connection three strings and received the above error.

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

strConnString = "driver={SQL
Server};server=SERVER_IP_ADDRESS;uid=snitz_forum;pwd=snitz_forum;database=SNITZ_DB" '## MS SQL Server 6.x/7.x/2000 (ODBC connection)

strConnString = "SNITZ_DB" '## DSN

Does anyone have any suggestions as to what I might try next? I have emailed the host but haven't received a response yet.

Thanks in advance for your help.

Andrea

laser
Advanced Member

Australia
3859 Posts

Posted - 29 July 2005 :  23:29:01  Show Profile
I use :

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

Obviously with *** translated to something else.

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.21 seconds. Powered By: Snitz Forums 2000 Version 3.4.07