Windows Develop Bookmark and Share   
 index > Windows Forms Designer > Windows Form Design Time Error
 

Windows Form Design Time Error

Hello,

i'm developing app for Pocket Pc and I'm using VS2008.

I have this problem, when i'm saving my project it gives me the folowing error:

An error occurred while parsing EntityName. Line 2, position 46.

at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.Throw(String res, String arg)
at System.Xml.XmlTextReaderImpl.ParseEntityName()
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.XmlTextReader.Read()
at Microsoft.CompactFramework.Design.DeviceTypeResolutionService.GeneratedAssemblyEntry.RealizeMoniker(String moniker)
at Microsoft.CompactFramework.Design.DeviceTypeResolutionService.GeneratedAssemblyEntry.get_FileName()
at Microsoft.CompactFramework.Design.DeviceTypeResolutionService.AssemblyEntry.get_ReflectAssemblyName()
at Microsoft.CompactFramework.Design.DeviceTypeResolutionService.AssemblyEntry.Search(String fullName, String typeName, Boolean ignoreTypeCase, Boolean reflectionBased, Assembly& assembly, String description)
at Microsoft.CompactFramework.Design.DeviceTypeResolutionService.SearchGeneratedEntries(AssemblyName assemblyName, String typeName, Boolean ignoreTypeCase, Boolean reflectionBased, Assembly& assembly)
at Microsoft.CompactFramework.Design.DeviceTypeResolutionService.SearchEntries(AssemblyName assemblyName, String typeName, Boolean ignoreCase, Boolean reflectionBased, Assembly& assembly, ReferenceType refType)
at Microsoft.CompactFramework.Design.DeviceTypeResolutionService.SearchEntries(AssemblyName assemblyName, String typeName, Boolean ignoreTypeCase, Boolean reflectionBased, Assembly& assembly)
at Microsoft.CompactFramework.Design.DeviceTypeResolutionService.GetDeviceType(String typeName, Boolean throwOnError, Boolean ignoreCase)
at Microsoft.CompactFramework.Design.DeviceTypeResolutionService.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase, ReferenceType refType)
at Microsoft.VisualStudio.Design.Serialization.CodeDom.AggregateTypeResolutionService.GetType(String name, Boolean throwOnError, Boolean ignoreCase)
at Microsoft.VisualStudio.Design.Serialization.CodeDom.AggregateTypeResolutionService.GetType(String name)
at System.ComponentModel.Design.DesignerHost.System.ComponentModel.Design.IDesignerHost.GetType(String typeName)
at System.ComponentModel.Design.Serialization.CodeDomDesignerLoader.EnsureDocument(IDesignerSerializationManager manager)
at System.ComponentModel.Design.Serialization.CodeDomDesignerLoader.PerformLoad(IDesignerSerializationManager manager)
at Microsoft.VisualStudio.Design.Serialization.CodeDom.VSCodeDomDesignerLoader.PerformLoad(IDesignerSerializationManager serializationManager)
at System.ComponentModel.Design.Serialization.BasicDesignerLoader.BeginLoad(IDesignerLoaderHost host)

Can you help to handle this thanks for your coloporation.
georgicool  Saturday, October 11, 2008 2:11 PM

Hi

Just see whether it works when you rebuild all you components and solution..

if not then please try this out.

close all your .Net IDE's and and reset your devenv...

It from visual studio command prompt which you can access it...

Start->Program files->Microsoft Visual Studio 2005-> Tools->Visual studio Command prompt..

approximately you will find it here..

Just open it and type this command..... Devenv /ResetSkipPkgs

This will reset your IDE...

Then open your application rebild all solution then open the form..

Hope this will work you out..'

Sreenath G V  Friday, October 17, 2008 9:33 AM
georgicool wrote:

Hello,

i'm developing app for Pocket Pc and I'm using VS2008.

I have this problem, when i'm saving my project it gives me the folowing error:

An error occurred while parsing EntityName. Line 2, position 46.

