473,320 Members | 2,104 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

ASP and CDONTS

I have an asp app that uses CDONTS to send email notifications. On the .send
method I get an error saying the specified path could not be found.
Everything I find about this error refers to IMS and the IMC folder. They say
to install IMS and set the pickup folder to the IMCDATA folder.

The problem is that this was working just fine until yesterday. We reset the
server yesterday and now all of a sudden the app cannot send email. Any idea
why this would happen? Is there some way to fix it besides trying to install
IMS? I don't understand how it could work one day and not the next, when no
configuration changes were made.

Thanks for your help!
Jul 21 '05 #1
6 4380
What is the exact error message? And post the code that you are using.

Jeff
"kelsloris" <ke*******@discussions.microsoft.com> wrote in message
news:85**********************************@microsof t.com...
I have an asp app that uses CDONTS to send email notifications. On the ..send method I get an error saying the specified path could not be found.
Everything I find about this error refers to IMS and the IMC folder. They say to install IMS and set the pickup folder to the IMCDATA folder.

The problem is that this was working just fine until yesterday. We reset the server yesterday and now all of a sudden the app cannot send email. Any idea why this would happen? Is there some way to fix it besides trying to install IMS? I don't understand how it could work one day and not the next, when no configuration changes were made.

Thanks for your help!

Jul 21 '05 #2
The error is:
error '80070003'
The system cannot find the path specified.

/intranet/hmsys/etest.asp, line 17

The code is:

Dim objCDO
Set objCDO = Server.CreateObject("CDONTS.NewMail")

' This code assumes the above CDO
'instantiation code is included
objCDO.To = "[changed to protect the innocent]"
objCDO.From = "[changed to protect the innocent]"

Dim txtSubject
txtSubject = "This is an automated notification email from HMSys v2.0.0." &
vbCrLf & "Please do not reply to this address." & vbCrLf & vbCrLf

objCDO.Subject = "HMSys Auto Notification"
objCDO.Body = txtSubject

objCDO.Importance = 2 'High importance!
objCDO.Send 'Send off the email!

'Cleanup
Set objCDO = Nothing

The email notifications have been working for about 3 weeks. As of last
night (after the server reset) I get the above error everywhere an email is
supposed to be sent, with the line number pointing to the objCDO.Send line.
The only thing that changes in the above code in other parts of the app is
the body of the message.

"Jeff Dillon" wrote:
What is the exact error message? And post the code that you are using.

Jeff
"kelsloris" <ke*******@discussions.microsoft.com> wrote in message
news:85**********************************@microsof t.com...
I have an asp app that uses CDONTS to send email notifications. On the

..send
method I get an error saying the specified path could not be found.
Everything I find about this error refers to IMS and the IMC folder. They

say
to install IMS and set the pickup folder to the IMCDATA folder.

The problem is that this was working just fine until yesterday. We reset

the
server yesterday and now all of a sudden the app cannot send email. Any

idea
why this would happen? Is there some way to fix it besides trying to

install
IMS? I don't understand how it could work one day and not the next, when

no
configuration changes were made.

Thanks for your help!


Jul 21 '05 #3
=?Utf-8?B?a2Vsc2xvcmlz?= <ke*******@discussions.microsoft.com> wrote in
news:EF**********************************@microsof t.com:

two points here - what values have you given to the paths for CDONT?
Since the server was reset (rebooted?), is it possible that these have
been accidentally dropped?
The error is:
error '80070003'
The system cannot find the path specified.

/intranet/hmsys/etest.asp, line 17

The code is:

Dim objCDO
Set objCDO = Server.CreateObject("CDONTS.NewMail")

' This code assumes the above CDO
'instantiation code is included
objCDO.To = "[changed to protect the innocent]"
objCDO.From = "[changed to protect the innocent]"

Dim txtSubject
txtSubject = "This is an automated notification email from HMSys
v2.0.0." &
vbCrLf & "Please do not reply to this address." & vbCrLf & vbCrLf

