#
wchrisjohnson
Hi,
I have Cuyahoga (I believe version 0.9) implemented on a .NET 1.1 account with my shared host, using MySQL, and all works perfectly.
Earlier this afternoon, I tried to set up the 1.0.0 version of Cuyahoga (binary) on a .NET 2.0 account/MySQL at my shared host, and I can't get it to fire up. I keep getting a security violation:
Security Exception
Description: The application attempted to perform an operation not allowed by the security policy. To grant this application the required permission please contact your system administrator or change the application's trust level in the configuration file.
Exception Details: System.Security.SecurityException: Request for the permission of type 'System.Configuration.ConfigurationPermission, System.Configuration, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' failed.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[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
In my research, I believe it has something to do with the fact that nHibernate requires Full Trust in order to function properly (at least in the 1.0 release??).
I doubt my host will upgrade me to Full Trust.
Does anyone have a solution for this issue? Am I overlooking anything? Do I need to provide more information?
Thanks in advance.
Chris
I have Cuyahoga (I believe version 0.9) implemented on a .NET 1.1 account with my shared host, using MySQL, and all works perfectly.
Earlier this afternoon, I tried to set up the 1.0.0 version of Cuyahoga (binary) on a .NET 2.0 account/MySQL at my shared host, and I can't get it to fire up. I keep getting a security violation:
Security Exception
Description: The application attempted to perform an operation not allowed by the security policy. To grant this application the required permission please contact your system administrator or change the application's trust level in the configuration file.
Exception Details: System.Security.SecurityException: Request for the permission of type 'System.Configuration.ConfigurationPermission, System.Configuration, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' failed.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[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
In my research, I believe it has something to do with the fact that nHibernate requires Full Trust in order to function properly (at least in the 1.0 release??).
I doubt my host will upgrade me to Full Trust.
Does anyone have a solution for this issue? Am I overlooking anything? Do I need to provide more information?
Thanks in advance.
Chris