Windows OS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsSystem AdministrationWindows OS

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old October 6th, 2008, 07:03 AM
Coolplay Coolplay is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Oct 2008
Posts: 3 Coolplay User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 14 m 19 sec
Reputation Power: 0
CDOSYS & CDONTS don't work at all !! (realy wierd)

We have the following configuration:

1 Virtuozzo Hardware node running under W2K3 Datacenter x86 64bit Edition
1 Virtual Container running W2K3 Datacenter x86 64bit Edition and of course running inside the here above Virtuozzo Node.
1 Plesk 8.6 running into the here above Virtual container.

For info: Mail Enable is running into that Container for notification needs, and Plesk notification are going out normaly via Mail Enable SMTP server (via port 80) on the virtual Container.

What we need in extra to be operative before going into production with that container:

The native CDOSYS component, AND ALSO the old CDONTS component and this because we don't want our clients to
rewrite the pages who are using CDOSYS/CDONTS (on our old server) and so the migration will be transparent for them without script changes.

Note: CDONTS was installed by following the Parallels KB recommendations and registration via regsvr32 went just fine.

Issue encountered:
We never managed to have the native CDOSYS component working and this for an unknow reason ??!! and even before installing the CDONTS on that Virtual container.
AND THE SAME GOES for CDONTS component, not working either ??!!


Of course, we took care to change the SMTP default Port 25 on IIS and changed it to 8025 in order to avoid conflict with default port (80) used by Mail Enable.

For the CDOSYS/CDONTS test on that container, we have used 2 very simple and basic scripts (one for CDOSYS and one for CDONTS)
Those 2 scripts are used for test purpose on regular W2K3 servers (with no Virtuozzo nor Plesk installed on it) and they are working JUST FINE on such server.
And so, a bad test script on our side is not the issue.

Additional info:
When trying our CDOSYS Test script, we obtain the following error message:

CDO.Message.1 error '80040220'
The "SendUsing" configuration value is invalid.
/cdosystest.asp, line 15

Line 15 is equal to: myMail.Send

When trying our CDONTS Test script, we obtain the following error message:

Server object error 'ASP 0178 : 80070005'
Server.CreateObject Access Error
/cdontstest.asp, line 11
The call to Server.CreateObject failed while checking permissions. Access is denied to this object.

Line 11 is equal to: Set MAILCDO = Server.CreateObject("CDONTS.NewMail")

Resume:
Apparently it seems to be something related to permissions,etc..
In the mean time we tried to give some rights (read + Exec) to the .DLL's files without too much success.
And as Plesk does is own config,etc.. we simply don't want to play around with permissions here and ther but would like to make sure that the permissions are exactly the one needed.

If somene did allready face the same issue, your recommendation, help would be greatly appreciated.

Thank you in advance.

Reply With Quote
  #2  
Old October 6th, 2008, 12:30 PM
Guddu's Avatar
Guddu Guddu is offline
Contributing User
ASP Free Expert (3500 - 3999 posts)
 
Join Date: Jul 2005
Location: Oxford UK
Posts: 3,717 Guddu User rank is Lieutenant General (80000 - 90000 Reputation Level)Guddu User rank is Lieutenant General (80000 - 90000 Reputation Level)Guddu User rank is Lieutenant General (80000 - 90000 Reputation Level)Guddu User rank is Lieutenant General (80000 - 90000 Reputation Level)Guddu User rank is Lieutenant General (80000 - 90000 Reputation Level)Guddu User rank is Lieutenant General (80000 - 90000 Reputation Level)Guddu User rank is Lieutenant General (80000 - 90000 Reputation Level)Guddu User rank is Lieutenant General (80000 - 90000 Reputation Level)Guddu User rank is Lieutenant General (80000 - 90000 Reputation Level)Guddu User rank is Lieutenant General (80000 - 90000 Reputation Level)Guddu User rank is Lieutenant General (80000 - 90000 Reputation Level)Guddu User rank is Lieutenant General (80000 - 90000 Reputation Level)Guddu User rank is Lieutenant General (80000 - 90000 Reputation Level)Guddu User rank is Lieutenant General (80000 - 90000 Reputation Level)Guddu User rank is Lieutenant General (80000 - 90000 Reputation Level) 
Time spent in forums: 2 Months 3 Weeks 3 Days 8 h 27 m 49 sec
Reputation Power: 869
hi for this
Code:
CDO.Message.1 error '80040220' 
The "SendUsing" configuration value is invalid. 
/cdosystest.asp, line 15

post code here.

