Solved

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

Posted on 2000-03-21
9
455 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
Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

 
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
 
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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Group by correlation 4 58
Classic ASP application Will support SQL 2014 5 87
Get hold of longitude and latitude in iframe string 11 46
age from date of birth 4 43
I recently decide that I needed a way to make my pages scream on the net.   While searching around how I can accomplish this I stumbled across a great article that stated "minimize the server requests." I got to thinking, hey, I use more than one…
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 …
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

822 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