Opened 18 years ago
Last modified 17 years ago
#157 closed defect (fixed)
BZ142 Changing the name of a nested copy of a New List folder gave an XML error
| Reported by: | Mark J. Millard | Owned by: | Pete Cyr |
|---|---|---|---|
| Priority: | trivial | Milestone: | Beta 2 |
| Component: | Curator Tool | Version: | Beta 1 |
| Severity: | normal | Keywords: | CC1 Client Component 1 |
| Cc: | lisa.burke@… | Database Engine: | N/A |
| Operating System: | N/A |
Description
I was trying to rapidly create a bunch of lists to try duplicating an error
that appears to have happend 2009-04-19 on V1.0.3393.34341 connected to DEV2.
i started by making a tab 2009-04-19. Then making a folder 2009-04-19. Then
making a new list under this folder and then using the search engine to come up
with all Cuphia in the Small Database on DEV2. Took time but went ok. Then I
copied the new list and pasted to the new list. It appears to have worked ok
there was a new list with the same 224. I then tried to change the name to New
List1. I got an error. I closed the client and opened again. I then tried to
rename the nested new list to new list 2. I got an unahandled exception that
said:
There is an error in XML document (8,3)
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
Exception Text
System.InvalidOperationException: There is an error in XML document (8, 3).
---> System.Xml.XmlException: Unexpected XML declaration. The XML declaration
must be the first node in the document, and no white space characters are
allowed to appear before it. Line 8, position 3.
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.Throw(String res, String arg)
at System.Xml.XmlTextReaderImpl.ParsePI(BufferBuilder piInDtdStringBuilder)
at System.Xml.XmlTextReaderImpl.ParseElementContent()
at System.Xml.XmlTextReaderImpl.Read()
at System.Xml.XmlTextReader.Read()
at System.Data.DataTextReader.Read()
at System.Data.XmlDataLoader.LoadColumn(DataColumn column, Object[]
foundColumns)
at System.Data.XmlDataLoader.LoadTable(DataTable table, Boolean isNested)
at System.Data.XmlDataLoader.LoadData(XmlReader reader)
at System.Data.DataSet.ReadXmlDiffgram(XmlReader reader)
at System.Data.DataSet.ReadXml(XmlReader reader, XmlReadMode mode, Boolean
denyResolving)
at System.Data.DataSet.ReadXmlSerializable(XmlReader reader)
at
System.Data.DataSet.System.Xml.Serialization.IXmlSerializable.ReadXml(XmlReader
reader)
at
System.Xml.Serialization.XmlSerializationReader.ReadSerializable(IXmlSerializable
serializable, Boolean wrappedAny)
at
System.Xml.Serialization.XmlSerializationReader.ReadSerializable(IXmlSerializable
serializable)
at
Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderGUI.Read9_GetDataResponse()
at
Microsoft.Xml.Serialization.GeneratedAssembly.ArrayOfObjectSerializer15.Deserialize(XmlSerializationReader
reader)
at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader,
String encodingStyle, XmlDeserializationEvents events)
--- End of inner exception stack trace ---
at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader,
String encodingStyle, XmlDeserializationEvents events)
at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader,
String encodingStyle)
at
System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage
message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String
methodName, Object[] parameters)
at GrinGlobal.Client.GrinGlobalGUIWebServices.GUI.GetData(Boolean
suppressExceptions, String userName, String password, String
resultsetNameOrSql, String delimitedParameterList, Int32 offset, Int32 limit)
at GrinGlobal.Client.GrinGlobalClient.GetLists(String cooperatorID)
at GrinGlobal.Client.GrinGlobalClient.RenameTreeNodes(String SourceTab,
TreeNode SourceNode, String DestinationTab, String DestinationName)
at GrinGlobal.Client.GrinGlobalClient.treeView_AfterLabelEdit(Object sender,
at System.Windows.Forms.TreeView.OnAfterLabelEdit(NodeLabelEditEventArgs e)
at System.Windows.Forms.TreeView.TvnEndLabelEdit(NMTVDISPINFO nmtvdi)
at System.Windows.Forms.TreeView.WmNotify(Message& m)
at System.Windows.Forms.TreeView.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr
wparam, IntPtr lparam)
Loaded Assemblies
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3082 (QFE.050727-3000)
CodeBase: file:///c:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
GrinGlobal.Client
Assembly Version: 1.0.3393.34341
Win32 Version: 1.0.3393
CodeBase:
file:///C:/Program%20Files/GRIN-Global/Curator%20Tool/GrinGlobal.Client.exe
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase:
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
System.Data
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase:
file:///C:/WINDOWS/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3082 (QFE.050727-3000)
CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
System.Web.Services
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase:
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase:
gv6-rsz2
Assembly Version: 1.0.3393.34341
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
System.Core
Assembly Version: 3.5.0.0
Win32 Version: 3.5.30729.1 built by: SP
CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll
System.Transactions
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase:
System.EnterpriseServices
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase:
JIT Debugging
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
Change History (3)
comment:1 by , 18 years ago
comment:2 by , 18 years ago
This was fixed by designating what the primary key is for the row in the
resultset definition. This is fixed on Dev1, Dev2, and the standalone .iso
installer database.
comment:3 by , 17 years ago
| Summary: | Changing the name of a nested copy of a New List folder gave an XML error → BZ142 Changing the name of a nested copy of a New List folder gave an XML error |
|---|

