Classic ASP global.asa SQL Server 2008 connection string
问题 I have been given a web application written in Classic ASP to port from Windows 2003 Server (SQL Server 2000 and IIS 6) to Windows 2008 Server (SQL Server 2008 and IIS 7.5). The site uses a GLOBAL.ASA file to define global variables, one of which is the connection string ( cnn ) to connect to SQL Server. Below is the (old) connection string from GLOBAL.ASA : Sub Application_OnStart Dim cnnDem, cnnString Set cnnDem = Server.CreateObject("ADODB.Connection") cnnDem.CommandTimeout = 60 cnnDem