<%
on error resume next
dsnstrhome1="DRIVER=sql server;server=127.0.0.1;database=lh100;uid=sa;password=lh100com"
set dsnstrhome=server.CreateObject("adodb.connection")
dsnstrhome.Open dsnstrhome1
If Err.Number <> 0 Then
		dsnstrhome.close
		set dsnstrhome=nothing
		On Error GoTo 0
        	Response.redirect "/err.asp"
		response.End()
end if
On Error GoTo 0
%>