Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

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

Posted on 2000-03-21
9
Medium Priority
?
460 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
[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
  • 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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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…
This demonstration started out as a follow up to some recently posted questions on the subject of logging in: http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/Q_28634665.html and http://www.experts-exchange.com/Programming/…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…

650 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