SharpDevelop Community

Get your problems solved!
Welcome to SharpDevelop Community Sign in | Join | Help
in Search

Problems after installation

Last post 08-23-2006 5:18 AM by dessaya. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 08-21-2006 8:30 PM

    Problems after installation

    Hi, all. I have just installed #Develop on my box. Installation goes fine, and the IDE launches without problems. But when I create a new solution I get the following exception:

    --------------- 

     .NET Version        : 2.0.50727.42
    OS Version           : Microsoft Windows NT 5.1.2600 Service Pack 2
    Current culture      : Spanish (Argentina) (es-AR)
    Current UI language  : es-ES
    Working Set Memory   : 39604kb
    SharpDevelop Version : 2.0.0.1591


    Exception thrown:
    System.Xml.XmlException: '', hexadecimal value 0x14, is an invalid character. Line 7693, position 336.
       at System.Xml.XmlTextReaderImpl.Throw(Exception e)
       at System.Xml.XmlTextReaderImpl.Throw(String res, String[] args)
       at System.Xml.XmlTextReaderImpl.ThrowInvalidChar(Int32 pos, Char invChar)
       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 System.Xml.XmlReader.WriteNode(XmlTextWriter xtw, Boolean defattr)
       at System.Xml.XmlReader.ReadInnerXml()
       at ICSharpCode.SharpDevelop.Dom.XmlDoc.ReadMembersSection(XmlTextReader reader)
       at ICSharpCode.SharpDevelop.Dom.XmlDoc.Load(TextReader textReader)
       at ICSharpCode.SharpDevelop.Dom.XmlDoc.Load(String fileName)
       at ICSharpCode.SharpDevelop.Dom.ReflectionProjectContent..ctor(String assemblyFullName, String assemblyLocation, AssemblyName[] referencedAssemblies)
       at ICSharpCode.SharpDevelop.Dom.ReflectionProjectContent..ctor(Assembly assembly, String assemblyLocation)
       at ICSharpCode.Core.ProjectContentRegistry.GetProjectContentForReference(ReferenceProjectItem item)
       at ICSharpCode.Core.ParseProjectContent.AddReference(ReferenceProjectItem reference, Boolean updateInterDependencies)
     -----------

     

    Also, the forms designer fails to start (any programming language), showing this error message:

    -----------
    System.InvalidOperationException: The designer could not be shown for this file because none of the classes within it can be designed.  The designer inspected the following classes in the file:

        MainForm --- The base class 'System.Object' cannot be designed.
       at System.ComponentModel.Design.Serialization.CodeDomDesignerLoader.EnsureDocument(IDesignerSerializationManager manager)
       at System.ComponentModel.Design.Serialization.CodeDomDesignerLoader.PerformLoad(IDesignerSerializationManager manager)
       at System.ComponentModel.Design.Serialization.BasicDesignerLoader.BeginLoad(IDesignerLoaderHost host)

    ----------- 

    Thanks for the help,

    Diego 

    Filed under: ,
  • 08-22-2006 8:11 AM In reply to

    • GoMa
    • Top 25 Contributor
    • Joined on 04-12-2006
    • Posts 80

    Re: Problems after installation

    See this post for the first issue.
    For the second one, does the file you're trying to design contain a class that inherits from System.Windows.Forms.Form or System.Windows.Forms.UserControl?

  • 08-23-2006 5:18 AM In reply to

    Re: Problems after installation

    About the xml exception, I couldn't find the source of the error. In the mentioned thread it is suggested that a xml file in the .NET installation could be corrupt. Using cygwin I checked that all xml files have no 'invalid 0x14' character:

        diego@draco /cygdrive/c/WINDOWS/Microsoft.NET/Framework/v2.0.50727
        $ for f in *xml; do od -t x $f | grep '\<14\>'; done

    Did the same with all xml files in the #Develop installation. 

    Regarding the forms designer, it fails to start immediately after creating a new project, thus the class derives from System.Windows.Forms.Form.

    Thanks,

    Diego

Page 1 of 1 (3 items)
Powered by Community Server (Commercial Edition), by Telligent Systems
Don't contact us via this (fleischfalle@alphasierrapapa.com) email address.