473,695 Members | 2,155 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

CDOSYS AND CDONTS on W2K3 machine

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.

They're getting an error from:

Set objCDOMail = Server.CreateOb ject("CDONTS.Ne wMail")

I know that the new format is:

Set objCDOMail = Server.CreateOb ject("CDO.Messa ge")

Is there something special that we have to have installed to make CDONTS
work?

Thanks,

Tom
Jul 22 '05 #1
16 3165
CDONTS doesn't come with W2k3 so unless you added it you are out of luck.
Either way though it's a dead technology, switch over to CDO.

--
Curt Christianson
Site & Scripts: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"tshad" <ts**********@f tsolutions.com> wrote in message
news:%2******** ************@TK 2MSFTNGP09.phx. gbl...
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.

They're getting an error from:

Set objCDOMail = Server.CreateOb ject("CDONTS.Ne wMail")

I know that the new format is:

Set objCDOMail = Server.CreateOb ject("CDO.Messa ge")

Is there something special that we have to have installed to make CDONTS
work?

Thanks,

Tom

Jul 22 '05 #2
"Curt_C [MVP]" <software_AT_da rkfalz.com> wrote in message
news:OR******** ********@TK2MSF TNGP11.phx.gbl. ..
CDONTS doesn't come with W2k3 so unless you added it you are out of luck.
Either way though it's a dead technology, switch over to CDO.
I agree and have already done that.

Our problem is mostly temporary.

We have a couple of companies doing projects for us and they are using the
same project for others.

We have W2K3 and others have W2K (which has CDONTS on it).

I moved CDONTS.DLL from my other machine to allow their code to work until
they change their code. But we are getting an error. Is this because it
has both .dlls (cdonts.dll and cdosys.dll) on the machine?

Thanks,

Tom
--
Curt Christianson
Site & Scripts: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"tshad" <ts**********@f tsolutions.com> wrote in message
news:%2******** ************@TK 2MSFTNGP09.phx. gbl...
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.

They're getting an error from:

Set objCDOMail = Server.CreateOb ject("CDONTS.Ne wMail")

I know that the new format is:

Set objCDOMail = Server.CreateOb ject("CDO.Messa ge")

Is there something special that we have to have installed to make CDONTS
work?

Thanks,

Tom


Jul 22 '05 #3
Well, while you ~can~ put the cdonts.dll file on your machine and regsvr32
it, I suggest that you don't do that. Use CDO.Message.

--

Ray at work
Microsoft ASP/ASP.NET MVP
"tshad" <ts**********@f tsolutions.com> wrote in message
news:%2******** ************@TK 2MSFTNGP09.phx. gbl...
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.

They're getting an error from:

Set objCDOMail = Server.CreateOb ject("CDONTS.Ne wMail")

I know that the new format is:

Set objCDOMail = Server.CreateOb ject("CDO.Messa ge")

Is there something special that we have to have installed to make CDONTS
work?

Thanks,

Tom

Jul 22 '05 #4
http://support.microsoft.com/default...b;en-us;315197

--

Regards

Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk

Keeping it FREE!

"tshad" <ts**********@f tsolutions.com> wrote in message
news:u7******** ******@TK2MSFTN GP12.phx.gbl...
"Curt_C [MVP]" <software_AT_da rkfalz.com> wrote in message
news:OR******** ********@TK2MSF TNGP11.phx.gbl. ..
CDONTS doesn't come with W2k3 so unless you added it you are out of luck. Either way though it's a dead technology, switch over to CDO.


I agree and have already done that.

Our problem is mostly temporary.

We have a couple of companies doing projects for us and they are using the
same project for others.

We have W2K3 and others have W2K (which has CDONTS on it).

I moved CDONTS.DLL from my other machine to allow their code to work until
they change their code. But we are getting an error. Is this because it
has both .dlls (cdonts.dll and cdosys.dll) on the machine?

Thanks,

Tom

