Here is my first two lines of code in my asp page which is giving trouble from my local server.
<object RUNAT="SERVER" ID="conn" PROGID="ADODB.Connection"></object>
<% conn.Open Application("ConnectionString") %>
This file is working OK on the live server. But I have copied all the asp website to local server and created a new ASP.NET web application in VS.NET and trying to run locally by connecting to the SQL server remotly. First it gives file not found..even though the file functions.asp is there in virtual directory ..after I copied the file in default ans change include virtual to include file then I got the OLE BD error that I posted earlier. The same application I have tried in my laptop local server whenre SQL server is local on my laptop, then it worked...So there is something with the connection to the SQL server which is not local..The same server using .NET code I can connect but that code is not object..what is this OBJECT in this asp.file???that I dont know..Please help..
bdl
|