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

Bring2mind Forums

Problem using DMX 4.02
Last Post 03/04/2008 12:06 AM by Peter Donker. 1 Replies.
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
Parmentier Frederik
New Member
New Member
Posts:1


--
02/28/2008 1:23 PM

This morning we suddenly got the next error: Critical error - Reference to undeclared entity 'dIuc'. Line 38, position 83.

If we look at the eventviewer of DNN:

General exception:
AssemblyVersion: 04.05.05
PortalID: 0
PortalName: AZ DAMIAAN
UserID: 1
UserName: host
ActiveTabID: 93
ActiveTabName: Documenten
RawURL: /dnn/eBib/Documenten/tabid/93/Default.aspx
AbsoluteURL: /DNN/Default.aspx
AbsoluteURLReferrer:
UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.2; .NET CLR 1.1.4322; .NET CLR 2.0.50727)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 7b7c8544-bcd5-4f92-b30b-20f15b8d988b
InnerException: Reference to undeclared entity 'dIuc'. Line 38, position 83.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.Xml.XmlTextReaderImpl.Throw
StackTrace:
Message: System.Xml.XmlException: Reference to undeclared entity 'dIuc'. Line 38, position 83. at System.Xml.XmlTextReaderImpl.Throw(Exception e) at System.Xml.XmlTextReaderImpl.HandleGeneralEntityReference(String name, Boolean isInAttributeValue, Boolean pushFakeEntityIfNullResolver, Int32 entityStartLinePos) at System.Xml.XmlTextReaderImpl.HandleEntityReference(Boolean isInAttributeValue, EntityExpandType expandType, Int32& charRefEndPos) at System.Xml.XmlTextReaderImpl.ParseAttributeValueSlow(Int32 curPos, Char quoteChar, NodeData attr) at System.Xml.XmlTextReaderImpl.ParseAttributes() at System.Xml.XmlTextReaderImpl.ParseElement() at System.Xml.XmlTextReaderImpl.ParseElementContent() at System.Xml.XmlTextReaderImpl.Read() at System.Xml.XmlLoader.LoadNode(Boolean skipOverWhitespace) at System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc) at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace) at System.Xml.XmlDocument.Load(XmlReader reader) at System.Xml.XmlDocument.Load(String filename) at DotNetNuke.Common.Utilities.Config.Load(String filename) at DotNetNuke.Common.Utilities.Config.Load() at Bring2mind.DNN.Modules.DMX.Common.Settings.Configuration..ctor() at Bring2mind.DNN.Modules.DMX.Common.Settings.Configuration.GetConfiguration() at Bring2mind.DNN.Modules.DMX.Common.Settings.Settings..ctor(Int32 PortalId, Int32 ModuleId) at Bring2mind.DNN.Modules.DMX.Framework.ModuleBase.get_Settings() at Bring2mind.DNN.Modules.DMX.Framework.ModuleBase.get_Query() at Bring2mind.DNN.Modules.DMX.Dispatch.ᜀ(Object A_0, EventArgs A_1) at System.EventHandler.Invoke(Object sender, EventArgs e) at System.Web.UI.Control.OnInit(EventArgs e) at System.Web.UI.UserControl.OnInit(EventArgs e) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.AddedControl(Control control, Int32 index) at System.Web.UI.ControlCollection.Add(Control child) at DotNetNuke.UI.Skins.Skin.InjectModule(Control objPane, ModuleInfo objModule, PortalSettings PortalSettings)

and


Page Load exception:
AssemblyVersion: 04.05.05
PortalID: 0
PortalName: AZ DAMIAAN
UserID: 1
UserName: host
ActiveTabID: 93
ActiveTabName: Documenten
RawURL: /dnn/eBib/Documenten/tabid/93/Default.aspx
AbsoluteURL: /DNN/Default.aspx
AbsoluteURLReferrer:
UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.2; .NET CLR 1.1.4322; .NET CLR 2.0.50727)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 7b7c8544-bcd5-4f92-b30b-20f15b8d988b
InnerException: Reference to undeclared entity 'dIuc'. Line 38, position 83.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.Xml.XmlTextReaderImpl.Throw
StackTrace:
Message: System.Xml.XmlException: Reference to undeclared entity 'dIuc'. Line 38, position 83. at System.Xml.XmlTextReaderImpl.Throw(Exception e) at System.Xml.XmlTextReaderImpl.HandleGeneralEntityReference(String name, Boolean isInAttributeValue, Boolean pushFakeEntityIfNullResolver, Int32 entityStartLinePos) at System.Xml.XmlTextReaderImpl.HandleEntityReference(Boolean isInAttributeValue, EntityExpandType expandType, Int32& charRefEndPos) at System.Xml.XmlTextReaderImpl.ParseAttributeValueSlow(Int32 curPos, Char quoteChar, NodeData attr) at System.Xml.XmlTextReaderImpl.ParseAttributes() at System.Xml.XmlTextReaderImpl.ParseElement() at System.Xml.XmlTextReaderImpl.ParseElementContent() at System.Xml.XmlTextReaderImpl.Read() at System.Xml.XmlLoader.LoadNode(Boolean skipOverWhitespace) at System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc) at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace) at System.Xml.XmlDocument.Load(XmlReader reader) at System.Xml.XmlDocument.Load(String filename) at DotNetNuke.Common.Utilities.Config.Load(String filename) at DotNetNuke.Common.Utilities.Config.Load() at Bring2mind.DNN.Modules.DMX.Common.Settings.Configuration..ctor() at Bring2mind.DNN.Modules.DMX.Common.Settings.Configuration.GetConfiguration() at Bring2mind.DNN.Modules.DMX.Common.Settings.Settings..ctor(Int32 PortalId, Int32 ModuleId) at Bring2mind.DNN.Modules.DMX.Framework.ModuleBase.get_Settings() at Bring2mind.DNN.Modules.DMX.Framework.ModuleBase.get_Query() at Bring2mind.DNN.Modules.DMX.Dispatch.ᜀ(Object A_0, EventArgs A_1) at System.EventHandler.Invoke(Object sender, EventArgs e) at System.Web.UI.Control.OnInit(EventArgs e) at System.Web.UI.UserControl.OnInit(EventArgs e) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.AddedControl(Control control, Int32 index) at System.Web.UI.ControlCollection.Add(Control child) at DotNetNuke.UI.Skins.Skin.InjectModule(Control objPane, ModuleInfo objModule, PortalSettings PortalSettings)

Any idea?

Parmentier Frederik

 

Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
03/04/2008 12:06 AM
This turned out to be an issue with the web.config. The SQL server password contained an ampersand ('&') which, although fine for IIS, makes it invalid XML. This will throw off all code that reads the web.config as XML. DMX has a config manipulation class that inherits from the DNN class. The latter reads the web.config as XML and threw the error.

Peter
You are not authorized to post a reply.