I
Istari
Hi all
I've made a local copy of a client website (Pages and DB). I'm running XP
Pro and SQL 2000
They make use of global.asa to establish the connection and the details on
the live site were as follows:
<SCRIPT LANGUAGE="VBScript" RUNAT="Server">
Sub Application_OnStart
Application("connStr") = "Provider=sqloledb;" & _
"Data Source=SERVERIP" & _
"Initial Catalog=databasename;" & _
"User Id=username;" & _
"Password=password"
End Sub
</SCRIPT>
I put my local DB Server in Data Source and my local copy can be accessed
using a DSN. However, when trying to run the website I get the following
error:
Error Type:
Microsoft OLE DB Provider for SQL Server (0x80004005)
[DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or access
denied.
/churchillmurray.co.za/include/commonFunctions.asp, line 25
That line of code where the error occurs looks as follows:
objConn.Open Application("connStr")
The site is in a virtual directory in IIS
Can anyone help me in making the connection?
I've made a local copy of a client website (Pages and DB). I'm running XP
Pro and SQL 2000
They make use of global.asa to establish the connection and the details on
the live site were as follows:
<SCRIPT LANGUAGE="VBScript" RUNAT="Server">
Sub Application_OnStart
Application("connStr") = "Provider=sqloledb;" & _
"Data Source=SERVERIP" & _
"Initial Catalog=databasename;" & _
"User Id=username;" & _
"Password=password"
End Sub
</SCRIPT>
I put my local DB Server in Data Source and my local copy can be accessed
using a DSN. However, when trying to run the website I get the following
error:
Error Type:
Microsoft OLE DB Provider for SQL Server (0x80004005)
[DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or access
denied.
/churchillmurray.co.za/include/commonFunctions.asp, line 25
That line of code where the error occurs looks as follows:
objConn.Open Application("connStr")
The site is in a virtual directory in IIS
Can anyone help me in making the connection?