General network error

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???
bender007Asked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
Éric MoreauConnect With a Mentor Senior .Net ConsultantCommented:
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
 
DireOrbAntCommented:
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
 
mastooCommented:
If it takes 30 or 60 seconds to get the error, it can be a symptom of a timeout on the query.
0
 
bender007Author Commented:
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
 
imran_fastCommented:
I agree with mastoo it can be matter of timeout. so what exactly are you doing processing the cube or browsing it.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.