Event Code: 3005 Event Message: A resolution of an unhandled exception occurred_About the server

Event Code: 3005 Event Message: A resolution of an unhandled exception occurred

  

Event Code: 3005 Event Message: An unhandled exception occurred. Event time: 2012-11-28 10:18:28 Event time (UTC): 2012-11-28 2:18:28 Event ID: 9c4465338d4b44ee8af5cc37a5b69d8e Event sequence: 346 Event match: 1 Event details code: 0 Application Information: Application domain: /LM/W3SVC/1004365944/Root/wwwPrograms-1-129985415291718750 Trust level: Full Application virtual path: /wwwPrograms Application path: D:\\Web\\wwwPrograms\\ Computer name: JIN14XUEXIAO Process information: Process ID: 3308 Process Name: w3wp.exe Account Name: NT AUTHORITY\\NETWORK SERVICE Exception Information: Exception Type: SqlException Exception Message: An error occurred while establishing a connection to the server. When connecting to SQL Server 2005, SQL Server does not allow remote connections under the default settings, which may cause this failure. (provider: TCP provider, error: 0 - unable to connect due to positive rejection by the target machine.) Request information: Request URL: http://www.45it.com Request path: /wwwPrograms/Bbsdy.aspx User host address: 124.115 .0.139 User: Is it authenticated: False Authentication Type: Thread Account Name: NT AUTHORITY\\NETWORK SERVICE Thread Information: Thread ID: 18 Thread Account Name: NT AUTHORITY\\NETWORK SERVICE Is Simulating: False Stack Trace: At System .Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) in System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) in System.Data.SqlClient.TdsParser.Connect(ServerInfo serverInfo, SqlInternalConnectionTds connHandler, Boolean ignoreSniOpenTimeout, Int64 timerExpire, Boolean encrypt, Boolean trustServerCert, Boolean integratedSecurity, SqlConnection owningObject) in System.Data.SqlClient.SqlInternalConnectionTds.AttemptOn eLogin(ServerInfo serverInfo, String newPassword, Boolean ignoreSniOpenTimeout, Int64 TimerExpire, SqlConnection owningObject) in System.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(String host, String newPassword, Boolean redirectedUserInstance, SqlConnection owningObject, SqlConnectionString connectionOptions, Int64 timerStart) in System.Data .SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(SqlConnection owningObject, SqlConnectionString connectionOptions, String newPassword, Boolean redirectedUserInstance) In System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, Object providerInfo, String newPassword, SqlConnection owningObject, Boolean redirectedUserInstance) System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection) in System.Data.ProviderBase.DbConnectionFacto ry.CreatePooledConnection(DbConnection owningConnection, DbConnectionPool pool, DbConnectionOptions options) in System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject) in System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject) in System.Data.ProviderBase.DbConnectionPool. GetConnection(DbConnection owningObject) in System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) in System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) in System.Data.SqlClient.SqlConnection.Open() in _ Bbsdy.Page_Load(Object sender, EventArgs e) Location d:\\Web\\wwwPrograms\\Bbsdy.aspx.cs: Line number 79 in System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) In System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) in System.Web.UI.Control.OnLoad(Event Args e) Customize event details in System.Web.UI.Control.LoadRecursive() in System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint):

For more information, please See Help and Support at http://go.microsoft.com/fwlink/events.asp

Solution: In the IIS application configuration, check the extension mapping settings to check the file If there is a ", then no such exception information will be received. It is estimated that IIS and the application handle the 404 error. The user access first requests the relevant page through IIS. If the setting is not set, the IIS does not judge and directly submits it to the application for interpretation, but the access is This file does not exist, nor does it set the relevant interpretation rules, thus causing the application to be abnormal and writing the exception information to the event record. For example, to configure a pseudo-static .html mapping, the html file does not exist and needs to be interpreted and executed by the application. In this example, the extension is .asmx. For the time being, it is unclear how the access can cause this exception. At least I enter the non-existing access address in the browser and it will not cause event logging.

Solution: Start -> All Programs -> Ms Sql Server -> Configuration Tools -> sql server Peripheral Application Configurator -> Services and Connected Peripheral Application Configurator -> Open In the Database Engine node under the MSSQLSERVER node, first select "remote connection", then select "and use TCP/IP and named pipes" at the same time, after confirming, restart the database service.