Code:
Server object error 'ASP 0178 : 80070005' 
Server.CreateObject Access Error 
/cdontstest.asp, line 11 
The call to Server.CreateObject failed while checking permissions. Access is denied to this object.

Line 11 is equal to: Set MAILCDO = Server.CreateObject("CDONTS.NewMail")

this error meant cdonts is not registered on your sever.better u use cdomessage for sending an email.so post the code here.

hope it make some sense.
__________________
Nothing is Impossible bcoz IMPOSSIBLE itself says..
I M POSSIBLE........................
Be cool !!!!!!!!

Reply With Quote
  #3  
Old October 6th, 2008, 12:48 PM
Coolplay Coolplay is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Oct 2008
Posts: 3 Coolplay User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 14 m 19 sec
Reputation Power: 0
Hi Guddu,

Thanks a million for replying.

For CDOSYS please find the code here under :

[code]
<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>
<html>
<head>
<title>CDOSYS TEST SCRIPT</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body>
<%
Set myMail=CreateObject("CDO.Message")
myMail.Subject="Sending email with CDO"
myMail.From="somename@somedomainhere.com"
myMail.To="someothername@someotherdomainhere.com"
myMail.TextBody="CDOSYS Messenge delivery test."
myMail.Send
set myMail=nothing
%>

</body>
</html>
[code]

Regarding CDONTS, here is the code also in case of :

[code]
<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>
<html>
<head>
<title>CDONTS TEST SCRIPT</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body>
<%
Dim MAILCDO
Set MAILCDO = Server.CreateObject("CDONTS.NewMail")
%>
<%
'envoyer à qui?
MAILCDO.To = "somename@somedomain.com"
' de la part de qui ?
MAILCDO.From = "someothername@someotherdomain.com"

' texte à envoyer
Dim CorpsDuTexte
CorpsDuTexte = "Le service CDONTS est opérationel."

'Sujet
MAILCDO.Subject = "Essai de CDONTS"
MAILCDO.Body = CorpsDuTexte



MAILCDO.Importance = 0 ' Normal


MAILCDO.Send

set MAILCDO=Nothing


%>
</body>
</html>
[code]

well that is the wierd thing it was well registered .... the thing I have to admit was that the regular : regsvr32 cdonts.dll did not work ...
But crawling the web gave me some other tip to register it ... click the cdonts.dll and drag and drop it on the regsvr32.exe file ... By doing this I had a positiv message saying that .DLL was successfully registered.

anyway neither one (CDO and CDONTS) never worked on htat server.

