Running in partial trust

Discussion about the open-source Phalanger [?] project.

Running in partial trust

Postby lemmy@codeplex » January 11th, 2009, 10:42 am

I'm trying to use Phalanger from an XBAP, but get a security exception when it's trying to read a configuration. Is there any way around this?
Would it work if include a config file in my project? If so, what should it look like?

System.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
   at System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMark& stackMark, Boolean isPermSet)
   at System.Security.CodeAccessPermission.Demand()
   at System.IO.Path.GetFullPath(String path)
   at PHP.Core.FullPath..ctor(String path, Boolean isArbitrary)
   at PHP.Core.ApplicationConfiguration.PathsSection..ctor()
   at PHP.Core.ApplicationConfiguration..ctor()
   at PHP.Core.Configuration..cctor()
   at PHP.Core.Configuration.get_DefaultLocal()
   at PHP.Core.ScriptContext..ctor(ApplicationContext appContext)
   at PHP.Core.ScriptContext.get_CurrentContext()


lemmy@codeplex
 
Posts: 1
Joined: January 7th, 2012, 8:53 pm

Return to Phalanger project

Who is online

Users browsing this forum: No registered users and 12 guests

cron

User Control Panel

Login

Who is online

In total there are 12 users online :: 0 registered, 0 hidden and 12 guests (based on users active over the past 5 minutes)
Most users ever online was 297 on March 29th, 2024, 7:06 am

Users browsing this forum: No registered users and 12 guests