|
| |
|
|
lu lu
Posts: 418 From: wpg, mb Status: offline
|
invalid connection string - SQL - 11/12/2004 19:14:14
Please help me with this, i just can't seem to get it going. this is the error: Microsoft OLE DB Provider for SQL Server error '80004005' Invalid connection string attribute this is the global.asa file: <SCRIPT LANGUAGE="VBScript" RUNAT="Server">
Sub application_onstart
Application("DSN") = """""; PROVIDER=SQLOLEDB;DATA SOURCE=Athos;database=real_otsite"
Application("ipo_adm") = "xxxx"
Application("ipo_adm_password") = "xxxx"
end sub
sub Session_OnStart
session.Timeout=90
end sub
</SCRIPT> this is the connection string: set connobjMenu = Server.CreateObject("ADODB.Connection")
connobjMenu.CommandTimeout=20000
connobjMenu.open "DSN=" & Application("DSN") &_
";UID=" & Application("ipo_adm") &_
";PWD=" & Application("ipo_adm_password")
set rsMenu = connobjMenu.Execute(sqlMenu) prior to the connection string i have a stored procedure called like so (don't know if this is important to solving the connection string issue, but here it is anyway): sqlMenu="EXECUTE uspSideMenu2" THANKS
|
|
|
|
lu lu
Posts: 418 From: wpg, mb Status: offline
|
RE: invalid connection string - SQL - 11/15/2004 11:15:05
i don't know why i'm having such issues, maybe cause its Monday... Spooky, with the above i get this error: Microsoft OLE DB Provider for SQL Server error '80004005' [DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or access denied. any ideas as to why... Thanks
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|