objCDO.Subject = "HMSys Auto Notification"
objCDO.Body = txtSubject

objCDO.Importance = 2 'High importance!
objCDO.Send 'Send off the email!

'Cleanup
Set objCDO = Nothing

The email notifications have been working for about 3 weeks. As of
last night (after the server reset) I get the above error everywhere
an email is supposed to be sent, with the line number pointing to the
objCDO.Send line. The only thing that changes in the above code in
other parts of the app is the body of the message.

"Jeff Dillon" wrote:
What is the exact error message? And post the code that you are
using.

Jeff
"kelsloris" <ke*******@discussions.microsoft.com> wrote in message
news:85**********************************@microsof t.com...
> I have an asp app that uses CDONTS to send email notifications. On
> the

..send
> method I get an error saying the specified path could not be found.
> Everything I find about this error refers to IMS and the IMC
> folder. They

say
> to install IMS and set the pickup folder to the IMCDATA folder.
>
> The problem is that this was working just fine until yesterday. We
> reset

the
> server yesterday and now all of a sudden the app cannot send email.
> Any

idea
> why this would happen? Is there some way to fix it besides trying
> to

install
> IMS? I don't understand how it could work one day and not the next,
> when

no
> configuration changes were made.
>
> Thanks for your help!



Jul 21 '05 #4
I don't know what the values were set at. How would I find out? I didn't
actually set up the CDONT. I assumed it had been set up when the server was
set up (before my time with the company). I just tried the code to use it and
it worked so I didn't mess with anything. I suppose it's possible it got lost
from the reboot, but again I don't know how that could happen. Where can I go
to view/update the path for CDONT? Is it a registry setting that can be
changed?

"s_m_b" wrote:
=?Utf-8?B?a2Vsc2xvcmlz?= <ke*******@discussions.microsoft.com> wrote in
news:EF**********************************@microsof t.com:

two points here - what values have you given to the paths for CDONT?
Since the server was reset (rebooted?), is it possible that these have
been accidentally dropped?
The error is:
error '80070003'
The system cannot find the path specified.

/intranet/hmsys/etest.asp, line 17

The code is:

Dim objCDO
Set objCDO = Server.CreateObject("CDONTS.NewMail")

' This code assumes the above CDO
'instantiation code is included
objCDO.To = "[changed to protect the innocent]"
objCDO.From = "[changed to protect the innocent]"

Dim txtSubject
txtSubject = "This is an automated notification email from HMSys
v2.0.0." &
vbCrLf & "Please do not reply to this address." & vbCrLf & vbCrLf

objCDO.Subject = "HMSys Auto Notification"
objCDO.Body = txtSubject

objCDO.Importance = 2 'High importance!
objCDO.Send 'Send off the email!

'Cleanup
Set objCDO = Nothing

The email notifications have been working for about 3 weeks. As of
last night (after the server reset) I get the above error everywhere
an email is supposed to be sent, with the line number pointing to the
objCDO.Send line. The only thing that changes in the above code in
other parts of the app is the body of the message.

"Jeff Dillon" wrote:
What is the exact error message? And post the code that you are
using.

Jeff
"kelsloris" <ke*******@discussions.microsoft.com> wrote in message
news:85**********************************@microsof t.com...
> I have an asp app that uses CDONTS to send email notifications. On
> the
..send
> method I get an error saying the specified path could not be found.
> Everything I find about this error refers to IMS and the IMC
> folder. They
say
> to install IMS and set the pickup folder to the IMCDATA folder.
>
> The problem is that this was working just fine until yesterday. We
> reset
the
> server yesterday and now all of a sudden the app cannot send email.
> Any
idea
> why this would happen? Is there some way to fix it besides trying
> to
install
> IMS? I don't understand how it could work one day and not the next,
> when
no
> configuration changes were made.
>
> Thanks for your help!


Jul 21 '05 #5
Ok, I've tried the methods at the following:
http://www.kbalertz.com/kb_Q319890.aspx
http://www.kbalertz.com/Feedback.aspx?kbNumber=238956