--
Curt Christianson
Site & Scripts: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"tshad" <ts**********@f tsolutions.com> wrote in message
news:%2******** ************@TK 2MSFTNGP09.phx. gbl...
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.

They're getting an error from:

Set objCDOMail = Server.CreateOb ject("CDONTS.Ne wMail")

I know that the new format is:

Set objCDOMail = Server.CreateOb ject("CDO.Messa ge")

Is there something special that we have to have installed to make CDONTS work?

Thanks,

Tom



Jul 22 '05 #5
"Ray Costanzo [MVP]" <my first name at lane 34 dot commercial> wrote in
message news:%2******** **********@TK2M SFTNGP14.phx.gb l...
Well, while you ~can~ put the cdonts.dll file on your machine and regsvr32
it, I suggest that you don't do that. Use CDO.Message.
I agree.

But if they want to be backward compatible with their other customers, they
may balk at that - at the moment.

But you do have to register it?

How do I look to see if it is already registered?

Is there a conflict problem if I am using both cdosys and cdonts?

Thanks,

Tom
--

Ray at work
Microsoft ASP/ASP.NET MVP
"tshad" <ts**********@f tsolutions.com> wrote in message
news:%2******** ************@TK 2MSFTNGP09.phx. gbl...
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.

They're getting an error from:

Set objCDOMail = Server.CreateOb ject("CDONTS.Ne wMail")

I know that the new format is:

Set objCDOMail = Server.CreateOb ject("CDO.Messa ge")

Is there something special that we have to have installed to make CDONTS
work?

Thanks,

Tom


Jul 22 '05 #6
> We have W2K3 and others have W2K (which has CDONTS on it).

Windows 2000 also has CDOsys, so stop using CDONTS.NEWMAIL there, too.
Jul 22 '05 #7
> But you do have to register it?
</snip>

Yes

<snip>
How do I look to see if it is already registered? </snip>

Start > Run, type: regsvr32 <dll_name>

Doesn't really make a difference if it's already registered

<snip> Is there a conflict problem if I am using both cdosys and cdonts? </snip>

No.

--

Regards

Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk

Keeping it FREE!
"tshad" <ts**********@f tsolutions.com> wrote in message
news:##******** ******@TK2MSFTN GP15.phx.gbl... "Ray Costanzo [MVP]" <my first name at lane 34 dot commercial> wrote in
message news:%2******** **********@TK2M SFTNGP14.phx.gb l...
Well, while you ~can~ put the cdonts.dll file on your machine and regsvr32 it, I suggest that you don't do that. Use CDO.Message.
I agree.

But if they want to be backward compatible with their other customers,

they may balk at that - at the moment.

But you do have to register it?

How do I look to see if it is already registered?

Is there a conflict problem if I am using both cdosys and cdonts?

Thanks,

Tom

--

Ray at work
Microsoft ASP/ASP.NET MVP
"tshad" <ts**********@f tsolutions.com> wrote in message
news:%2******** ************@TK 2MSFTNGP09.phx. gbl...
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.

They're getting an error from:

Set objCDOMail = Server.CreateOb ject("CDONTS.Ne wMail")

I know that the new format is:

Set objCDOMail = Server.CreateOb ject("CDO.Messa ge")

Is there something special that we have to have installed to make CDONTS work?

Thanks,

Tom



Jul 22 '05 #8
"Aaron [SQL Server MVP]" <te*****@dnartr eb.noraa> wrote in message
news:%2******** **********@tk2m sftngp13.phx.gb l...
We have W2K3 and others have W2K (which has CDONTS on it).


Windows 2000 also has CDOsys, so stop using CDONTS.NEWMAIL there, too.


Good point.

Hadn't realized that.

Thanks,

Tom
Jul 22 '05 #9
"tshad" <ts**********@f tsolutions.com> wrote in message
news:%2******** ************@TK 2MSFTNGP15.phx. gbl...
But you do have to register it?
Yes, you do. And with 2003, you may have to go into dcomcnfg
(start--run--dcomcnfg) and verify that your IUSR account has permissions to
execute the component after you register it.

