our server is migrated to (windows 2008/sql2008/iis7) it throws error error '80040e4d' while connecting database, i enabled Failed Request Tracing.
The error log as below
Url 83.244.197.221/.../index.asp
App Pool DefaultAppPool
Authentication anonymous
User from token NT AUTHORITY\IUSR
Activity ID {00000000-0000-0000-3100-0080000000F2}
Site 1
Process 4652
Failure Reason STATUS_CODE
Trigger Status 500
Final Status 500
Time Taken 47 msec
ASP_LOG_ERROR
LineNumber 24
ErrorCode 80040e4d
Description
WARNINGS
ModuleName IsapiModule
Notification 128
HttpStatus 500
HttpReason Internal Server Error
HttpSubStatus 0
ErrorCode 0
ConfigExceptionInfo
Notification EXECUTE_REQUEST_HANDLER
ErrorCode The operation completed successfully. (0x0)
and my database connection classic ASP code is as below
Dim rsUSERSESSIONEXISTS
set rsUSERSESSIONEXISTS = Server.CreateObject("ADODB.Recordset")
rsUSERSESSIONEXISTS.ActiveConnection = "Driver={SQL Server};Server=" & Request.ServerVariables("LOCAL_ADDR") & ";Database=e2mdev"
rsUSERSESSIONEXISTS.Source = "SELECT * FROM userinfo_userinfo"
rsUSERSESSIONEXISTS.CursorType = 0
rsUSERSESSIONEXISTS.CursorLocation = 2
rsUSERSESSIONEXISTS.LockType = 3
rsUSERSESSIONEXISTS.Open()
rsUSERSESSIONEXISTS_numRows = 0
please help me
Mar 13 2009 by
Anonymous