468,133 Members | 1,351 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,133 developers. It's quick & easy.

General Network Error

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
2 4739
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
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.

Similar topics

2 posts views Thread by stanley j Mroczek | last post: by
7 posts views Thread by stan | last post: by
reply views Thread by David Sworder | last post: by
11 posts views Thread by galina betz | last post: by
7 posts views Thread by Joe Ross | last post: by
2 posts views Thread by SteveS | last post: by
1 post views Thread by gcdp | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.