Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ODBC Microsoft Access Driver] Too many client tasks

Status
Not open for further replies.

clivehenderson

IS-IT--Management
Nov 2, 2002
66
GB
Hello
Can anyone help with this problem which I get after creating about 60 reords? (I need to create hundreds in a setup procedure)

Microsoft OLE DB Provider for ODBC Drivers error '80040e4d'
[Microsoft][ODBC Microsoft Access Driver] Too many client tasks.

I'm developing using MsAccess but transfer to a MYSQL database for live running. I'm also using a connection string.

The code I'm using is as follows in a loop.

set rsMatch = Server.CreateObject("ADODB.Command")
rsMatch.ActiveConnection = MM_Squash_STRING
rsMatch.CommandText = "insert into tblMatch (MatchID,HomeTeamID,AwayTeamID,MatchDate) values (" & intMatchNumber & "," & arrTeams(intHome) & "," & arrTeams(intAway) & "," & datMatch & ")"
rsMatch.Execute
Set rsMatch = nothing

These are the strings I use for MYSQL and access

MM_Squash_STRING = "Driver={MySQL};db=adbname;uid=ausername;pwd=apassword"
MM_Squash_STRING = "dsn=Squash;"

I've tried tried a dsnless connection as below with same result
Provider=MSDASQL; Driver={Microsoft Access Driver (*.mdb)}; Dbq=c:/data/adbname.mdb

Any help/pointers appreciated.
Thanks
Clive

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top