|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| ||||||||||||||||||||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
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 (it works). The program was running fine. I did not make any changes to the program or the stored procedures. But I am now getting this error. I don’t know what or where to check for error.
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: Line 214: Line 215: ' Execute the command Line 216: myConnection.Open() Line 217: Dim result As SqlDataReader = myCommand.ExecuteReader(CommandBehavior.CloseConne ction) Line 218: Source File: C:\Market\Components\MaintenanceDB.vb Line: 216 Stack Trace: [SqlException: General network error. Check your network documentation.] System.Data.SqlClient.ConnectionPool.GetConnection (Boolean& isInTransaction) +472 System.Data.SqlClient.SqlConnectionPoolManager.Get PooledConnection(SqlConnectionString options, Boolean& isInTransaction) +372 System.Data.SqlClient.SqlConnection.Open() +384 Market.MK.MaintenanceDB.GetworkQueues() in C:\Market\Components\MaintenanceDB.vb:216 Market.maintDefault.Page_Load(Object sender, EventArgs e) in C:\Market\maintDefault.aspx.vb:34 System.Web.UI.Control.OnLoad(EventArgs e) +67 System.Web.UI.Control.LoadRecursive() +35 System.Web.UI.Page.ProcessRequestMain() +720 |
|
#2
|
|||
|
|||
|
Hi
The following code will help to solve the above error. I am using this code to solve the eror. you can try (for .NET) Dim myConnection As SqlConnection = New SqlConnection("DATABASE=netbizsuit;SERVER=localhost;UID=sa;PWD=;M ax Pool Size=75000; ") Max Pool Size , you can fix according to Kavitha Girish kavigirish@yahoo.com |
|
#3
|
|||
|
|||
|
General network error. Check your network documentation.
Hi All,
I was searching the solution to this problem for a while. Tried so many solutions but none of them worked for me. But finally I got one solution which worked for me. I saw that One of the Microsoft .NET Framework 1.1 Hotfix (KB886904) was installed on my computer. I just uninstalled it and installed a new one i.e. Microsoft .NET Framework 1.1 Hotfix (KB886903) And guess what everthing started working. No more "General network error. Check your network documentation." Cheers Sumeet |
|
#4
|
|||
|
|||
|
General Network Error. Please check your network documentation
1. Check Maxpoolsize of connection string.
2. Right click on Sql server 2005/2000 Name space select properties ,click on Connections properties set Maximum number of connections to 0(unlimited). |
![]() |
| Viewing: Dev Articles Community Forums > Programming > .NET Development > General network error. Check your network documentation. |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|