?
Solved

General network error

Posted on 2006-07-18
5
Medium Priority
?
387 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 70

Accepted Solution

by:
Éric Moreau earned 1000 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

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article shows gives you an overview on SQL Server 2016 row level security. You will also get to know the usages of row-level-security and how it works
Recently we ran in to an issue while running some SQL jobs where we were trying to process the cubes.  We got an error saying failure stating 'NT SERVICE\SQLSERVERAGENT does not have access to Analysis Services. So this is a way to automate that wit…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed
Suggested Courses

777 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