When I tried the second one (using adsutil), I get the following errors:

When I just try to view the setting for SMTPsvc/1:
Error trying to enum the object (ObjectGet Failed): SMTPsvc/1

When I try to use the set command:
The path requested could not be found.
Error trying to get the object: SMTPsvc/1

I also tried using CDO instead of CDONTS. That didn't work at all. I REALLY
need this working soon. Help is MUCH appreciated.

Thanks.

"s_m_b" wrote:
=?Utf-8?B?a2Vsc2xvcmlz?= <ke*******@discussions.microsoft.com> wrote in
news:EF**********************************@microsof t.com:

two points here - what values have you given to the paths for CDONT?
Since the server was reset (rebooted?), is it possible that these have
been accidentally dropped?
The error is:
error '80070003'
The system cannot find the path specified.

/intranet/hmsys/etest.asp, line 17

The code is:

Dim objCDO
Set objCDO = Server.CreateObject("CDONTS.NewMail")

' This code assumes the above CDO
'instantiation code is included
objCDO.To = "[changed to protect the innocent]"
objCDO.From = "[changed to protect the innocent]"

Dim txtSubject
txtSubject = "This is an automated notification email from HMSys
v2.0.0." &
vbCrLf & "Please do not reply to this address." & vbCrLf & vbCrLf

objCDO.Subject = "HMSys Auto Notification"
objCDO.Body = txtSubject

objCDO.Importance = 2 'High importance!
objCDO.Send 'Send off the email!

'Cleanup
Set objCDO = Nothing

The email notifications have been working for about 3 weeks. As of
last night (after the server reset) I get the above error everywhere
an email is supposed to be sent, with the line number pointing to the
objCDO.Send line. The only thing that changes in the above code in
other parts of the app is the body of the message.

"Jeff Dillon" wrote:
What is the exact error message? And post the code that you are
using.

Jeff
"kelsloris" <ke*******@discussions.microsoft.com> wrote in message
news:85**********************************@microsof t.com...
> I have an asp app that uses CDONTS to send email notifications. On
> the
..send
> method I get an error saying the specified path could not be found.
> Everything I find about this error refers to IMS and the IMC
> folder. They
say
> to install IMS and set the pickup folder to the IMCDATA folder.
>
> The problem is that this was working just fine until yesterday. We
> reset
the
> server yesterday and now all of a sudden the app cannot send email.
> Any
idea
> why this would happen? Is there some way to fix it besides trying
> to
install
> IMS? I don't understand how it could work one day and not the next,
> when
no
> configuration changes were made.
>
> Thanks for your help!


Jul 21 '05 #6
Uninstall SMTP on your machine. I've heard that you'll get this error if you
choose a non-default location during install. You could always use JMail,
that's what we're using here, and it's free. There are several others.

Jeff
"kelsloris" <ke*******@discussions.microsoft.com> wrote in message
news:30**********************************@microsof t.com...
Ok, I've tried the methods at the following:
http://www.kbalertz.com/kb_Q319890.aspx
http://www.kbalertz.com/Feedback.aspx?kbNumber=238956

When I tried the second one (using adsutil), I get the following errors:

When I just try to view the setting for SMTPsvc/1:
Error trying to enum the object (ObjectGet Failed): SMTPsvc/1

When I try to use the set command:
The path requested could not be found.
Error trying to get the object: SMTPsvc/1

I also tried using CDO instead of CDONTS. That didn't work at all. I REALLY need this working soon. Help is MUCH appreciated.

Thanks.

"s_m_b" wrote:
=?Utf-8?B?a2Vsc2xvcmlz?= <ke*******@discussions.microsoft.com> wrote in
news:EF**********************************@microsof t.com:

two points here - what values have you given to the paths for CDONT?
Since the server was reset (rebooted?), is it possible that these have
been accidentally dropped?
The error is:
error '80070003'
The system cannot find the path specified.

/intranet/hmsys/etest.asp, line 17

The code is:

Dim objCDO
Set objCDO = Server.CreateObject("CDONTS.NewMail")

' This code assumes the above CDO
'instantiation code is included
objCDO.To = "[changed to protect the innocent]"
objCDO.From = "[changed to protect the innocent]"

Dim txtSubject
txtSubject = "This is an automated notification email from HMSys
v2.0.0." &
vbCrLf & "Please do not reply to this address." & vbCrLf & vbCrLf

objCDO.Subject = "HMSys Auto Notification"
objCDO.Body = txtSubject

objCDO.Importance = 2 'High importance!
objCDO.Send 'Send off the email!

'Cleanup
Set objCDO = Nothing

The email notifications have been working for about 3 weeks. As of
last night (after the server reset) I get the above error everywhere
an email is supposed to be sent, with the line number pointing to the
objCDO.Send line. The only thing that changes in the above code in
other parts of the app is the body of the message.

"Jeff Dillon" wrote:

> What is the exact error message? And post the code that you are
> using.
>
> Jeff
> "kelsloris" <ke*******@discussions.microsoft.com> wrote in message
> news:85**********************************@microsof t.com...
> > I have an asp app that uses CDONTS to send email notifications. On
> > the
> ..send
> > method I get an error saying the specified path could not be found.
> > Everything I find about this error refers to IMS and the IMC
> > folder. They
> say
> > to install IMS and set the pickup folder to the IMCDATA folder.
> >
> > The problem is that this was working just fine until yesterday. We
> > reset
> the
> > server yesterday and now all of a sudden the app cannot send email.
> > Any
> idea
> > why this would happen? Is there some way to fix it besides trying
> > to
> install
> > IMS? I don't understand how it could work one day and not the next,
> > when
> no
> > configuration changes were made.
> >
> > Thanks for your help!
>
>
>


Jul 21 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: | last post by:
Hi Guys CDONTS works with all sites hosted on my test server bar one (which surely rules out a miscomputation of the Default SMTP server in IIS). I have tried uploading the file with make up...
29
by: | last post by:
I did a working code with CDONTS on NT4 Now I am testing is on w2k and it looks like objCDONTS.Send is completely ignored. I think is it ignored because it throws no errors, neither does the...
7
by: Mario Leduc | last post by:
Hi, I have a page that sends user comments with CDONTS, works fine. Until I put a URL (http://192.168.0.1). If I use http://domain.com it works fine. Why with the numeric URL, CDONTS does not...
8
by: Boris | last post by:
Could someone please tell me if I can use CDONTS in W 2003 Server environment to send emails the same way it is used in W2K Server. I have heard that CDONTS is no longer available in W 2003 Server...
4
by: F | last post by:
Hi Some one has posted this question on 10th August, as CDONTS is not working on windows 2003 serever. I have the same problem and I copied CDONTS.DLL from Windows 2000 Server and registered on...
16
by: tshad | last post by:
I have both cdosys.dll and cdonts.dll on my W2K3 server. We have been told by our web authors that their asp code won't work on our machine and that we don't have CDONTS installed on our machine....
9
by: scott | last post by:
I have my win 2003 server setup correct with SMTP. I know because I've tested it ok. However, when I issue CODE 1 below, I get ERROR 1 below. I thought having SMTP installed correctly allowed...
2
by: microsoft.public.dotnet.languages.csharp | last post by:
ASP.Net, C#, Email message, CDonts not CDO I am writing an ASP.Net application where I cannot use CDO. I must use CDonts. I cannot find an example of this on the Internet. I only see examples...
5
by: MichaelK | last post by:
What do I need to do to enable CDONTS om my macine to make it working I'm testing the code: Dim objCDO Set objCDO = Server.CreateObject("CDONTS.NewMail") objCDO.To = "xyz@xxxxx.com"...
7
by: Paul | last post by:
I have just started work on a system using CDONTS to mail out. Whilst this is fine on the server, my local development machine is using XP Pro with IIS5.1 installed. Is there a way I can get the...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.