at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.Throw(String res, String arg)
at System.Xml.XmlTextReaderImpl.ParseEntityName()
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.XmlTextReader.Read()
at Microsoft.CompactFramework.Design.DeviceTypeResolutionService.GeneratedAssemblyEntry.RealizeMoniker(String moniker)
at Microsoft.CompactFramework.Design.DeviceTypeResolutionService.GeneratedAssemblyEntry.get_FileName()
at Microsoft.CompactFramework.Design.DeviceTypeResolutionService.AssemblyEntry.get_ReflectAssemblyName()
at Microsoft.CompactFramework.Design.DeviceTypeResolutionService.AssemblyEntry.Search(String fullName, String typeName, Boolean ignoreTypeCase, Boolean reflectionBased, Assembly& assembly, String description)
at Microsoft.CompactFramework.Design.DeviceTypeResolutionService.SearchGeneratedEntries(AssemblyName assemblyName, String typeName, Boolean ignoreTypeCase, Boolean reflectionBased, Assembly& assembly)
at Microsoft.CompactFramework.Design.DeviceTypeResolutionService.SearchEntries(AssemblyName assemblyName, String typeName, Boolean ignoreCase, Boolean reflectionBased, Assembly& assembly, ReferenceType refType)
at Microsoft.CompactFramework.Design.DeviceTypeResolutionService.SearchEntries(AssemblyName assemblyName, String typeName, Boolean ignoreTypeCase, Boolean reflectionBased, Assembly& assembly)
at Microsoft.CompactFramework.Design.DeviceTypeResolutionService.GetDeviceType(String typeName, Boolean throwOnError, Boolean ignoreCase)
at Microsoft.CompactFramework.Design.DeviceTypeResolutionService.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase, ReferenceType refType)
at Microsoft.VisualStudio.Design.Serialization.CodeDom.AggregateTypeResolutionService.GetType(String name, Boolean throwOnError, Boolean ignoreCase)
at Microsoft.VisualStudio.Design.Serialization.CodeDom.AggregateTypeResolutionService.GetType(String name)
at System.ComponentModel.Design.DesignerHost.System.ComponentModel.Design.IDesignerHost.GetType(String typeName)
at System.ComponentModel.Design.Serialization.CodeDomDesignerLoader.EnsureDocument(IDesignerSerializationManager manager)
at System.ComponentModel.Design.Serialization.CodeDomDesignerLoader.PerformLoad(IDesignerSerializationManager manager)
at Microsoft.VisualStudio.Design.Serialization.CodeDom.VSCodeDomDesignerLoader.PerformLoad(IDesignerSerializationManager serializationManager)
at System.ComponentModel.Design.Serialization.BasicDesignerLoader.BeginLoad(IDesignerLoaderHost host)

Can you help to handle this thanks for your coloporation.

Yup, we have no idea. Post the code associated with the errorand any error messages. Check for any events that might be firing, too.

Rudedog2  Monday, October 13, 2008 12:40 AM
This might be something wrong with your XML. Your code snippet and the xml file used will be helpful for anykind of suggestions.
Sakthi,,  Wednesday, October 15, 2008 8:06 AM

Hi

Just see whether it works when you rebuild all you components and solution..

if not then please try this out.

close all your .Net IDE's and and reset your devenv...

It from visual studio command prompt which you can access it...

Start->Program files->Microsoft Visual Studio 2005-> Tools->Visual studio Command prompt..

approximately you will find it here..

Just open it and type this command..... Devenv /ResetSkipPkgs

This will reset your IDE...

Then open your application rebild all solution then open the form..

Hope this will work you out..'

Sreenath G V  Friday, October 17, 2008 9:33 AM

You can use google to search for other answers

Custom Search

More Threads

• Delete or Reset User ApplicationSettings
• Why "PropertyBinding" dosen't work with the "Checked" property of "ToolStripMenuItem"?
• ListView columns property is readonly and disabled in Form designer
• Organizing the solution
• same class- different constructors
• panel anchor bug
• Font Change
• Anyone have components to sell?
• Strange Behaviour of Combobox created as Custom by inheriting from Actual
• A designer like the MenuStrip or ContextStrip Desinger?