Note: I know for using CDO instead of CDONTS but I cannot afforth to ask all the customer to rewrite their code (most of them are using CDONTS anyway, so I need it in fact :-(

I repeat that those above script are working JUST fine on regular W2K3 x86 servers.

Thanks in advanc efor your help.

Reply With Quote
  #4  
Old October 6th, 2008, 01:00 PM
Guddu's Avatar
Guddu Guddu is offline
Contributing User
ASP Free Expert (3500 - 3999 posts)
 
Join Date: Jul 2005
Location: Oxford UK
Posts: 3,717 Guddu User rank is Lieutenant General (80000 - 90000 Reputation Level)Guddu User rank is Lieutenant General (80000 - 90000 Reputation Level)Guddu User rank is Lieutenant General (80000 - 90000 Reputation Level)Guddu User rank is Lieutenant General (80000 - 90000 Reputation Level)Guddu User rank is Lieutenant General (80000 - 90000 Reputation Level)Guddu User rank is Lieutenant General (80000 - 90000 Reputation Level)Guddu User rank is Lieutenant General (80000 - 90000 Reputation Level)Guddu User rank is Lieutenant General (80000 - 90000 Reputation Level)Guddu User rank is Lieutenant General (80000 - 90000 Reputation Level)Guddu User rank is Lieutenant General (80000 - 90000 Reputation Level)Guddu User rank is Lieutenant General (80000 - 90000 Reputation Level)Guddu User rank is Lieutenant General (80000 - 90000 Reputation Level)Guddu User rank is Lieutenant General (80000 - 90000 Reputation Level)Guddu User rank is Lieutenant General (80000 - 90000 Reputation Level)Guddu User rank is Lieutenant General (80000 - 90000 Reputation Level) 
Time spent in forums: 2 Months 3 Weeks 3 Days 8 h 27 m 49 sec
Reputation Power: 869
hi
see the bold part i added into your code.instead of localhost put your smtp server name and port number i think in your case it is 25.
Code:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>
<html>
<head>
<title>CDOSYS TEST SCRIPT</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body>
<%
Set cdoConfiguration = Server.CreateObject ("CDO.Configuration")
	' Outgoing SMTP server
	With cdoConfiguration
		.Fields("http://schemas.microsoft.com/cdo/configuration/smtpserver") = "localhost"
		.Fields("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = 25
		.Fields("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2
		.Fields("http://schemas.microsoft.com/cdo/configuration/smtpconnectiontimeout") = 60
		.Fields.Update
	End With

Set myMail=CreateObject("CDO.Message")
SET myMail.Configuration = cdoConfiguration 
myMail.Subject="Sending email with CDO"
myMail.From="somename@somedomainhere.com"
myMail.To="someothername@someotherdomainhere.com"
myMail.TextBody="CDOSYS Messenge delivery test."
myMail.Send
set myMail=nothing
%>

</body>
</html>

Reply With Quote
  #5  
Old October 6th, 2008, 02:43 PM
Coolplay Coolplay is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Oct 2008
Posts: 3 Coolplay User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 14 m 19 sec
Reputation Power: 0
Smile /

Hi again Gudu!

Perfect the CDOSYS is operational !
But how come the original script did not work as it is working perfectly without the smtp, port, configuration etc. and this on other regular servers ?

Regarding the CDONTS pending problem, do you have any idea what I could do in order to force him to work on the server I am testing ?

Should I simply reinstall it?

Do you know have a tip to make sure the CDONTS.DLL is out of the regsrv32 prior to reinstalll it or is it not necessary to uninstall it prior an eventual reinstall operaiton.

Thanks a lot for your help.

Reply With Quote
  #6  
Old October 6th, 2008, 02:52 PM
Guddu's Avatar
Guddu Guddu is offline
Contributing User
ASP Free Expert (3500 - 3999 posts)
 
Join Date: Jul 2005
Location: Oxford UK
Posts: 3,717 Guddu User rank is Lieutenant General (80000 - 90000 Reputation Level)Guddu User rank is Lieutenant General (80000 - 90000 Reputation Level)Guddu User rank is Lieutenant General (80000 - 90000 Reputation Level)Guddu User rank is Lieutenant General (80000 - 90000 Reputation Level)Guddu User rank is Lieutenant General (80000 - 90000 Reputation Level)Guddu User rank is Lieutenant General (80000 - 90000 Reputation Level)Guddu User rank is Lieutenant General (80000 - 90000 Reputation Level)Guddu User rank is Lieutenant General (80000 - 90000 Reputation Level)Guddu User rank is Lieutenant General (80000 - 90000 Reputation Level)Guddu User rank is Lieutenant General (80000 - 90000 Reputation Level)Guddu User rank is Lieutenant General (80000 - 90000 Reputation Level)Guddu User rank is Lieutenant General (80000 - 90000 Reputation Level)Guddu User rank is Lieutenant General (80000 - 90000 Reputation Level)Guddu User rank is Lieutenant General (80000 - 90000 Reputation Level)Guddu User rank is Lieutenant General (80000 - 90000 Reputation Level) 
Time spent in forums: 2 Months 3 Weeks 3 Days 8 h 27 m 49 sec
Reputation Power: 869
hi
u follow this link u will get better an idea about cdo and cdonts component.

http://classicasp.aspfaq.com/email/...l-with-cdo.html

cheers!!

Reply With Quote
Reply

Viewing: ASP Free ForumsSystem AdministrationWindows OS > CDOSYS & CDONTS don't work at all !! (realy wierd)


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump



 Free IT White Papers!
 
How to Present Effectively Online
This white paper offers practical and actionable advice on the key steps that any presenter should consider as they plan and execute a Webinar or online meeting.

 
Open Source Security Myths
Open Source Software (OSS) is computer software whose source code is available to the general public with relaxed or non-existent intellectual property restrictions (or arrangement such as the public domain), and is usually developed with the input of many contributors.

 
Power and Cooling Capacity Management for Data Centers
This paper describes the principles for achieving power and cooling capacity management.

 
Scalable, Fault-Tolerant NAS for Oracle - The Next Generation
For several years NAS has been evolving as a storage alternative for Oracle databases, and for good reason: NAS is quite often the simplest, most cost-effective storage approach for Oracle. Learn about the benefits that HP's approach to scalable NAS brings to Oracle environments in this comprehensive white paper.

 
Understanding Web Application Security Challenges
This white paper discusses many common threats and preventive measures for Web application security, and explains what you can do to help protect your organization.

 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2009 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway
Stay green...Green IT