[Mono-devel-list] xsp System.Security.Policy.Site exception

Sebastien Pouliot spouliot at videotron.ca
Mon Jan 17 16:42:06 EST 2005


Hello Willi,

That's probably a cascade of two (or more) bugs. First the evidence code
shouldn't have been called (at least not yet) and wasn't before another fix.
Second I'm unsure why the URL wasn't accepted - or even why a Site evidence
was created for a local assembly.

Please post to bugzilla and I will be fixing it ASAP.

Thanks,

Sebastien Pouliot
home: spouliot at videotron.ca
blog: http://pages.infinit.net/ctech/poupou.html


> -----Original Message-----
> From: mono-devel-list-admin at lists.ximian.com
> [mailto:mono-devel-list-admin at lists.ximian.com]On Behalf Of Willibald
> Krenn
> Sent: 17 janvier 2005 16:11
> To: mono-devel-list at lists.ximian.com
> Subject: [Mono-devel-list] xsp System.Security.Policy.Site exception
>
>
> Hi!
>
> XSP just fails on my system with "System.ArgumentException: Invalid URL
> 'file:///home/willi/lib/mono/1.0/xsp.exe'."
> Anyone knows whats wrong?
>
> Thanks
>   Willi
>
> Listening on port: 8080
> Listening on address: 0.0.0.0
> Root directory: /home/willi/share/doc/xsp/test
> Hit Return to stop the server.
> System.ArgumentException: Invalid URL
> 'file:///home/willi/lib/mono/1.0/xsp.exe'.
> Parameter name: url
> in <0x00181> System.Security.Policy.Site:CreateFromUrl (string)
> in <0x0019d> System.Security.Policy.Evidence:GetDefaultHostEvidence
> (System.Reflection.Assembly)
> in <0x000e1> System.AppDomain:get_Evidence ()
> in <0x00069> (wrapper remoting-invoke-with-check)
> System.AppDomain:get_Evidence ()
> in <0x00205> System.AppDomain:CreateDomain
> (string,System.Security.Policy.Evidence,System.AppDomainSetup)
> in <0x0022f> System.Web.Hosting.ApplicationHost:CreateApplicationHost
> (System.Type,string,string)
> in <0x000c2> Mono.ASPNET.VPathToHost:CreateHost
> (Mono.ASPNET.ApplicationServer,Mono.ASPNET.IWebSource)
> in <0x00154> Mono.ASPNET.ApplicationServer:GetApplicationForPath
> (string,int,string,bool)
> in <0x000c7> (wrapper remoting-invoke-with-check)
> Mono.ASPNET.ApplicationServer:GetApplicationForPath
> (string,int,string,bool)
> in <0x00185> Mono.ASPNET.XSPWorker:Run (object)
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list




More information about the Mono-devel-list mailing list