How do I look to see if it is already registered?
I guess if it's in dcomcnfg, it's registered, but it won't hurt anything to
reregister it if it's already registered.

Is there a conflict problem if I am using both cdosys and cdonts?


I don't believe that should be a problem.

Ray at work
Jul 22 '05 #10

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

Similar topics

2
1346
by: RIP | last post by:
i posted earlier, and the response seemed to be there is another dll i need to use the cdonts object, i used it fine for awhile on my old setup, i upgraded to 2k3 and it errors up as if cdonts isnt an object. So is there a dll i need to have to use the cdonts object in iis 6 or do i need to rewrite my code to use cdo? (if so, please provide asp 3 example on how to send an email with recepient, sender, body and subject)
6
9047
by: Peter Croft | last post by:
Hello. Can someone please tell me how to set the priority of an email message sent from an ASP script using CDOSYS as below - set oCdoMsg = server.createobject("CDO.Message") oCdoMsg.from=... oCdoMsg.to=... oCdoMsg.subject=... oCdoMsg.importance=1 ' fails oCdoMsg.HTMLBody=....
1
1598
by: Paxton | last post by:
Is it necessary to set field configurations for CDOSYS? I have yet to recode all my existing uses of CDONTS over to CDOSYS. In most of the sample code I've seen on the usual ASP sites, there is code to set field configurations for CDOSYS (usually using With... End With). However, in a number of CDOSYS-related code samples offered within this news group, the field configuration code is absent.
12
1965
by: tshad | last post by:
I am trying to run a test sending mail using CDONTS on my W2K3 machine. It works fine running from my WXP Pro, but I don't recieve the mail if run the W2K3 machine. Both machines have IIS configured essentially the same. ******************************************************************************************
1
2176
by: aRBee | last post by:
I got the all too typical Unable to access CDO.Message object error. I checked the registry for HKEY_CLASSES_ROOT\CDO.Message\CLSID and the default value was blank. I unregistered all CDO dlls: C:\WINNT\system32\cdosys.dll C:\WINNT\system32\cdonts.dll C:\WINNT\ServicePackFiles\i386\cdosys.dll C:\WINNT\ServicePackFiles\i386\cdonts.dll C:\Program Files\Common Files\System\MSMAPI\1033\CDO.dll C:\Program Files\Common Files\Microsoft...
10
19556
by: Jed | last post by:
I have a form that needs to handle international characters withing the UTF-8 character set. I have tried all the recommended strategies for getting utf-8 characters from form input to email message and I cannot get it to work. I need to stay with classic asp for this. Here are some things I tried: 'CDONTS Call msg.SetLocaleIDs(65001)
4
2063
by: Dr. Harvey Waxman | last post by:
I guess I should change from cdonts to cdosys. Since I am ignorant about asp I hope you forgive this basic question. There are two asp files for handling mail, the one that gets the info from a form and creates a form.asp to mail and the one that takes that file and mails it, mail.asp. I believe I can figure out what needs to be altered in the code for the first form.asp but what needs to be changed in the one that sends the email? Is...
12
2209
by: Basr | last post by:
My provider removed suddenly the CDONTS from the server. Now I have to change my forms and I have to use the CDOSYS functionaltity Till now I used one script that could do the work with one page. I could send all my forms to that page and this page conveyed all the input by email. Now I want to make a script that can do the same job. This is too diffucult for me. I can make a script for the normal input for email forms but I want to...
0
1401
by: david220 | last post by:
hi once members sign up to my site they get sent an email which contains there username/password which they enter on a sign up form. Once they've signed up the email is automatically sent using the code below. The site uses classic asp and vbscript, with the email bit in cdonts. I recently changed hosts and they use cdosys. I have used cdosys email before but are'nt sure how to get it to connect to the asp bits they enter on the sign...
0
8553
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9112
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8822
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7650
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5827
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4332
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4570
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2994
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
1970
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.