By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
426,133 Members | 1,092 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 426,133 IT Pros & Developers. It's quick & easy.

General Network Error

P: n/a
Hello all. This problem is stumping me.... I run a page called
"default.aspx". For some reason when I execute this page, I get the error
below. It seems to run through the entire code behind just find (including
all the sql steps), but after the Page_Load() event I get this error. I
really don't know why. Any ideas?

================================================== ================
General network error. Check your network documentation.
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about the error and where it originated in the code.

Exception Details: System.Data.SqlClient.SqlException: General network
error. Check your network documentation.

Source Error:

An unhandled exception was generated during the execution of the
current web request. Information regarding the origin and location of the
exception can be identified using the exception stack trace below.

Stack Trace:

[SqlException: General network error. Check your network documentation.]
System.Data.SqlClient.ConnectionPool.GetConnection (Boolean&
isInTransaction)

System.Data.SqlClient.SqlConnectionPoolManager.Get PooledConnection(SqlConnec
tionString options, Boolean& isInTransaction)
System.Data.SqlClient.SqlConnection.Open()
System.Web.SessionState.SqlStateConnection..ctor(S tring
sqlconnectionstring)

[HttpException (0x80004005): Unable to connect to SQL Server session
database.]
System.Web.SessionState.SqlStateConnection..ctor(S tring
sqlconnectionstring)
System.Web.SessionState.SqlStateClientManager.GetC onnection(Boolean&
usePooling)
System.Web.SessionState.SqlStateClientManager.SetA syncWorker(String id,
SessionStateItem item, Byte[] buf, Int32 length, Boolean inStorage)

System.Web.SessionState.SqlStateClientManager.Syst em.Web.SessionState.IState
ClientManager.Set(String id, SessionStateItem item, Boolean inStorage)
System.Web.SessionState.SessionStateModule.OnRelea seState(Object source,
EventArgs eventArgs)

System.Web.SyncEventExecutionStep.System.Web.HttpA pplication+IExecutionStep.
Execute()
System.Web.HttpApplication.ExecuteStep(IExecutionS tep step, Boolean&
completedSynchronously)

----------------------------------------------------------------------------
----
Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET
Version:1.1.4322.573

==========================================

Thank you very much for your help!

SteveS
ss*****@trendmls.com
Jul 21 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Steve,

How are you connecting to the database?
(1) do you have the appropriate SQL Server drivers on the Server
(2) is pooling setup on the (ODBC) Datasource manager
(3) does the ID you are using to connect have the appropriate security
requirements

"SteveS" <ss*****@trendmls.com> wrote in message
news:O5**************@TK2MSFTNGP10.phx.gbl...
Hello all. This problem is stumping me.... I run a page called
"default.aspx". For some reason when I execute this page, I get the error
below. It seems to run through the entire code behind just find (including all the sql steps), but after the Page_Load() event I get this error. I
really don't know why. Any ideas?

================================================== ================
General network error. Check your network documentation.
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about the error and where it originated in the code.

Exception Details: System.Data.SqlClient.SqlException: General network
error. Check your network documentation.

Source Error:

An unhandled exception was generated during the execution of the
current web request. Information regarding the origin and location of the
exception can be identified using the exception stack trace below.

Stack Trace:

[SqlException: General network error. Check your network documentation.]
System.Data.SqlClient.ConnectionPool.GetConnection (Boolean&
isInTransaction)

System.Data.SqlClient.SqlConnectionPoolManager.Get PooledConnection(SqlConnec tionString options, Boolean& isInTransaction)
System.Data.SqlClient.SqlConnection.Open()
System.Web.SessionState.SqlStateConnection..ctor(S tring
sqlconnectionstring)

[HttpException (0x80004005): Unable to connect to SQL Server session
database.]
System.Web.SessionState.SqlStateConnection..ctor(S tring
sqlconnectionstring)
System.Web.SessionState.SqlStateClientManager.GetC onnection(Boolean&
usePooling)
System.Web.SessionState.SqlStateClientManager.SetA syncWorker(String id,
SessionStateItem item, Byte[] buf, Int32 length, Boolean inStorage)

System.Web.SessionState.SqlStateClientManager.Syst em.Web.SessionState.IState ClientManager.Set(String id, SessionStateItem item, Boolean inStorage)
System.Web.SessionState.SessionStateModule.OnRelea seState(Object source, EventArgs eventArgs)

System.Web.SyncEventExecutionStep.System.Web.HttpA pplication+IExecutionStep. Execute()
System.Web.HttpApplication.ExecuteStep(IExecutionS tep step, Boolean&
completedSynchronously)

-------------------------------------------------------------------------- -- ----
Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573

==========================================

Thank you very much for your help!

SteveS
ss*****@trendmls.com

Jul 21 '05 #2

P: n/a
Problem solved.

Mental Note: The next time I get a "General network" error, ask the
network administration department whether they reconfigured the firewall.
"SteveS" <ss*****@trendmls.com> wrote in message
news:O5**************@TK2MSFTNGP10.phx.gbl...
Hello all. This problem is stumping me.... I run a page called
"default.aspx". For some reason when I execute this page, I get the error
below. It seems to run through the entire code behind just find (including all the sql steps), but after the Page_Load() event I get this error. I
really don't know why. Any ideas?

================================================== ================
General network error. Check your network documentation.
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about the error and where it originated in the code.

Exception Details: System.Data.SqlClient.SqlException: General network
error. Check your network documentation.

Source Error:

An unhandled exception was generated during the execution of the
current web request. Information regarding the origin and location of the
exception can be identified using the exception stack trace below.

Stack Trace:

[SqlException: General network error. Check your network documentation.]
System.Data.SqlClient.ConnectionPool.GetConnection (Boolean&
isInTransaction)

System.Data.SqlClient.SqlConnectionPoolManager.Get PooledConnection(SqlConnec tionString options, Boolean& isInTransaction)
System.Data.SqlClient.SqlConnection.Open()
System.Web.SessionState.SqlStateConnection..ctor(S tring
sqlconnectionstring)

[HttpException (0x80004005): Unable to connect to SQL Server session
database.]
System.Web.SessionState.SqlStateConnection..ctor(S tring
sqlconnectionstring)
System.Web.SessionState.SqlStateClientManager.GetC onnection(Boolean&
usePooling)
System.Web.SessionState.SqlStateClientManager.SetA syncWorker(String id,
SessionStateItem item, Byte[] buf, Int32 length, Boolean inStorage)

System.Web.SessionState.SqlStateClientManager.Syst em.Web.SessionState.IState ClientManager.Set(String id, SessionStateItem item, Boolean inStorage)
System.Web.SessionState.SessionStateModule.OnRelea seState(Object source, EventArgs eventArgs)

System.Web.SyncEventExecutionStep.System.Web.HttpA pplication+IExecutionStep. Execute()
System.Web.HttpApplication.ExecuteStep(IExecutionS tep step, Boolean&
completedSynchronously)

-------------------------------------------------------------------------- -- ----
Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573

==========================================

Thank you very much for your help!

SteveS
ss*****@trendmls.com

Jul 21 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.