Closed and tried to create a new tab with a new list and got another XML error:
I made a copy of my usersettings xml both during the .net error and after
closing the application. I then deleted my usersettings.xml
There is an error in XML document (1,292647941)
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
Exception Text
System.InvalidOperationException: There is an error in XML document (1,
292647941). ---> System.Xml.XmlException: '/' is an unexpected token. The
expected token is '>'. Line 1, position 292647941.
String expectedToken2)
expectedToken1, String expectedToken2)
foundColumns)
denyResolving)
System.Data.DataSet.System.Xml.Serialization.IXmlSerializable.ReadXml(XmlReader
reader)
System.Xml.Serialization.XmlSerializationReader.ReadSerializable(IXmlSerializable
serializable, Boolean wrappedAny)
System.Xml.Serialization.XmlSerializationReader.ReadSerializable(IXmlSerializable
serializable)
Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderGUI.Read9_GetDataResponse()
Microsoft.Xml.Serialization.GeneratedAssembly.ArrayOfObjectSerializer15.Deserialize(XmlSerializationReader
reader)
String encodingStyle, XmlDeserializationEvents events)
String encodingStyle, XmlDeserializationEvents events)
String encodingStyle)
System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage
message, WebResponse response, Stream responseStream, Boolean asyncCall)
methodName, Object[] parameters)
suppressExceptions, String userName, String password, String
resultsetNameOrSql, String delimitedParameterList, Int32 offset, Int32 limit)
TreeNode SourceNode, String DestinationTab, String DestinationName)
TreeNode SourceNode, String DestinationTab, String DestinationName)
NodeLabelEditEventArgs e)
wparam, IntPtr lparam)
Loaded Assemblies
mscorlib
GrinGlobal.Client
file:///C:/Program%20Files/GRIN-Global/Curator%20Tool/GrinGlobal.Client.exe
System.Windows.Forms
file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
System
file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
System.Drawing
file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
System.Data
file:///C:/WINDOWS/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
System.Xml
file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
System.Web.Services
file:///C:/WINDOWS/assembly/GAC_MSIL/System.Web.Services/2.0.0.0__b03f5f7f11d50a3a/System.Web.Services.dll
System.Configuration
file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
ri3srfko
file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
System.Core
file:///C:/WINDOWS/assembly/GAC_MSIL/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll
System.Transactions
file:///C:/WINDOWS/assembly/GAC_32/System.Transactions/2.0.0.0__b77a5c561934e089/System.Transactions.dll
System.EnterpriseServices
file:///C:/WINDOWS/assembly/GAC_32/System.EnterpriseServices/2.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll
JIT Debugging
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
<configuration>
</configuration>
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.