Solved

ASP and Access.... Too many client tasks.

Posted on 2000-03-21
9
453 Views
Last Modified: 2008-02-01
I hv an ASP site.. and I keep getting this error frequently...
what is the cause ???
too many users?
how can I increase this?

Microsoft OLE DB Provider for ODBC Drivers error '80040e4d'

[Microsoft][ODBC Microsoft Access Driver] Too many client tasks.

Thanks..
0
Comment
Question by:Haho
  • 4
  • 3
  • 2
9 Comments
 
LVL 4

Expert Comment

by:jkunal
ID: 2643088
Check your DSN....
It may be misconfigured to use Windows NT security instead of SQL Server standard security,pl change it.

;->
0
 
LVL 4

Expert Comment

by:FRehman
ID: 2643263
when you open your recordset please use cursor type "lockoptimistic"option so user can edit one record at one time and also check that no one enter with name as some one already present in your site
0
 
LVL 1

Author Comment

by:Haho
ID: 2669032
Adjusted points from 50 to 100
0
 
LVL 1

Author Comment

by:Haho
ID: 2669033
hi guys,

this is the code where it fails:
< this is a global include file >

DSN = "filedsn=" & sPath & f & ";DefaultDir=" & sPath & ";DBQ=" & Path & DB & ";"

Set con = Server.CreateObject("ADODB.Connection")

con.Open DSN <===== HERE!!!

I am increasing the points so that u guys can have a more accurate look..
Thanks!
0
Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

 
LVL 4

Expert Comment

by:FRehman
ID: 2671829
when you make file dsn then save it where it say to save and only write that which is below for open the recordset

  Set cn = Server.CreateObject("ADODB.Connection")
  'Open a connection; the string refers to the DSN
  cn.Open  "FILEDSN=MyDatabase.dsn"
then it will not generate any error I also work it
0
 
LVL 4

Expert Comment

by:jkunal
ID: 2671849
Try a DSN less connection.
0
 
LVL 1

Author Comment

by:Haho
ID: 2678609
frehman,

so are u saying that a DSNless connection has a much lower concurrent capability than one with a ODBC DSN ?? That is why u suggest to me to change from DSNless to using a DSN?

please comment.

Thanks

PS. jkunal: I am already using a DSN-less connection here.
0
 
LVL 4

Accepted Solution

by:
FRehman earned 100 total points
ID: 2678784
you can access the database from three ways one from without any dsn second is use file dsn and third one is system dsn the code which you paste here is use file dsn . I think you use system dsn any it also connect the database I simply correct you code and write the exact syntx of statment if you find still in accessing the database  problem then let me know at leo_faisal@yahoo.com
0
 
LVL 1

Author Comment

by:Haho
ID: 2723445
thanks, but the problem I discovered was because of the server CPU utilization...using too many resources..
leaving other sites with not enough system resources(including connections)...

another possible reason is the limitation of earlier Jet drivers... documentated in Microsoft site.
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

I have helped a lot of people on EE with their coding sources and have enjoyed near about every minute of it. Sometimes it can get a little tedious but it is always a challenge and the one thing that I always say is:  The Exchange of information …
I would like to start this tip/trick by saying Thank You, to all who said that this could not be done, as it forced me to make sure that it could be accomplished. :) To start, I want to make sure everyone understands the importance of utilizing p…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

747 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

12 Experts available now in Live!

Get 1:1 Help Now