computergeek
Programmer
Hello,
I am fairly new to using Interdev, and I am having trouble establishing a connection to the database. Am I required to setup an ODBC connection? I hope not this is going to be an Internet application. Error:
Error Type:
Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified
/VMISYSTEM/Navigation.asp, line 27
Navigation.asp File:
' create and open the Connection object
Set dbUser = Server.CreateObject("ADODB.Connection"
dbUser.Open Session("Conn1_ConnectionString", _
Session("Conn1_RuntimeUserName", _
Session("Conn1_RuntimePassword"
Global.asp file:
Sub Application_OnStart
'==Visual InterDev Generated - startspan==
'--Project Data Connection
Application("Conn1_ConnectionString" = "Provider=SQLOLEDB.1;Persist Security Info=False;User ID=sa;Initial Catalog=Sensys;Data Source=KCDEVSQL7;Use Procedure for Prepare=1;Auto Translate=True;Packet Size=4096;Workstation ID=userx;"
Application("Conn1_ConnectionTimeout" = 15
Application("Conn1_CommandTimeout" = 30
Application("Conn1_CursorLocation" = 3
Application("Conn1_RuntimeUserName" = "sa"
Application("Conn1_RuntimePassword" = ""
'-- Project Data Environment
'Set DE = Server.CreateObject("DERuntime.DERuntime"
'Application("DE" = DE.Load(Server.MapPath("Global.ASA", "_private/DataEnvironment/DataEnvironment.asa"
'==Visual InterDev Generated - endspan==
End Sub
I am fairly new to using Interdev, and I am having trouble establishing a connection to the database. Am I required to setup an ODBC connection? I hope not this is going to be an Internet application. Error:
Error Type:
Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified
/VMISYSTEM/Navigation.asp, line 27
Navigation.asp File:
' create and open the Connection object
Set dbUser = Server.CreateObject("ADODB.Connection"
dbUser.Open Session("Conn1_ConnectionString", _
Session("Conn1_RuntimeUserName", _
Session("Conn1_RuntimePassword"
Global.asp file:
Sub Application_OnStart
'==Visual InterDev Generated - startspan==
'--Project Data Connection
Application("Conn1_ConnectionString" = "Provider=SQLOLEDB.1;Persist Security Info=False;User ID=sa;Initial Catalog=Sensys;Data Source=KCDEVSQL7;Use Procedure for Prepare=1;Auto Translate=True;Packet Size=4096;Workstation ID=userx;"
Application("Conn1_ConnectionTimeout" = 15
Application("Conn1_CommandTimeout" = 30
Application("Conn1_CursorLocation" = 3
Application("Conn1_RuntimeUserName" = "sa"
Application("Conn1_RuntimePassword" = ""
'-- Project Data Environment
'Set DE = Server.CreateObject("DERuntime.DERuntime"
'Application("DE" = DE.Load(Server.MapPath("Global.ASA", "_private/DataEnvironment/DataEnvironment.asa"
'==Visual InterDev Generated - endspan==
End Sub