I use SQL Server 2005 Management Studio Express as the database. For
ASP files to connect to SQL Server 2005, I am using the following
ConnectionStrin g:
<%
Dim objConn
Set objConn=Server. CreateObject("A DODB.CONNECTION ")
objConn.Open "Data Source=RON\SQLE XPRESS;Initial
Catalog=RON;Int egrated Security=True"
%>
But ASP generates the following error pointing to the objConn.Open
line:
-------------------------------------------------------------------------------
Multiple-step OLE DB operation generated errors. Check each OLE DB
status value, if available. No work was done.
-------------------------------------------------------------------------------
But when I use the same ConnectionStrin g is ASPX files, no error gets
generated & I can access records residing in SQL Server 2005
successfully.
What could be causing this problem?
ASP files to connect to SQL Server 2005, I am using the following
ConnectionStrin g:
<%
Dim objConn
Set objConn=Server. CreateObject("A DODB.CONNECTION ")
objConn.Open "Data Source=RON\SQLE XPRESS;Initial
Catalog=RON;Int egrated Security=True"
%>
But ASP generates the following error pointing to the objConn.Open
line:
-------------------------------------------------------------------------------
Multiple-step OLE DB operation generated errors. Check each OLE DB
status value, if available. No work was done.
-------------------------------------------------------------------------------
But when I use the same ConnectionStrin g is ASPX files, no error gets
generated & I can access records residing in SQL Server 2005
successfully.
What could be causing this problem?
Comment