Groups > Application developers > Community Server Setup and Installation > Re: Exception Log / Mass Emailing not working




Exception Log / Mass Emailing not working

Exception Log / Mass Emailing not working
Mon, 5 Nov 2007 14:52:32 +0000
When attempting to send a mass email using CommunityServer 2007, I get the
following error:
Oops something went wrong!


Either the site is offline or an unhandled error occurred. We apologize and have
logged the error. Please try your request again or if you know who your site
administrator is let them know too.

But when I goto the Exception Log, nothing shows up.  I have no idea where to go
from here.  Suggestions?

As a temporary workaround I'm extracting emails from the system and using a mass
emailer program.  Currently there are less than 100, but copy/paste from HTML is
tedious.  Is there a feature that will create a email list report that I can
export into other programs?  Sure, I can write a SQL query, which I will do if I
can't get this resolved.
Post Reply
Re: Exception Log / Mass Emailing not working
Mon, 5 Nov 2007 17:24:46 +0000
Exception logging is disabled by default in CS2007.1, you'll have to open your
communityserver.config file and find a line saying enableExceptionLogging and
make sure it's value is set to true instead of false.  Also make sure when you
view the exceptions page, you tick 'show unhandled exceptions'

If you want to see the actual error instead of the 'oops' page, you can follow
the Disable Friendly Error Message Instructions at
http://docs.communityserver.org/wiki/page.aspx/391/how-do-i-get-the-underlying-e
rror-when-i-recieve-the-friendly-error-message/.  Make sure to undo the changes
you make once you've finished sorting the error out.

If after recieving the error you can't work out what the problem is, reply with
your error.
Post Reply
Re: Exception Log / Mass Emailing not working
Tue, 13 Nov 2007 23:37:17 +000
Thanks for the info.  I did not find the enableExceptionLogging in the config,
but by turning on remote errors I end up with this error:

 
Server Error in '/' Application. 

The specified string is not in the form required for a subject.


Description: An unhandled exception occurred during the execution of the current
web request. Please review the stack trace for more information about the error
and where it originated in the code. 

Exception Details: System.ArgumentException: The specified string is not in the
form required for a subject.

Source Error:

An unhandled exception was generated during the execution of the current web
request. Information regarding the origin and location of the exception can be
identified using the exception stack trace below.
Stack Trace:



[ArgumentException: The specified string is not in the form required for a
subject.]
   System.Net.Mail.Message.set_Subject(String value) +136
   System.Net.Mail.MailMessage.set_Subject(String value) +12
   Telligent.MailGateway.Common.Components.EmailTemplate.ParseTemplate() +258
   CommunityServer.MailRoom.Components.Emails.QueueMessage(MailMessage message)
+49
   CommunityServer.MailRoom.Components.Emails.QueueMessage(EmailTemplate
message, List`1 tokens) +30
   CommunityServer.MailRoom.Components.CommonEmails.UsersInRole(Guid roleID,
Post post) +486
   CommunityServer.ControlPanel.Tools.MassEmailingAdmin.Send(Post post) +98
   CommunityServer.ControlPanel.Tools.MassEmailingAdmin.SendButton_Click(Object
sender, EventArgs e) +207
   System.Web.UI.WebControls.LinkButton.OnClick(EventArgs e) +104
   System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument)
+107
  
System.Web.UI.WebControls.LinkButton.System.Web.UI.IPostBackEventHandler.RaisePo
stBackEvent(String eventArgument) +7
   System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl,
String eventArgument) +11
   System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +172
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint,
Boolean includeStagesAfterAsyncPoint) +5615



Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET
Version:2.0.50727.42
Post Reply
Re: Exception Log / Mass Emailing not working
Wed, 14 Nov 2007 23:06:52 +000
Flyguy,

Is this a non-English install?  Sounds like an encoding issue.  Did you see what
was in the EmailXml field of the mg_EmailQueue table?

Regards,
Dave
Post Reply
Re: Exception Log / Mass Emailing not working
Tue, 27 Nov 2007 22:45:29 +000
There are no records in the mg_EmailQueue installation.  This is pretty much a
fresh installation of Community Server with very little changes to it.  It's an
english installation.  www.wmassdotorg.com is the domain.

Thanks for your help.
-Bill
Post Reply
<< Previous 1 2 Next >>
( Page 1 of 2 )
about | contact