•   Mountain View 1600, CA 94043
  •   +1 650-253-0000
  •   name@example.com
     Search
 
  • Register
 
Login
InteractiveWebs
  • InteractiveWebs Home
  • Services
    • -DotNetNuke Support
    • -CRM Systems
    • -Domain Names
  • DotNetNuke Modules
    • -DotNetNuke Modules
    • -Module Downloads
    • -Module Upgrade Policy
  • Support
    • -Module Update News
    • -Knowledge Base
    • -License Management
    • -Invoice History
  • Blog
  • Contact Us
    • -About Us
  • Store
SearchHome
  • 1
  • 2
  • 3
  • 4
  • 5
HomeHomeSupportSupportSilverlight Med...Silverlight Med...Site Dead after loading the Silverlight ModuleSite Dead after loading the Silverlight Module
Previous
 
Next
New Post
6/12/2007 12:17 PM
 
User is offline DNN Module Support
1st Level Poster

Joined: 8/28/2006
Posts: 2056
Site Dead after loading the Silverlight Module  (Australia) Modified By DNN Module Support  on 6/12/2007 12:20:20 PM
We found someone with the following error.
 

Server Error in '/home' Application.


Required permissions cannot be acquired.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Security.Policy.PolicyException: Required permissions cannot be acquired.

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:

 

[PolicyException: Required permissions cannot be acquired.]

   System.Security.SecurityManager.ResolvePolicy(Evidence evidence, PermissionSet reqdPset, PermissionSet optPset, PermissionSet denyPset, PermissionSet& denied, Boolean checkExecutionPermission) +2738085

   System.Security.SecurityManager.ResolvePolicy(Evidence evidence, PermissionSet reqdPset, PermissionSet optPset, PermissionSet denyPset, PermissionSet& denied, Int32& securitySpecialFlags, Boolean checkExecutionPermission) +57

 

[FileLoadException: Could not load file or assembly 'iwebs.Modules.SMP.SMPLibrary, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. Failed to grant minimum permission requests. (Exception from HRESULT: 0x80131417)]

   System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) +0

   System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +211

   System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +141

   System.Reflection.Assembly.Load(String assemblyString) +25

   System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +32

 

[ConfigurationErrorsException: Could not load file or assembly 'iwebs.Modules.SMP.SMPLibrary, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. Failed to grant minimum permission requests. (Exception from HRESULT: 0x80131417)]

   System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +596

   System.Web.Configuration.CompilationSection.LoadAllAssembliesFromAppDomainBinDirectory() +3487289

   System.Web.Configuration.CompilationSection.LoadAssembly(AssemblyInfo ai) +46

   System.Web.Compilation.BuildManager.GetReferencedAssemblies(CompilationSection compConfig) +177

   System.Web.Compilation.BuildProvidersCompiler..ctor(VirtualPath configPath, Boolean supportLocalization, String outputAssemblyName) +180

   System.Web.Compilation.CodeDirectoryCompiler.GetCodeDirectoryAssembly(VirtualPath virtualDir, CodeDirectoryType dirType, String assemblyName, StringSet excludedSubdirectories, Boolean isDirectoryAllowed) +347

   System.Web.Compilation.BuildManager.CompileCodeDirectory(VirtualPath virtualDir, CodeDirectoryType dirType, String assemblyName, StringSet excludedSubdirectories) +125

   System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() +378

 

[HttpException (0x80004005): Could not load file or assembly 'iwebs.Modules.SMP.SMPLibrary, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. Failed to grant minimum permission requests. (Exception from HRESULT: 0x80131417)]

   System.Web.Compilation.BuildManager.ReportTopLevelCompilationException() +57

   System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() +612

   System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters) +456

 

[HttpException (0x80004005): Could not load file or assembly 'iwebs.Modules.SMP.SMPLibrary, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. Failed to grant minimum permission requests. (Exception from HRESULT: 0x80131417)]

   System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +3434991

   System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +88

   System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +252

 


Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.210

 
New Post
6/12/2007 12:21 PM
 
User is offline DNN Module Support
1st Level Poster

Joined: 8/28/2006
Posts: 2056
Re: Site Dead after loading the Silverlight Module  (Australia)
The solution to this lies with a line in the web.config
 

There is an option in your web.config file in your dnn structure that will look like this:

 

<trust level="Medium" originUrl="http://localhost/.*" />

 

Please edit this line to be one of two options.

 

1. <trust level="Full" originUrl="http://localhost/.*" /> 2. <!-- trust level="Medium" originUrl="http://localhost/.*" / -->

 

Option 1. Is to set full trust level.

Option 2 is to comment out this filed. This is the default DNN web.config settings.

 
New Post
7/31/2007 3:57 AM
 
User is offline 
No Ranking

Joined: 1/1/0001
Posts: 0
Re: Site Dead after loading the Silverlight Module  (Australia)
Sometimes hosting providers like GoDaddy override this setting in the machine.config (at a higher level than web.config) and globally lock this to Medium Trust. The Silverlight Media Player module will not operate in a medium trust environment.
 
 Page 1 of 1
Previous
 
Next
HomeHomeSupportSupportSilverlight Med...Silverlight Med...Site Dead after loading the Silverlight ModuleSite Dead after loading the Silverlight Module


Connect to us

Copyright (c) 2018 InteractiveWebs : Terms Of Use : Privacy Statement
Login Register

Need to Register? Forgot password?

Just want to login?
Copyright (c) 2018 InteractiveWebs : Terms Of Use : Privacy Statement