server| Connection Database | The problem has been found in the last few days that when I took my laptop from the development room to my dorm, my ASP program was unable to connect to the SQL Server database and, after analysis, found that there was no network cable. But since I developed this project is classified, the program is not the computer on the Internet, it is not possible to use SQL Server as a database, after the attempt to find as long as the connection address to the computer name on the line!
namely the
<%
Set conn = Server.CreateObject ("ADODB. Connection ")
dsntemp= "Driver={sql Server}; Server=localhost; Uid=sa; pwd=;D Atabase=manage "
Conn.Open Dsntemp
%>
To
<%
Set conn = Server.CreateObject ("ADODB. Connection ")
dsntemp= "Driver={sql Server}; server= your computer name; Uid=sa; pwd=;D Atabase=manage "
Conn.Open Dsntemp
%>