Rank: Member
Joined: 7/28/2006(UTC) Posts: 79
|
Hi, Any idea what this is? (seeing the error in the event log but not after any specific action I can see) [table id=ctl00_MainContent_gvEvents style="WIDTH: 100%; BORDER-COLLAPSE: collapse" cellSpacing=0 cellPadding=5 border=0] [tr ][td ] [/td][td vAlign=top align=middle]<input id=ctl00_MainContent_gvEvents_ctl03_btnDelete title=Delete style="BORDER-TOP-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-RIGHT-WIDTH: 0px" onclick="return window.confirm('Are you sure you want to clear this event?');" type=image src="http://www.capital-collection.co.uk/bvadmin/images/buttons/Delete.png" name=ctl00$MainContent$gvEvents$ctl03$btnDelete> [/td][td vAlign=top align=left]17/04/2007 09:46:29[/td][td vAlign=top align=left]System.Xml[/td][td vAlign=top align=left]There is an error in XML document (0, 0).[ at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events) at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle) at System.Xml.Serialization.XmlSerializer.Deserialize(TextReader textReader) at BVSoftware.Bvc5.Core.Utilities.SortableCollection`1.FromXml(String data) ][/td][/tr][/table]
|
|
|
|
Rank: Member
Joined: 3/1/2006(UTC) Posts: 1,142
|
Not sure what it is, but we will look into it. |
Justin Etheredge Senior Software Engineer BVSoftware |
|
|
|
Rank: Member
Joined: 10/11/2006(UTC) Posts: 26
|
Any update on this? i've got 54 pages of System.Xml errors in the Event Log about 5 minutes after clearing the log. Yet there have been no issues and nothing has gone wrong. Here's the exact details of the error message:
There is an error in XML document (0, 0).[ at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events) at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle) at System.Xml.Serialization.XmlSerializer.Deserialize(TextReader textReader) at BVSoftware.Bvc5.Core.CustomizableBusinessEntityBase.CustomPropertiesFromXml(String data) in C:\projects\rrf\BVSoftware.Bvc5.Core\CustomizableBusinessEntityBase.vb:line 104 ]
EDIT: I should note that though I found this post in the Pre SP2 forum, I am running SP2 and it's still happening.
|
|
|
|
Rank: Member
Joined: 8/17/2006(UTC) Posts: 681
|
You get that when you have empty strings in the database in the CustomProperties field of different tables. BVC should change their method: public bool CustomPropertiesFromXml(string data) to add a check for null or empty for the string before trying to deserialize it. Regards, Corneliu. |
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.