473,399 Members | 3,038 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,399 software developers and data experts.

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 5032
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: stanley j Mroczek | last post by:
Every thing is on one machine, Programs and sql. Sql is up and running(can test with query analyzer). No changes where made! This was working fine. How do you track this error? What network...
7
by: stan | last post by:
I have .net 2003 and SQL 2000 setup on one system. All I have is one computer (no network). I am able to get to the internet that works. I can run SQL Query Analyzer and it works. The program was...
0
by: David Sworder | last post by:
Hi there, I am using the SQL managed provider in ADO.NET to fill a dataset with a large number of records. I periodically get an exception with the description "General Network Error" when trying...
11
by: galina betz | last post by:
Please help! Getting this error intermittently: System.Data.SqlClient.SqlException: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not...
7
by: Joe Ross | last post by:
I've been working with Microsoft support for over 3 weeks now on an intermittent General Network Error we're seeing in our production environment between our ASP.NET application and SQL Server...
2
by: SteveS | last post by:
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...
3
by: Yong | last post by:
I get a general network error when I try to make asynchronously call ExecuteNonQuery on long sql statements that run in parallel. Here is the background info on what I'm trying to accomplish: I...
0
by: Yong | last post by:
I'm not getting any reply to my previous thread so I'm stating a new one. I get a General Network Error due to my SqlCommand object not having a big enough CommandTimeout to complete very long...
0
by: johnkamal | last post by:
Hi, Some times while opening a page, I am getting the following error message, Please help me to rectify the problem. Server Error in '/' Application. General network error. Check your...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.