[Mono-bugs] [Bug 547589] xps failed to start

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Oct 16 10:57:44 EDT 2009


http://bugzilla.novell.com/show_bug.cgi?id=547589

User bosak.tomas at gmail.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=547589#c2





--- Comment #2 from Tomas Bosak <bosak.tomas at gmail.com>  2009-10-16 08:57:40 MDT ---
When I try to start xsp2 manually from command line I get this output:

C:\Program Files (x86)\Mono-2.4.2.3\bin>startXSP2.bat
Mono version 2.4.2.3 Build 3
Prepending 'C:\PROGRA~2\MONO-2~1.3\bin' to PATH
Exception caught during reading the configuration file:
System.Configuration.ConfigurationErrorsException: Error Initializing the
config
uration system. ---> System.Xml.XmlException: Text node cannot appear in this
st
ate.  Line 1, position 1.
  at Mono.Xml2.XmlTextReader.ReadText (Boolean notWhitespace) [0x00000]
  at Mono.Xml2.XmlTextReader.ReadContent () [0x00000]
  at Mono.Xml2.XmlTextReader.Read () [0x00000]
  at System.Xml.XmlTextReader.Read () [0x00000]
  at System.Xml.XmlReader.MoveToContent () [0x00000]
  at System.Configuration.Configuration.ReadConfigFile (System.Xml.XmlReader
rea
der, System.String fileName) [0x00000]
  at System.Configuration.Configuration.Load () [0x00000]
  at System.Configuration.Configuration.Init (IConfigSystem system,
System.Strin
g configPath, System.Configuration.Configuration parent) [0x00000]
  at System.Configuration.Configuration..ctor
(System.Configuration.InternalConf
igurationSystem system, System.String locationSubPath) [0x00000]
  at System.Configuration.InternalConfigurationFactory.Create (System.Type
typeC
onfigHost, System.Object[] hostInitConfigurationParams) [0x00000]
  at System.Configuration.ConfigurationManager.OpenExeConfigurationInternal
(Con
figurationUserLevel userLevel, System.Reflection.Assembly calling_assembly,
Syst
em.String exePath) [0x00000]
  at System.Configuration.ClientConfigurationSystem.get_Configuration ()
[0x0000
0]
  --- End of inner exception stack trace ---
  at System.Configuration.ClientConfigurationSystem.get_Configuration ()
[0x0000
0]
  at
System.Configuration.ClientConfigurationSystem.System.Configuration.Interna
l.IInternalConfigSystem.GetSection (System.String configKey) [0x00000]
  at System.Configuration.ConfigurationManager.GetSection (System.String
section
Name) [0x00000]
  at System.Configuration.ConfigurationManager.get_AppSettings () [0x00000]
  at Mono.WebServer.XSP.Server.get_AppSettings () [0x00000]
  at Mono.WebServer.XSP.Server+ApplicationSettings..ctor () [0x00000]
xsp2
Listening on address: 0.0.0.0
Root directory: C:\PROGRA~2\MONO-2~1.3\lib\xsp\test
Error: System.TypeInitializationException: An exception was thrown by the type
i
nitializer for System.Net.Sockets.Socket --->
System.Configuration.Configuration
ErrorsException: Error Initializing the configuration system. --->
System.Xml.Xm
lException: Text node cannot appear in this state.  Line 1, position 1.
  at Mono.Xml2.XmlTextReader.ReadText (Boolean notWhitespace) [0x00000]
  at Mono.Xml2.XmlTextReader.ReadContent () [0x00000]
  at Mono.Xml2.XmlTextReader.Read () [0x00000]
  at System.Xml.XmlTextReader.Read () [0x00000]
  at System.Xml.XmlReader.MoveToContent () [0x00000]
  at System.Configuration.Configuration.ReadConfigFile (System.Xml.XmlReader
rea
der, System.String fileName) [0x00000]
  at System.Configuration.Configuration.Load () [0x00000]
  at System.Configuration.Configuration.Init (IConfigSystem system,
System.Strin
g configPath, System.Configuration.Configuration parent) [0x00000]
  at System.Configuration.Configuration..ctor
(System.Configuration.InternalConf
igurationSystem system, System.String locationSubPath) [0x00000]
  at System.Configuration.InternalConfigurationFactory.Create (System.Type
typeC
onfigHost, System.Object[] hostInitConfigurationParams) [0x00000]
  at System.Configuration.ConfigurationManager.OpenExeConfigurationInternal
(Con
figurationUserLevel userLevel, System.Reflection.Assembly calling_assembly,
Syst
em.String exePath) [0x00000]
  at System.Configuration.ClientConfigurationSystem.get_Configuration ()
[0x0000
0]
  --- End of inner exception stack trace ---
  at System.Configuration.ClientConfigurationSystem.get_Configuration ()
[0x0000
0]
  at
System.Configuration.ClientConfigurationSystem.System.Configuration.Interna
l.IInternalConfigSystem.GetSection (System.String configKey) [0x00000]
  at System.Configuration.ConfigurationManager.GetSection (System.String
section
Name) [0x00000]
  at System.Net.Sockets.Socket.CheckProtocolSupport () [0x00000]
  at System.Net.Sockets.Socket..cctor () [0x00000]
  --- End of inner exception stack trace ---
  at Mono.WebServer.XSPWebSource.CreateSocket () [0x00000]
  at Mono.WebServer.ApplicationServer.Start (Boolean bgThread) [0x00000]
  at Mono.WebServer.ApplicationServer.Start (Boolean bgThread, System.Exception
initialException) [0x00000]
  at (wrapper remoting-invoke-with-check)
Mono.WebServer.ApplicationServer:Start
 (bool,System.Exception)
  at Mono.WebServer.XSP.Server.RealMain (System.String[] args, Boolean root,
IAp
plicationHost ext_apphost, Boolean quiet) [0x00000]

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list