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 7 Error:80040E4D
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

cnewman777
Starting Member

48 Posts

Posted - 13 July 2002 :  07:23:37  Show Profile
After reading the instructions and reading the previous helps in the forum, I am still having problem getting the forum to connect to the sql server. I even tried the filename.udl trick. The udl file connected but when I took that string back to the config.asp file it didn't work. Also so that you know, I am running coldfusion 5 server on this webserver. Would this be a problem for some reason? I know that you can run both asp and cfm on the same webserver even in the same website. So please let me know what I need to do to get this fixed. Thanks.

cnewman

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 13 July 2002 :  07:29:20  Show Profile  Send ruirib a Yahoo! Message
Do you have your server configured for SQL Server Authentication? Is the login associated with the user you're specifying at the setup page configured to use SQL Server Authentication?

Also, please post your connection string.

-------------------------------------------------
Installation Guide | Do's and Dont's | MODs
Go to Top of Page

cnewman777
Starting Member

48 Posts

Posted - 13 July 2002 :  13:02:59  Show Profile
Yes I think so. Maybe I can give the ip and u can TS in the box and look at the setup.

strConnString = "driver={SQL Server};server=WEB_SERVER;uid=cnewman;pwd=****;database=DEA" '## MS SQL Server 6.x/7.x/2000 (ODBC connection)

I already a pretty big DB running for the current site that I am setting up this forum for. http://dea.integmedia.com I dont have problem connectin to the DB through coldfusion. I am thinking it is simply the connection string but it could be the setup of SQL sever as well. I am open to anything to get this fixed.

Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 13 July 2002 :  13:17:54  Show Profile  Send ruirib a Yahoo! Message
What do you mean TS? Can Enterprise Manager be used? If you feel OK with it, email me the server data. You can use the send to post icon above this message to email me.

-------------------------------------------------
Installation Guide | Do's and Dont's | MODs
Go to Top of Page

cnewman777
Starting Member

48 Posts

Posted - 13 July 2002 :  19:16:32  Show Profile
Never been able to connect to my SQL server via Enterprise manager. I want to, makes life easier. Just sent u an email with the IP address and account login info.

Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 13 July 2002 :  19:42:20  Show Profile  Send ruirib a Yahoo! Message
I've changed the role for the cnewman user. Change your connection string to:


strConnString = "Provider=SQLOLEDB;Data Source=WEB_SERVER;Initial Catalog=DEA;User ID=cnewman;Password=****;"


Then try running setup.asp again.




-------------------------------------------------
Installation Guide | Do's and Dont's | MODs
Go to Top of Page

cnewman777
Starting Member

48 Posts

Posted - 13 July 2002 :  19:57:41  Show Profile
Still got an error. 80004005

Go to Top of Page

cnewman777
Starting Member

48 Posts

Posted - 13 July 2002 :  20:03:43  Show Profile
This is my code:

strDBType = "sqlserver"
'strDBType = "access"
'strDBType = "mysql"


'## Make sure to uncomment one of the strConnString lines!
'strConnString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & Server.MapPath("snitz_forums_2000.mdb") '## MS Access 2000 using virtual path

'strConnString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & Server.MapPath("/USERNAME/db/snitz_forums_2000.mdb") '## MS Access 2000 on Brinkster

'strConnString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=c:\inetpub\dbroot\snitz_forums_2000.mdb" '## MS Access 2000
'strConnString = "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=" & Server.MapPath("snitz_forums_2000.mdb") '## MS Access 97 using virtual path

'strConnString = "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=" & Server.MapPath("/USERNAME/db/snitz_forums_2000.mdb") '## MS Access 97 on Brinkster

'strConnString = "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=c:\inetpub\dbroot\snitz_forums_2000.mdb" '## MS Access 97

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

'strConnString = "driver={SQL Server};server=WEB_SERVER;uid=cnewman;pwd=****;database=DEA" '## MS SQL Server 6.x/7.x/2000 (ODBC connection)

strConnString = "Provider=SQLOLEDB;Data Source=WEB_SERVER;Initial Catalog=DEA;User ID=cnewman;Password=****;"

'strConnString = "DEA" '## DSN

Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 13 July 2002 :  20:33:42  Show Profile  Send ruirib a Yahoo! Message
Your forum is setup. The problem was the SQL Server was running in Windows NT authentication only. I changed it to Windows NT and SQL Server authentication and it worked immediately.

Enjoy your Snitz forum.

-------------------------------------------------
Installation Guide | Do's and Dont's | MODs


Edited by - ruirib on 13 July 2002 20:39:53
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.17 seconds. Powered By: Snitz Forums 2000 Version 3.4.07