Solved

General network error

Posted on 2006-07-18
5
379 Views
Last Modified: 2008-01-09
I get this random error when I am trying to SQL Server from ASP.NET Application or even through Microsoft Analysis Manager while trying to execute a query:

Relational data provider reported error: [[DBNETLIB][ConnectionWrite (send()).]General network error. Check your network documentation.;08S01].

Any suggestions???
0
Comment
Question by:bender007
5 Comments
 
LVL 26

Expert Comment

by:DireOrbAnt
ID: 17134664
What does your connection string loooks like? What does the network looks like from ASP box to SQL Box? Do you host your own DNS servers?
0
 
LVL 21

Expert Comment

by:mastoo
ID: 17135081
If it takes 30 or 60 seconds to get the error, it can be a symptom of a timeout on the query.
0
 

Author Comment

by:bender007
ID: 17136127
Here is the code that i using to connect to the olap database and process partitions in a cube:
                                                set objServer = Server.CreateObject("DSO.Server")
                  objServer.connect session("olapserver")
                  set objDatabase = objServer.MDStores(session("olapdbname"))
                  set objCube = objDatabase.MDStores(strCubeName)
                                                objcube.process 1

it runs perfectly almost everytime...but gives the general network error randomly. What information are you looking exaclty by meaning network? The ASP application files and OLAP database are on 1 server. The SQL Server 2K database is on another server. Both the servers are in the same domain.

Please let me know if you need more information to help me on this!!!

thanks again,
bender007
0
 
LVL 28

Expert Comment

by:imran_fast
ID: 17136338
I agree with mastoo it can be matter of timeout. so what exactly are you doing processing the cube or browsing it.
0
 
LVL 69

Accepted Solution

by:
Éric Moreau earned 250 total points
ID: 17203788
Hi bender007,

I had that problem last year.

To fix the problem, I have set the CommandTimeOut of my command objects and I have added Pooling=False in my connection string.

Beware, the Default value of 0 for the CommandTimeout property is buggy in ADO.Net 1.0/1.1


Cheers!
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Extract XML Data from using TSQL 5 31
Mssql SQL query 14 28
shrink datafile Sql server 4 16
Access Migration to Sql Server 2 21
Having an SQL database can be a big investment for a small company. Hardware, setup and of course, the price of software all add up to a big bill that some companies may not be able to absorb.  Luckily, there is a free version SQL Express, but does …
Let's review the features of new SQL Server 2012 (Denali CTP3). It listed as below: PERCENT_RANK(): PERCENT_RANK() function will returns the percentage value of rank of the values among its group. PERCENT_RANK() function value always in be…
Using examples as well as descriptions, and references to Books Online, show the documentation available for date manipulation functions and by using a select few of these functions, show how date based data can be manipulated with these functions.
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now