[Mono-devel-list] XSP PROBLEM

Marcelo Rezende Módolo mrmodolo at terra.com.br
Fri May 28 09:04:23 EDT 2004


Hi,
I install mono-Beta1-win32-2.exe in my Windows2000 and dowmload and put 
xsp-0.13.tar.gz in
d:\src\xsp-0.13. I have cygwin so I go to d:\src\xsp-0.13 and:
    ./configure ...
    make ...
after make finished (no errors) I open a dos box and try this:
copy D:\src\xsp-0.13\server\xsp.exe to D:\src\xsp-0.13\test\xsp.exe,
make a bin dir in D:\src\xsp-0.13\test and copy to D:\src\xsp-0.13\test\bin,
xsp.exe, ICSharpCode.SharpZipLib.dll and Mono.Http.dll.
In D:\src\xsp-0.13\test I do:
    D:\src\xsp-0.13\test\xsp.exe [Enter]...
a popup box appear with this message:
    "Application has generated an exception that could not be handled."
    "Process id=0x588(1416), Thread id=0x13c(316)."
and after I click on OK...
D:\src\xsp-0.13\test>xsp.exe

Unhandled Exception: System.Configuration.ConfigurationException: Erro 
ao carreg
ar arquivo XML 
c:\winnt\microsoft.net\framework\v1.0.3705\Config\machine.config
Request for the permission of type 
System.Security.Permissions.StrongNameIdentit
yPermission, mscorlib, Version=1.0.3300.0, Culture=neutral, 
PublicKeyToken=b77a5
c561934e089 failed. 
(c:\winnt\microsoft.net\framework\v1.0.3705\Config\machine.c
onfig)
   at System.Configuration.ConfigurationRecord.OpenXmlTextReader(String 
configFi
leName)
   at System.Configuration.ConfigurationRecord.Load(String filename)
   at 
System.Configuration.DefaultConfigurationSystem.System.Configuration.IConf
igurationSystem.Init()
   at 
System.Configuration.ConfigurationSettings.SetConfigurationSystem(IConfigu
rationSystem configSystem)
   at System.Configuration.ConfigurationSettings.GetConfig(String 
sectionName)
   at System.Diagnostics.DiagnosticsConfiguration.GetConfigTable()
   at System.Diagnostics.DiagnosticsConfiguration.Initialize()
   at System.Diagnostics.DiagnosticsConfiguration.get_IndentSize()
   at System.Diagnostics.TraceInternal.InitializeSettings()
   at System.Diagnostics.TraceInternal.get_Listeners()
   at System.Diagnostics.Trace.get_Listeners()
   at Mono.ASPNET.Server.Main(String[] args)
   
so I try:
D:\src\xsp-0.13\test>mono xsp.exe...
Listening on port: 8080
Listening on address: 0.0.0.0
Root directory: D:\src\xsp-0.13\test
Hit Return to stop the server.

but when I try to open a browser with http://localhost:8080 a received a
HTTP 500 error and in the dos box this erros:

** (xsp.exe:316): WARNING **: cant resolve internal call to 
"System.Environment:
:GetOSVersionString()" (tested without signature also)

Your mono runtime and class libraries are out of sync.
The out of sync library is: D:\bin\Mono-0.91\lib\mscorlib.dll

When you update one from cvs you need to update, compile and install
the other too.
Do not report this as a bug unless you're sure you have updated correctly:
you probably have a broken mono install.
If you see other errors or faults after this message they are probably 
related
and you need to fix your mono install first.

** (xsp.exe:316): WARNING **: cant resolve internal call to 
"System.Environment:
:GetOSVersionString()" (tested without signature also)

Your mono runtime and class libraries are out of sync.
The out of sync library is: D:\bin\Mono-0.91\lib\mscorlib.dll

When you update one from cvs you need to update, compile and install
the other too.
Do not report this as a bug unless you're sure you have updated correctly:
you probably have a broken mono install.
If you see other errors or faults after this message they are probably 
related
and you need to fix your mono install first.
System.Reflection.TargetInvocationException: Exception has been thrown 
by the ta
rget of an invocation.

Server stack trace:
in <0x000b3> System.Reflection.MonoCMethod:Invoke 
(object,System.Reflection.Bind
ingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo)
in <0x00021> System.Reflection.MethodBase:Invoke (object,object[])
in <0x001de> System.Runtime.Serialization.ObjectRecord:LoadData 
(System.Runtime.
Serialization.ObjectManager,System.Runtime.Serialization.ISurrogateSelector,Syst
em.Runtime.Serialization.StreamingContext)
in <0x000ef> System.Runtime.Serialization.ObjectManager:DoFixups ()
in <0x00028> 
System.Runtime.Serialization.Formatters.Binary.ObjectReader:ReadNex
tObject (System.IO.BinaryReader)
in <0x000ac> 
System.Runtime.Serialization.Formatters.Binary.ObjectReader:ReadObj
ectGraph 
(System.IO.BinaryReader,bool,object&,System.Runtime.Remoting.Messaging.
Header[]&)
in <0x0014f> 
System.Runtime.Serialization.Formatters.Binary.BinaryFormatter:Dese
rialize (System.IO.Stream,System.Runtime.Remoting.Messaging.HeaderHandler)
in <0x00013> 
System.Runtime.Serialization.Formatters.Binary.BinaryFormatter:Dese
rialize (System.IO.Stream)
in <0x0004f> 
System.Runtime.Remoting.Channels.CADSerializer:DeserializeObject (S
ystem.IO.MemoryStream)
in <0x0003e> 
System.Runtime.Remoting.Messaging.CADMethodReturnMessage:GetArgumen
ts ()
in <0x0006a> System.Runtime.Remoting.Messaging.MethodResponse:.ctor 
(System.Runt
ime.Remoting.Messaging.IMethodCallMessage,System.Runtime.Remoting.Messaging.CADM
ethodReturnMessage)
in <0x003c4> 
System.Runtime.Remoting.Channels.CrossAppDomainSink:SyncProcessMess
age (System.Runtime.Remoting.Messaging.IMessage)


Exception rethrown at [0]:
 ---> System.NullReferenceException: Object reference not set to an 
instance of
an object
in <0x0005d> System.MissingMemberException:.ctor 
(System.Runtime.Serialization.S
erializationInfo,System.Runtime.Serialization.StreamingContext)
in <0x0001d> System.MissingMethodException:.ctor 
(System.Runtime.Serialization.S
erializationInfo,System.Runtime.Serialization.StreamingContext)
in (unmanaged) (wrapper managed-to-native) 
System.Reflection.MonoCMethod:Interna
lInvoke (object,object[])
in <0x00004> (wrapper managed-to-native) 
System.Reflection.MonoCMethod:InternalI
nvoke (object,object[])
in <0x00077> System.Reflection.MonoCMethod:Invoke 
(object,System.Reflection.Bind
ingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo)
--- End of inner exception stack trace ---

in <0x001c0> System.Runtime.Remoting.Proxies.RealProxy:PrivateInvoke 
(System.Run
time.Remoting.Proxies.RealProxy,System.Runtime.Remoting.Messaging.IMessage,Syste
m.Exception&,object[]&)

Can anyone help me with xsp (I am new to mono!!!)?

thanks,
marcelo modolo




More information about the Mono-devel-list mailing list