After resolving the issue mentioned in the "ControlledPaths Problem" thread, I have now run into the following problem. Below is a copy of the log file generated by SubversionNotify.
I am running a Win2003 SBS and trying to send the email through MSExchange. SubversionNotify is attempting to send the e-mail from another networked element to the domain controller running Exchange.
[6/2/2008 9:43:50 PM] *************************
[6/2/2008 9:43:50 PM] Starting process for Revision 126-1 [X:/path/to/my/svn]
[6/2/2008 9:43:50 PM] Configuration file deserialized. Logging level set to: DEBUG
[6/2/2008 9:43:50 PM] SubversionNotify, Version=1.4.5.3, Culture=neutral, PublicKeyToken=null
[6/2/2008 9:43:50 PM] Processing type: pre-commit
[6/2/2008 9:43:50 PM] Commit Paths: /dir1/trunk/dir2/
[6/2/2008 9:43:50 PM] Controlled Paths List: /
[6/2/2008 9:43:50 PM] Found Applicable RepoConfig: '/' with /dir1/trunk/dir2/
[6/2/2008 9:43:50 PM] LockedPaths :: No check elements found.
[6/2/2008 9:43:50 PM] Passed Folder Name Exclusion test.
[6/2/2008 9:43:50 PM] Passed File Type Exclusion test.
[6/2/2008 9:43:50 PM] Checking for FileTypeTag Requirements complete. Not Required.
[6/2/2008 9:43:50 PM] Checking for LogMessageCheck Requirements. Configs to check: 1
[6/2/2008 9:43:50 PM] LogMessageCheck checking log message: Last test I promise. Revision 127.
[6/2/2008 9:43:50 PM] LogMessageCheck file list: U dir1/trunk/dir2/filename.txt
[6/2/2008 9:43:50 PM] LogMessageCheck Commit Regex Found: L
[6/2/2008 9:43:50 PM] All Pre-commit checks passed.
[6/2/2008 9:43:50 PM] *************************
[6/2/2008 9:43:50 PM] Starting process for Revision 127 [X:/path/to/my/svn]
[6/2/2008 9:43:51 PM] Configuration file deserialized. Logging level set to: DEBUG
[6/2/2008 9:43:51 PM] SubversionNotify, Version=1.4.5.3, Culture=neutral, PublicKeyToken=null
[6/2/2008 9:43:51 PM] Processing type: post-commit
[6/2/2008 9:43:51 PM] InfoHeader :: Raw Header message -
firstname.lastname
2008-06-02 21:43:50 -0400 (Mon, 02 Jun 2008)
34
Last test I promise. Revision 127.
[6/2/2008 9:43:51 PM] Getting e-mail address for firstname.lastname from mydomain.local
[6/2/2008 9:43:51 PM] Found e-mail address for firstname.lastname: firstname.lastname@mydomain.net
[6/2/2008 9:43:51 PM] Controlled Paths List: /
[6/2/2008 9:43:51 PM] Found Applicable RepoConfig: '/' with /dir1/trunk/dir2/filename.txt
[6/2/2008 9:43:51 PM] HTML Message Generated
[6/2/2008 9:43:51 PM] Getting e-mail address for firstname.lastname from mydomain.local
[6/2/2008 9:43:51 PM] Found e-mail address for firstname.lastname: firstname.lastname@mydomain.net
[6/2/2008 9:43:51 PM] Generating e-mail message
[6/2/2008 9:43:51 PM] Controlled Paths List: /
[6/2/2008 9:43:51 PM] Found Applicable RepoConfig: '/' with /dir1/trunk/dir2/filename.txt
[6/2/2008 9:43:51 PM] EMail Addresses found:
[6/2/2008 9:43:51 PM] EMailGroup found:Management. Addresses added
[6/2/2008 9:43:51 PM] EMail Addresses captured: "user1" <user1@mydomain.local>; "user2" <user2@mydomain.local>; "user3" <user3@mydomain.local>
[6/2/2008 9:43:51 PM] Custom E-Mail Subject :: Format String Found: Revision #revision# Committed by #user# - Changes to #fileNames#
[6/2/2008 9:43:51 PM] Custom E-Mail Subject :: #revision# value: 127
[6/2/2008 9:43:51 PM] Custom E-Mail Subject :: #commitMessage# value: Last test I promise. Revision 127.
[6/2/2008 9:43:51 PM] Custom E-Mail Subject :: #user# value: firstname.lastname
[6/2/2008 9:43:51 PM] Custom E-Mail Subject :: FileListing value: dir1/trunk/dir2/filename.txt
[6/2/2008 9:43:51 PM] Custom E-Mail Subject :: #fileNames# value: /filename.txt
[6/2/2008 9:43:51 PM] Custom E-Mail Subject :: #filesWithPaths# value: dir1/trunk/dir2/filename.txt
[6/2/2008 9:43:51 PM] Custom E-Mail Subject :: Result: Revision 127 Committed by firstname.lastname - Changes to filename.txt
[6/2/2008 9:43:51 PM] Unable to send mail:
System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: An established connection was aborted by the software in your host machine domain.controller.ip.address:25
at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
at System.Net.Sockets.Socket.InternalConnect(EndPoint remoteEP)
at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Int32 timeout, Exception& exception)
--- End of inner exception stack trace ---
at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6, Int32 timeout)
at System.Net.PooledStream.Activate(Object owningObject, Boolean async, Int32 timeout, GeneralAsyncDelegate asyncCallback)
at System.Net.PooledStream.Activate(Object owningObject, GeneralAsyncDelegate asyncCallback)
at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
at System.Net.Mail.SmtpConnection.GetConnection(String host, Int32 port)
at System.Net.Mail.SmtpTransport.GetConnection(String host, Int32 port)
at System.Net.Mail.SmtpClient.GetConnection()
at System.Net.Mail.SmtpClient.Send(MailMessage message)
--- End of inner exception stack trace ---
at System.Net.Mail.SmtpClient.Send(MailMessage message)
at SubversionNotify.Program.PostCommitProcessing(HTMLProcessor proc, subversionNotifyConfig cfg, String logFileName, String baseFolder)
[6/2/2008 9:43:51 PM] Finished e-mail processing.
[6/2/2008 9:43:51 PM] HTML file written to C:\Program Files\SubversionNotify\log\Revision 127.html
[6/2/2008 9:43:51 PM] Finished processing Revision 127
No entries are being written to the Exchange log or the Event Viewer for the e-mail event. While it seems like this may be an Exchange configuration problem (outside the scope of SubversionNotify problems, I know), does anyone have any ideas on how I can remedy the problem?
Thanks in advance for any help!
Brett
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
McAfee was the problem. I followed the instructions on the MSDN post and all works well. Originally the emails were never leaving my machine due to the McAfee configuration.
I have put in the exception, and all is well. Thanks for the help--the emails look great!
Brett
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
After resolving the issue mentioned in the "ControlledPaths Problem" thread, I have now run into the following problem. Below is a copy of the log file generated by SubversionNotify.
I am running a Win2003 SBS and trying to send the email through MSExchange. SubversionNotify is attempting to send the e-mail from another networked element to the domain controller running Exchange.
[6/2/2008 9:43:50 PM] *************************
[6/2/2008 9:43:50 PM] Starting process for Revision 126-1 [X:/path/to/my/svn]
[6/2/2008 9:43:50 PM] Configuration file deserialized. Logging level set to: DEBUG
[6/2/2008 9:43:50 PM] SubversionNotify, Version=1.4.5.3, Culture=neutral, PublicKeyToken=null
[6/2/2008 9:43:50 PM] Processing type: pre-commit
[6/2/2008 9:43:50 PM] Commit Paths: /dir1/trunk/dir2/
[6/2/2008 9:43:50 PM] Controlled Paths List: /
[6/2/2008 9:43:50 PM] Found Applicable RepoConfig: '/' with /dir1/trunk/dir2/
[6/2/2008 9:43:50 PM] LockedPaths :: No check elements found.
[6/2/2008 9:43:50 PM] Passed Folder Name Exclusion test.
[6/2/2008 9:43:50 PM] Passed File Type Exclusion test.
[6/2/2008 9:43:50 PM] Checking for FileTypeTag Requirements complete. Not Required.
[6/2/2008 9:43:50 PM] Checking for LogMessageCheck Requirements. Configs to check: 1
[6/2/2008 9:43:50 PM] LogMessageCheck checking log message: Last test I promise. Revision 127.
[6/2/2008 9:43:50 PM] LogMessageCheck file list: U dir1/trunk/dir2/filename.txt
[6/2/2008 9:43:50 PM] LogMessageCheck Commit Regex Found: L
[6/2/2008 9:43:50 PM] All Pre-commit checks passed.
[6/2/2008 9:43:50 PM] *************************
[6/2/2008 9:43:50 PM] Starting process for Revision 127 [X:/path/to/my/svn]
[6/2/2008 9:43:51 PM] Configuration file deserialized. Logging level set to: DEBUG
[6/2/2008 9:43:51 PM] SubversionNotify, Version=1.4.5.3, Culture=neutral, PublicKeyToken=null
[6/2/2008 9:43:51 PM] Processing type: post-commit
[6/2/2008 9:43:51 PM] InfoHeader :: Raw Header message -
firstname.lastname
2008-06-02 21:43:50 -0400 (Mon, 02 Jun 2008)
34
Last test I promise. Revision 127.
[6/2/2008 9:43:51 PM] Getting e-mail address for firstname.lastname from mydomain.local
[6/2/2008 9:43:51 PM] Found e-mail address for firstname.lastname: firstname.lastname@mydomain.net
[6/2/2008 9:43:51 PM] Controlled Paths List: /
[6/2/2008 9:43:51 PM] Found Applicable RepoConfig: '/' with /dir1/trunk/dir2/filename.txt
[6/2/2008 9:43:51 PM] HTML Message Generated
[6/2/2008 9:43:51 PM] Getting e-mail address for firstname.lastname from mydomain.local
[6/2/2008 9:43:51 PM] Found e-mail address for firstname.lastname: firstname.lastname@mydomain.net
[6/2/2008 9:43:51 PM] Generating e-mail message
[6/2/2008 9:43:51 PM] Controlled Paths List: /
[6/2/2008 9:43:51 PM] Found Applicable RepoConfig: '/' with /dir1/trunk/dir2/filename.txt
[6/2/2008 9:43:51 PM] EMail Addresses found:
[6/2/2008 9:43:51 PM] EMailGroup found:Management. Addresses added
[6/2/2008 9:43:51 PM] EMail Addresses captured: "user1" <user1@mydomain.local>; "user2" <user2@mydomain.local>; "user3" <user3@mydomain.local>
[6/2/2008 9:43:51 PM] Custom E-Mail Subject :: Format String Found: Revision #revision# Committed by #user# - Changes to #fileNames#
[6/2/2008 9:43:51 PM] Custom E-Mail Subject :: #revision# value: 127
[6/2/2008 9:43:51 PM] Custom E-Mail Subject :: #commitMessage# value: Last test I promise. Revision 127.
[6/2/2008 9:43:51 PM] Custom E-Mail Subject :: #user# value: firstname.lastname
[6/2/2008 9:43:51 PM] Custom E-Mail Subject :: FileListing value: dir1/trunk/dir2/filename.txt
[6/2/2008 9:43:51 PM] Custom E-Mail Subject :: #fileNames# value: /filename.txt
[6/2/2008 9:43:51 PM] Custom E-Mail Subject :: #filesWithPaths# value: dir1/trunk/dir2/filename.txt
[6/2/2008 9:43:51 PM] Custom E-Mail Subject :: Result: Revision 127 Committed by firstname.lastname - Changes to filename.txt
[6/2/2008 9:43:51 PM] Unable to send mail:
System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: An established connection was aborted by the software in your host machine domain.controller.ip.address:25
at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
at System.Net.Sockets.Socket.InternalConnect(EndPoint remoteEP)
at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Int32 timeout, Exception& exception)
--- End of inner exception stack trace ---
at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6, Int32 timeout)
at System.Net.PooledStream.Activate(Object owningObject, Boolean async, Int32 timeout, GeneralAsyncDelegate asyncCallback)
at System.Net.PooledStream.Activate(Object owningObject, GeneralAsyncDelegate asyncCallback)
at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
at System.Net.Mail.SmtpConnection.GetConnection(String host, Int32 port)
at System.Net.Mail.SmtpTransport.GetConnection(String host, Int32 port)
at System.Net.Mail.SmtpClient.GetConnection()
at System.Net.Mail.SmtpClient.Send(MailMessage message)
--- End of inner exception stack trace ---
at System.Net.Mail.SmtpClient.Send(MailMessage message)
at SubversionNotify.Program.PostCommitProcessing(HTMLProcessor proc, subversionNotifyConfig cfg, String logFileName, String baseFolder)
[6/2/2008 9:43:51 PM] Finished e-mail processing.
[6/2/2008 9:43:51 PM] HTML file written to C:\Program Files\SubversionNotify\log\Revision 127.html
[6/2/2008 9:43:51 PM] Finished processing Revision 127
No entries are being written to the Exchange log or the Event Viewer for the e-mail event. While it seems like this may be an Exchange configuration problem (outside the scope of SubversionNotify problems, I know), does anyone have any ideas on how I can remedy the problem?
Thanks in advance for any help!
Brett
Brett,
Check out this MSDN forum post. Sounds like it might be a firewall or antivirus issue?
Mike
Ok, here is the actual link to that post :-)
http://forums.msdn.microsoft.com/en-US/netfxnetcom/thread/17e3f2c9-c3f8-4531-b251-11fafe46ec14
Mike--
McAfee was the problem. I followed the instructions on the MSDN post and all works well. Originally the emails were never leaving my machine due to the McAfee configuration.
I have put in the exception, and all is well. Thanks for the help--the emails look great!
Brett