Ask a Question related to ASP.NET General, Design and Development.
-
Andy Ogden #1
Too many client tasks
I am writing a site that uses an ODBC link to a database, the code
below is used to retrieve data from this database. I have had reports
of the following error.
ERROR [08004] [Microsoft][ODBC Microsoft Access Driver] Too many
client tasks. ERROR [IM006] [Microsoft][ODBC Driver Manager] Driver's
SQLSetConnectAttr failed
I have included the code in question below, as you can see it takes in
a string containing an SQL statement. The returned data is then
returned within a DataView object. No other code in the site accesses
the database, so the problem must be in this code.
Can anyone help, I'm stuck
private DataView GetDataView(string szSQL)
{
string szConnection= "DSN=tif";
DataSet objDataSet= new DataSet();
OdbcConnection objDBConn = new OdbcConnection(szConnection);
OdbcDataAdapter objDataAdapter = new OdbcDataAdapter();
objDataAdapter.SelectCommand = new OdbcCommand(szSQL, objDBConn);
objDataAdapter.Fill(objDataSet);
DataView objDataView= objDataSet.Tables[0].DefaultView;
objDBConn.Close();
return objDataView;
}
Andy Ogden Guest
-
error - too many client tasks
hi, I am getting this error, error executing database query. Too many client tasks. does anybody know what is causing it and how to fix it... -
Scheduled tasks
Hi there, My web app needs to run a schduled task - every hour it needs to scan the DB, find any updates and - if there are updates - send an... -
Flash Webcam client <-> client (not client <-> server<-> client)
Dear Flash Team, supporter and regular mortals (Like myself) I am currently running a IRC chat with mostly webclients connected. We currently offer... -
background tasks without "scheduled tasks"
I'm doing some work for a company that has an auction site running in coldfusion. They're not real happy with it, and it needs a major overhaul,... -
Automated tasks
Hi, I have an auction site running. Now I want the auction to be able to automatically send a mail msg to the seller after it expires. How do I... -
Brian #2
Too Many Client tasks
I have a problem with a web server that has about 125 web
sites on it. It appears that someone or several people
are not closing their connections. I keep getting the
error "too many client tasks" . I need to know if there
is any way to troubleshoot this, like see what user has
what connections open. It is not practical to go through
all of the code since there are probably a thousand asp
files on the server. Any help would be GREATLY
appreciated. I've searched for help with no success.
The configuration is:
Windows 2003 Standard Server
IIS 6
MDAC that was included with 2003 server.
Thanks,
Brian
Brian Guest
-
Jeff Cochran #3
Re: Too Many Client tasks
On Sun, 13 Jun 2004 13:09:57 -0700, "Brian"
<anonymous@discussions.microsoft.com> wrote:
Post the full error and where you're seeing it. If it's in the event>I have a problem with a web server that has about 125 web
>sites on it. It appears that someone or several people
>are not closing their connections. I keep getting the
>error "too many client tasks" . I need to know if there
>is any way to troubleshoot this, like see what user has
>what connections open. It is not practical to go through
>all of the code since there are probably a thousand asp
>files on the server. Any help would be GREATLY
>appreciated. I've searched for help with no success.
log post the event ID and source, if not, check the event log for a
corresponding error message.
Access databases by any chance?>The configuration is:
>Windows 2003 Standard Server
>IIS 6
>MDAC that was included with 2003 server.
Jeff
Jeff Cochran Guest
-
Re: Too Many Client tasks
This is the error I see in the asp pages.
Microsoft OLE DB Provider for ODBC Drivers
error '80040e4d'
[Microsoft][ODBC Microsoft Access Driver] Too many client
tasks.
Basiclly all database access on all sites stop with this
error until I reboot the server.
There are no eventlog errors.
Thanks,
Brian
web>-----Original Message-----
>On Sun, 13 Jun 2004 13:09:57 -0700, "Brian"
><anonymous@discussions.microsoft.com> wrote:
>>>I have a problem with a web server that has about 125through>>sites on it. It appears that someone or several people
>>are not closing their connections. I keep getting the
>>error "too many client tasks" . I need to know if there
>>is any way to troubleshoot this, like see what user has
>>what connections open. It is not practical to goin the event>>>all of the code since there are probably a thousand asp
>>files on the server. Any help would be GREATLY
>>appreciated. I've searched for help with no success.
>Post the full error and where you're seeing it. If it'sevent log for a>log post the event ID and source, if not, check the>corresponding error message.
>>>>The configuration is:
>>Windows 2003 Standard Server
>>IIS 6
>>MDAC that was included with 2003 server.
>Access databases by any chance?
>
>Jeff
>.
>Guest
-
Mark Schupp #5
Re: Too Many Client tasks
You are either not closing database connections or there are just too many
concurrent users for MS Access to accomodate.
[url]http://www.aspfaq.com/show.asp?id=2195[/url]
--
Mark Schupp
Head of Development
Integrity eLearning
[url]www.ielearning.com[/url]
<anonymous@discussions.microsoft.com> wrote in message
news:1bdaa01c45188$b4a2d970$a101280a@phx.gbl...> This is the error I see in the asp pages.
>
>
> Microsoft OLE DB Provider for ODBC Drivers
> error '80040e4d'
>
> [Microsoft][ODBC Microsoft Access Driver] Too many client
> tasks.
>
> Basiclly all database access on all sites stop with this
> error until I reboot the server.
>
> There are no eventlog errors.
>
> Thanks,
> Brian
>
>
>> web> >-----Original Message-----
> >On Sun, 13 Jun 2004 13:09:57 -0700, "Brian"
> ><anonymous@discussions.microsoft.com> wrote:
> >> >>I have a problem with a web server that has about 125> through> >>sites on it. It appears that someone or several people
> >>are not closing their connections. I keep getting the
> >>error "too many client tasks" . I need to know if there
> >>is any way to troubleshoot this, like see what user has
> >>what connections open. It is not practical to go> in the event> >> >>all of the code since there are probably a thousand asp
> >>files on the server. Any help would be GREATLY
> >>appreciated. I've searched for help with no success.
> >Post the full error and where you're seeing it. If it's> event log for a> >log post the event ID and source, if not, check the> >corresponding error message.
> >> >> >>The configuration is:
> >>Windows 2003 Standard Server
> >>IIS 6
> >>MDAC that was included with 2003 server.
> >Access databases by any chance?
> >
> >Jeff
> >.
> >
Mark Schupp Guest
-
Jeff Cochran #6
Re: Too Many Client tasks
On Sun, 13 Jun 2004 13:55:06 -0700,
<anonymous@discussions.microsoft.com> wrote:
Sounds like it's time to upgrade to SQL Server or at least MSDE. May>This is the error I see in the asp pages.
>
>
>Microsoft OLE DB Provider for ODBC Drivers
>error '80040e4d'
>
>[Microsoft][ODBC Microsoft Access Driver] Too many client
>tasks.
>
>Basiclly all database access on all sites stop with this
>error until I reboot the server.
also be related to the Jet bug, if you call Microsoft support thay
have a beta fix for this.
Jeff
>web>>-----Original Message-----
>>On Sun, 13 Jun 2004 13:09:57 -0700, "Brian"
>><anonymous@discussions.microsoft.com> wrote:
>>>>>I have a problem with a web server that has about 125>through>>>sites on it. It appears that someone or several people
>>>are not closing their connections. I keep getting the
>>>error "too many client tasks" . I need to know if there
>>>is any way to troubleshoot this, like see what user has
>>>what connections open. It is not practical to go>in the event>>>>>all of the code since there are probably a thousand asp
>>>files on the server. Any help would be GREATLY
>>>appreciated. I've searched for help with no success.
>>Post the full error and where you're seeing it. If it's>event log for a>>log post the event ID and source, if not, check the>>corresponding error message.
>>>>>>>The configuration is:
>>>Windows 2003 Standard Server
>>>IIS 6
>>>MDAC that was included with 2003 server.
>>Access databases by any chance?
>>
>>Jeff
>>.
>>Jeff Cochran Guest
-
Re: Too Many Client tasks
Thanks for the information. What I am really looking for
is some way to determine who is using the connections and
not closing them.
Does anyone know of a way to see how many access db
connections are open and who or what site has them open.
I know that it is someone not closing their connection
but I can't figure out who it is.
If I can determine that someone has serveral open
connections, I can tell them to check their code and
close the connections.
Thanks,
Brian
are just too many>-----Original Message-----
>You are either not closing database connections or thereclient>concurrent users for MS Access to accomodate.
>
>[url]http://www.aspfaq.com/show.asp?id=2195[/url]
>
>--
>Mark Schupp
>Head of Development
>Integrity eLearning
>[url]www.ielearning.com[/url]
>
>
><anonymous@discussions.microsoft.com> wrote in message
>news:1bdaa01c45188$b4a2d970$a101280a@phx.gbl...>> This is the error I see in the asp pages.
>>
>>
>> Microsoft OLE DB Provider for ODBC Drivers
>> error '80040e4d'
>>
>> [Microsoft][ODBC Microsoft Access Driver] Too manythis>> tasks.
>>
>> Basiclly all database access on all sites stop withpeople>> error until I reboot the server.
>>
>> There are no eventlog errors.
>>
>> Thanks,
>> Brian
>>
>>
>>>> web>> >-----Original Message-----
>> >On Sun, 13 Jun 2004 13:09:57 -0700, "Brian"
>> ><anonymous@discussions.microsoft.com> wrote:
>> >
>> >>I have a problem with a web server that has about 125>> >>sites on it. It appears that someone or severalthere>> >>are not closing their connections. I keep getting the
>> >>error "too many client tasks" . I need to know ifhas>> >>is any way to troubleshoot this, like see what userasp>> through>> >>what connections open. It is not practical to go>> >>all of the code since there are probably a thousandit's>> >>files on the server. Any help would be GREATLY
>> >>appreciated. I've searched for help with no success.
>> >
>> >Post the full error and where you're seeing it. If>>> in the event>> event log for a>> >log post the event ID and source, if not, check the>> >corresponding error message.
>> >
>> >>The configuration is:
>> >>Windows 2003 Standard Server
>> >>IIS 6
>> >>MDAC that was included with 2003 server.
>> >
>> >Access databases by any chance?
>> >
>> >Jeff
>> >.
>> >
>
>
>.
>Guest



Reply With Quote

