Forum Index  ViceVersa HOME         FAQ and Knowledge Base

 FAQForum FAQ   SearchSearch Forum  RegisterRegister 
 ProfileProfile   Log inLog in 

Global_end script to e-mail profile log

 
Post new topic   Reply to topic     Forum Index -> Support
Author Message
tekman1



Joined: 03 Jun 2007
Posts: 3

PostPosted: Sun Jun 03, 2007 11:13 pm    Post subject: Global_end script to e-mail profile log Reply with quote

I have ViceSersa running on a Windows 2003 Small Business Server which is also runs Exchange 2003 for the site. I have created the Global_end.vbs script, but the script fails each time to tries to send the email. Here is what the log shows:

2007-06-03 13:02:07 : Exit Code: 0. OK.
2007-06-03 13:02:07 : Running script c:\program files\viceversa pro 2\GlobalScripts\Global_end.vbs
2007-06-03 13:02:13 : Script Output:
2007-06-03 13:02:13 : Microsoft (R) Windows Script Host Version 5.6
2007-06-03 13:02:13 : Copyright (C) Microsoft Corporation 1996-2001. All rights reserved.
2007-06-03 13:02:13 : User Name: administrator
2007-06-03 13:02:13 : Password: *
2007-06-03 13:02:13 : From E-Mail: administrator@ovcn.org
2007-06-03 13:02:13 : To E-Mail: ovcn@tekmanagement.com
2007-06-03 13:02:13 : SMTP Server: server01.ovcn.local
2007-06-03 13:02:13 : Send only if error: False
2007-06-03 13:02:13 : Port: 25
2007-06-03 13:02:13 : Ssl: False
2007-06-03 13:02:13 : Sending e-mail message to 'ovcn@tekmanagement.com' from 'administrator@ovcn.org'
2007-06-03 13:02:13 : c:\program files\viceversa pro 2\GlobalScripts\Global_end.vbs(109, 2) (null): The message could not be sent to the SMTP server. The transport error code was 0x80040217. The server response was not available
2007-06-03 13:02:13 : End Script Output
2007-06-03 13:02:13 : Script return code: 0
2007-06-03 13:02:13 : ************************************************************
2007-06-03 13:02:13 : END ID: 20076320159-22625-9092
2007-06-03 13:02:13 :

Any ideas on what is causing this transport error code?
Thanks,
Gerry
_________________
Gerry
Back to top
TGRMN Software
Site Admin


Joined: 10 Jan 2005
Posts: 8763

PostPosted: Sun Jun 03, 2007 11:53 pm    Post subject: Reply with quote

Hi, make sure user, password and SMTP server are correct.

More info:
http://www.google.com/search?q=0x80040217

If you find out what the issue is, please let us know! thanks!
_________________
--
TGRMN Software Support
http://www.tgrmn.com
http://www.compareandmerge.com
Back to top
tekman1



Joined: 03 Jun 2007
Posts: 3

PostPosted: Mon Jun 04, 2007 5:19 pm    Post subject: Global_end script to e-mail profile log Reply with quote

I have tried all sorts of combinations of user, password and SMTP values but cannot find one that will work. For the user I am using just the user name, ie. administrator. The password is the administrator's login password. The SMTP server is the FQDN of the local 2003 server, ie. server01.ovcn.local. If I were setting up an email client such as Outlook Express I believe these settings would work. Can I use the IP address of the SMTP server instead of the name? Should the user name contain more than just the account name?

It just seems that this shouldn't be a problem, but it continues to fail. Are there any Exchange settings that could be causing this error? Do you have an example of a script that actually works on a Windows 2003 server?

Thanks,
Gerry
_________________
Gerry
Back to top
tekman1



Joined: 03 Jun 2007
Posts: 3

PostPosted: Mon Jun 04, 2007 5:44 pm    Post subject: Global_end script to e-mail profile log Reply with quote

Just on a hunch I changed the authenication method in the script from cdoBasic to cdoAnonymous and the email then went through and was delivered.

End of problem.
_________________
Gerry
Back to top
TGRMN Software
Site Admin


Joined: 10 Jan 2005
Posts: 8763

PostPosted: Tue Jun 05, 2007 1:21 am    Post subject: Reply with quote

Great Smile thank you for letting the forum know about the solution.
_________________
--
TGRMN Software Support
http://www.tgrmn.com
http://www.compareandmerge.com
Back to top
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> Support All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © phpBB Group
Copyright © TGRMN Software. TGRMN Software products: