Feb 23, 2008, 8:09 PM
Running Coolite Controls in Shared Hosting Environment (Medium Trust)
I have noticed that the scriptmanager control throws a SecurityException on a shared host:
I was wondering if this can be helped? Or do I pretty much have to use it on a dedicated host?
Thanks in advance
[SecurityException: Request for the permission of type 'System.Configuration.ConfigurationPermission, System.Configuration, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' failed.]
System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMark& stackMark, Boolean isPermSet) +0
System.Security.CodeAccessPermission.Demand() +59
System.Configuration.BaseConfigurationRecord.CheckPermissionAllowed(String configKey, Boolean requirePermission, Boolean isTrustedWithoutAptca) +65
It appears that because of shared host runs ASP.NET applications at medium trust and not full trust, the control fails.I was wondering if this can be helped? Or do I pretty much have to use it on a dedicated host?
Thanks in advance