Select the search type
  • Site
  • Web
Search
You are here:  Support/Forums
Support

Bring2mind Forums

Exception sending email at end of upload
Last Post 05/28/2008 10:29 PM by Peter Donker. 3 Replies.
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
Thierry Lach
New Member
New Member
Posts:25


--
05/05/2008 11:04 PM

 

Were running DMX 4.6.2 and DMX 4.2.0.

We're getting the following exception when uploading files.  It consistenly happens on large files, but is sporadic on smaller files.   We have uploaded large files to this folder previously with no problems.

This is in a folder which we're going to use to test uploading and downloading large files as part of verifying the DMX 4.2.2 update.  I've looked at the notification templates from the DMX admin option and don't see anything specifically wrong with them.  It does not seem to be user-specific.

Any pointers as to what might be the issue?

 

AssemblyVersion: 04.06.02
PortalID: 0
PortalName: Shows & Presentations
UserID: 1
UserName: bbdohost
ActiveTabID: 156
ActiveTabName: Test Uploads
RawURL: /showsportal/ShowsPresentations/TestUploads/tabid/156/Default.aspx?Command=Core_Edit&CollectionId=ent3565&RadUrid=460be339-0cef-48fc-abfe-0edbd91d481d
AbsoluteURL: /showsportal/Default.aspx
AbsoluteURLReferrer: http://??????????????????...fc-abfe-0edbd91d481d
UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 6c970557-f0ca-40a5-a179-0a9db3bd7069
InnerException: An error occurred while making the email. Please verify the notification template. Error: An error occurred while parsing EntityName. Line 1, position 550. in at System.Xml.XmlTextReaderImpl.Throw(Exception e) at System.Xml.XmlTextReaderImpl.Throw(String res, Int32 lineNo, Int32 linePos) at System.Xml.XmlTextReaderImpl.HandleEntityReference(Boolean isInAttributeValue, EntityExpandType expandType, Int32& charRefEndPos) at System.Xml.XmlTextReaderImpl.ParseText(Int32& startPos, Int32& endPos, Int32& outOrChars) at System.Xml.XmlTextReaderImpl.FinishPartialValue() at System.Xml.XmlTextReaderImpl.get_Value() at System.Xml.XPath.XPathDocument.LoadFromReader(XmlReader reader, XmlSpace space) at System.Xml.XPath.XPathDocument..ctor(XmlReader reader, XmlSpace space) at System.Xml.Xsl.Runtime.XmlQueryContext.ConstructDocument(Object dataSource, String uriRelative, Uri uriResolved) at System.Xml.Xsl.Runtime.XmlQueryContext..ctor(XmlQueryRuntime runtime, Object defaultDataSource, XmlResolver dataSources, XsltArgumentList argList, WhitespaceRuleLookup wsRules) at System.Xml.Xsl.Runtime.XmlQueryRuntime..ctor(XmlQueryStaticData data, Object defaultDataSource, XmlResolver dataSources, XsltArgumentList argList, XmlSequenceWriter seqWrt) at System.Xml.Xsl.XmlILCommand.Execute(Object defaultDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlSequenceWriter results) at System.Xml.Xsl.XmlILCommand.Execute(Object defaultDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlWriter writer, Boolean closeWriter) at System.Xml.Xsl.XmlILCommand.Execute(XmlReader contextDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlWriter results) at System.Xml.Xsl.XslCompiledTransform.Transform(XmlReader input, XsltArgumentList arguments, XmlWriter results) at Bring2mind.DNN.Modules.DMX.Services.Notification.Notification.Send(Boolean ccToAdmin)
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: Bring2mind.DNN.Modules.DMX.Services.Notification.Notification.Send
StackTrace:
Message: DotNetNuke.Services.Exceptions.PageLoadException: An error occurred while making the email. Please verify the notification template. Error: An error occurred while parsing EntityName. Line 1, position 550. in at System.Xml.XmlTextReaderImpl.Throw(Exception e) at System.Xml.XmlTextReaderImpl.Throw(String res, Int32 lineNo, Int32 linePos) at System.Xml.XmlTextReaderImpl.HandleEntityReference(Boolean isInAttributeValue, EntityExpandType expandType, Int32& charRefEndPos) at System.Xml.XmlTextReaderImpl.ParseText(Int32& startPos, Int32& endPos, Int32& outOrChars) at System.Xml.XmlTextReaderImpl.FinishPartialValue() at System.Xml.XmlTextReaderImpl.get_Value() at System.Xml.XPath.XPathDocument.LoadFromReader(XmlReader reader, XmlSpace space) at System.Xml.XPath.XPathDocument..ctor(XmlReader reader, XmlSpace space) at System.Xml.Xsl.Runtime.XmlQueryContext.ConstructDocument(Object dataSource, String uriRelative, Uri uriResolved) at System.Xml.Xsl.Runtime.XmlQueryContext..ctor(XmlQueryRuntime runtime, Object defaultDataSource, XmlResolver dataSources, XsltArgumentList argList, WhitespaceRuleLookup wsRules) at System.Xml.Xsl.Runtime.XmlQueryRuntime..ctor(XmlQueryStaticData data, Object defaultDataSource, XmlResolver dataSources, XsltArgumentList argList, XmlSequenceWriter seqWrt) at System.Xml.Xsl.XmlILCommand.Execute(Object defaultDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlSequenceWriter results) at System.Xml.Xsl.XmlILCommand.Execute(Object defaultDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlWriter writer, Boolean closeWriter) at System.Xml.Xsl.XmlILCommand.Execute(XmlReader contextDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlWriter results) at System.Xml.Xsl.XslCompiledTransform.Transform(XmlReader input, XsltArgumentList arguments, XmlWriter results) at Bring2mind.DNN.Modules.DMX.Services.Notification.Notification.Send(Boolean ccToAdmin) ---> System.Exception: An error occurred while making the email. Please verify the notification template. Error: An error occurred while parsing EntityName. Line 1, position 550. in at System.Xml.XmlTextReaderImpl.Throw(Exception e) at System.Xml.XmlTextReaderImpl.Throw(String res, Int32 lineNo, Int32 linePos) at System.Xml.XmlTextReaderImpl.HandleEntityReference(Boolean isInAttributeValue, EntityExpandType expandType, Int32& charRefEndPos) at System.Xml.XmlTextReaderImpl.ParseText(Int32& startPos, Int32& endPos, Int32& outOrChars) at System.Xml.XmlTextReaderImpl.FinishPartialValue() at System.Xml.XmlTextReaderImpl.get_Value() at System.Xml.XPath.XPathDocument.LoadFromReader(XmlReader reader, XmlSpace space) at System.Xml.XPath.XPathDocument..ctor(XmlReader reader, XmlSpace space) at System.Xml.Xsl.Runtime.XmlQueryContext.ConstructDocument(Object dataSource, String uriRelative, Uri uriResolved) at System.Xml.Xsl.Runtime.XmlQueryContext..ctor(XmlQueryRuntime runtime, Object defaultDataSource, XmlResolver dataSources, XsltArgumentList argList, WhitespaceRuleLookup wsRules) at System.Xml.Xsl.Runtime.XmlQueryRuntime..ctor(XmlQueryStaticData data, Object defaultDataSource, XmlResolver dataSources, XsltArgumentList argList, XmlSequenceWriter seqWrt) at System.Xml.Xsl.XmlILCommand.Execute(Object defaultDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlSequenceWriter results) at System.Xml.Xsl.XmlILCommand.Execute(Object defaultDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlWriter writer, Boolean closeWriter) at System.Xml.Xsl.XmlILCommand.Execute(XmlReader contextDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlWriter results) at System.Xml.Xsl.XslCompiledTransform.Transform(XmlReader input, XsltArgumentList arguments, XmlWriter results) at Bring2mind.DNN.Modules.DMX.Services.Notification.Notification.Send(Boolean ccToAdmin) at Bring2mind.DNN.Modules.DMX.Services.Notification.Notification.Send(Boolean ccToAdmin) at Bring2mind.DNN.Modules.DMX.Services.Notification.DNNNotificationProvider.SendNotification(Object PortalObject, PortalSettings DMXPortalSettings, EntryInfo& Entry, LogTypeInfo Operation, UserInfo& User, Dictionary`2& Addressees) at Bring2mind.DNN.Modules.DMX.Services.Notification.DNNNotificationProvider.Notify(PortalSettings& Portal, PortalSettings DMXPortalSettings, EntryInfo& Entry, LogTypeInfo Operation, UserInfo& User, Dictionary`2& Addressees) at Bring2mind.DNN.Modules.DMX.Services.Notification.NotificationController.Notify(PortalSettings& Portal, PortalSettings DMXPortalSettings, EntryInfo& Entry, String Operation, UserInfo& User, Boolean SendToSubscribers, Boolean SendToSelf) at Bring2mind.DNN.Modules.DMX.Services.Logging.LoggingController.LogAndNotify(PortalSettings& Portal, PortalSettings DMXPortalSettings, EntryInfo& Entry, String Operation, UserInfo& User, Boolean SendToSubscribers, Boolean SendNotificationToSelf) at Bring2mind.DNN.Modules.DMX.Services.Logging.LoggingController.LogAndNotify(PortalSettings& Portal, PortalSettings DMXPortalSettings, EntryInfo& Entry, String Operation, UserInfo& User) at Bring2mind.DNN.Modules.DMX.Controls.EditEntry.ᜀ(Object A_0, WizardNavigationEventArgs A_1) at System.Web.UI.WebControls.Wizard.OnFinishButtonClick(WizardNavigationEventArgs e) at System.Web.UI.WebControls.Wizard.OnBubbleEvent(Object source, EventArgs e) at System.Web.UI.WebControls.Wizard.WizardChildTable.OnBubbleEvent(Object source, EventArgs args) at System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) at System.Web.UI.WebControls.Button.OnCommand(CommandEventArgs e) at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) at System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---
Source:
Server Name: WS09WDET

Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
05/06/2008 9:55 PM
Hi Thierry,
Looks like an email template error. You might try removing the current ones (portals dir under DMX/NotificationTemplates) so they will be regenerated from the originals.
Peter
Thierry Lach
New Member
New Member
Posts:25


--
05/27/2008 8:33 PM
We didn't have time to dig through this a few weeks back so we just removed the notification from the one person who had it. Now I'm back onto this issue, and followed your instructions. The files in Portals\0\NotificationTemplates did in fact get recreated, but the same problem happened.

After looking into the templates and some experimentation, I determined that the problem was actually not the template, but with the data being substituted into it. Specifically, the portal name was "Shows & Presentations". Changing the name to "Shows and Presentations" was a workaround for us. The substitutions in the template probably should be escaped with the standard XML substitutions.
Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
05/28/2008 10:29 PM
Hi Thierry,

The upcoming v 4.3 of DMX will have a different email engine. Now that token replace has become powerful in DNN, I believe it is a better and more robust option.

Peter
You are not authorized to post a reply.