Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old July 19th, 2005, 11:00 AM
Murat Dagdelen
Guest
 
Posts: n/a
Default CDONTS problem

Hi,

an asp script that uses cdonts is bringing an error
while I submit it more then once. The script is a simple
asp script that sends email by using cdonts. But when I
run the script more then once in a minute or two, it
returns an error (Something like 800921290 kind of
number). I have checked the cdonts version, it is the
latest, and I use win2k server sp4 with iis 5.0. What
would be the problem ?

Regards


  #2  
Old July 19th, 2005, 11:00 AM
Dan Boylett
Guest
 
Posts: n/a
Default Re: CDONTS problem


"Murat Dagdelen" <mdagdelen@thehostcompany.com> wrote in message
news:013101c3d677$02846830$a001280a@phx.gbl...[color=blue]
> Hi,
>
> an asp script that uses cdonts is bringing an error
> while I submit it more then once. The script is a simple
> asp script that sends email by using cdonts. But when I
> run the script more then once in a minute or two, it
> returns an error (Something like 800921290 kind of
> number). I have checked the cdonts version, it is the
> latest, and I use win2k server sp4 with iis 5.0. What
> would be the problem ?[/color]

GIving the exact error and number would help.


  #3  
Old July 19th, 2005, 11:00 AM
Aaron Bertrand - MVP
Guest
 
Posts: n/a
Default Re: CDONTS problem

> (Something like 800921290 kind of number).

I have something like an "ouch" kind of pain, doctor. What is your
analysis? What do you prescribe? Can you phone the prescription in, so
that I can not only avoid describing the symptoms in more detail, but I
don't even have to visit your office?

--
Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/


  #4  
Old July 19th, 2005, 11:00 AM
Murat Dagdelen
Guest
 
Posts: n/a
Default Re: CDONTS problem

Here is the exact problem:

Set mail=Server.CreateObject("CDONTS.NewMail")
But the code that actually creates the error is here:
mail.Send

The ASP error generated is '80070020'. The message
associated with the error is this: "The process cannot
access the file because it is being used by another
process."

Sorry for the earlier confusion.

Regards.
[color=blue]
>-----Original Message-----
>
>"Murat Dagdelen" <mdagdelen@thehostcompany.com> wrote in[/color]
message[color=blue]
>news:013101c3d677$02846830$a001280a@phx.gbl...[color=green]
>> Hi,
>>
>> an asp script that uses cdonts is bringing an error
>> while I submit it more then once. The script is a simple
>> asp script that sends email by using cdonts. But when I
>> run the script more then once in a minute or two, it
>> returns an error (Something like 800921290 kind of
>> number). I have checked the cdonts version, it is the
>> latest, and I use win2k server sp4 with iis 5.0. What
>> would be the problem ?[/color]
>
>GIving the exact error and number would help.
>
>
>.
>[/color]
  #5  
Old July 19th, 2005, 11:00 AM
Aaron Bertrand - MVP
Guest
 
Posts: n/a
Default Re: CDONTS problem

> Set mail=Server.CreateObject("CDONTS.NewMail")

Use CDO.Message. CDONTS is deprecated anyway. http://www.aspfaq.com/2026

--
Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/


 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles