Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_cdo thread: Re: 80070020 Error Using CDONTS on Windows 2000


Message #1 by "Jim Marquez" <james.marquez@d...> on Wed, 6 Feb 2002 20:22:13
I just got off the phone with microsoft.  5 minutes and $245 later, I was 

told to unload the Arcserve Backup agent for open files.  I did that and 

it worked, no more 80070020 message.  Some twisted relationship between CA 

and microsoft prevents an external KB article from being posted.  So I 

thought I would share to save others some $$$$.



-Jim

> Thanks for the info but the choice of CDOSYS or CDONTS makes no 

difference 

> in the behavior.  When sending 2 e-mail messages back-to-back the second 

> one generates the error message.  It appears as though it is a file 

locked 

> or file sharing error.  Some process is tying up the \pickup directory 

and 

> until it is released the second message will not be accepted.  Again, 

the 

> same script on a Windows 2000 Professional computer works without a 

> problem.  What services run on Windows 2000 server that don't run on 

> Professional?  DNS?  Active Directory?  And what would they be doing 

that 

> would tie up that resource?  Thanks again for your help.

> 

> Eric Anderson

> North Star Navigators

> 

> > Hi there,

> > 

> > I would suggest you, if you are on windows 2000, to use the CDO.DLL. 

It 

> is 

> > the latest object for emaail managment and is more stable. Also, this 

is 

> > the object that is going to be supported from now on at Microsoft.

> > 

> > Patrick Frenette

> > Research Center for Geomatics

> > 

> > > I am experiencing a very unusual error when generating mail messages 

> > with 

> > > ASP running on a Windows 2000 server using CDONTS.  The error 

message 

> > > is '80070020'.  It occurs when trying to send 2 messages very close 

> > > together.  For example, the 'submit' button is clicked on an input 

> form, 

> > > and that same form is submitted again within 10 or 15 seconds.  The 

> > first 

> > > submit works fine, the second generates the error.  If I wait a 

minute 

> > or 

> > > so and resubmit, it again works fine.  Researching this problem at 

> > > Micorosft's web site leads to the conclusion that this was a known 

> > problem 

> > > in earlier versions of the CDONTS.dll that was delivered with 

> NT4/IIS4.  

> > > The error indicates that you are trying to creat a file with a 

> duplicate 

> > > file name or you are trying to open a file with an ADO connection 

that 

> > is 

> > > already open.  It is almost like the SMTP queue is not emptying out 

> fast 

> > > enough.  What makes this problem even more maddening is that I have 

a 

> > test 

> > > machine running Windows 2000 Professional with the same service 

packs 

> > and 

> > > DLL and the code runs perfectly every time.  I would appreciate any 

> > > suggestions on how to debug this problem.

> > > 

> > > Eric Anderson

  Return to Index