Trying to publish my site to godaddy and I'm getting the following error.
Attempt by security transparent method 'Umbraco.Core.BindingRedirects.Initialize()' to access security critical method 'System.AppDomain.add_AssemblyResolve(System.ResolveEventHandler)' failed.
Assembly 'Umbraco.Core, Version=1.0.6582.14881, Culture=neutral, PublicKeyToken=null' is partially trusted, which causes the CLR to make it entirely security transparent regardless of any transparency annotations in the assembly itself. In order to access security critical code, this assembly must be fully trusted.
I tried the following:
1. Set the trust level to 'Full'
2. Added [assembly: SecurityRules(SecurityRuleSet.Level1)] to assemblyinfo.cs
3. Added [assembly: AllowPartiallyTrustedCallers] to assemblyinfo.cs
4. added [SecuritySafeCritical] to assemblyinfo.cs
5. ran Install-Package -Id Microsoft.AspNet.WebHelpers
I'm clueless how to fix this.
Umbraco.Core.BindingRedirects.Initialize()
Trying to publish my site to godaddy and I'm getting the following error.
Attempt by security transparent method 'Umbraco.Core.BindingRedirects.Initialize()' to access security critical method 'System.AppDomain.add_AssemblyResolve(System.ResolveEventHandler)' failed.
Assembly 'Umbraco.Core, Version=1.0.6582.14881, Culture=neutral, PublicKeyToken=null' is partially trusted, which causes the CLR to make it entirely security transparent regardless of any transparency annotations in the assembly itself. In order to access security critical code, this assembly must be fully trusted.
I tried the following: 1. Set the trust level to 'Full' 2. Added [assembly: SecurityRules(SecurityRuleSet.Level1)] to assemblyinfo.cs 3. Added [assembly: AllowPartiallyTrustedCallers] to assemblyinfo.cs 4. added [SecuritySafeCritical] to assemblyinfo.cs 5. ran Install-Package -Id Microsoft.AspNet.WebHelpers I'm clueless how to fix this.
is working on a reply...