Thursday, February 09, 2012  | 
Welcome to Module Masters support forums - the primary support mechanism for our products. Feel free to post your questions, and we will aim to respond in a timely manner.  We also encourage our users to post any feedback you may have.  You may also email us directly at service@modulemasters.com
Subject: DNN 4 - Site Down - Please help
Prev Next
You are not authorized to post a reply.

Author Messages
foxmcfUser is Offline

Posts:4

06/03/2007 23:05  
Afer I installed your trial of the SMS - I get this (I had to turn on Custom Errors=ON in the web.config).  Please help.  My site url http://red.phoxes.com)

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) +2738437
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 'Flatburger.Permutation_06C74_2.0(163), Version=1.0.0.1, Culture=neutral, PublicKeyToken=d4dad26439b41539' 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 'Flatburger.Permutation_06C74_2.0(163), Version=1.0.0.1, Culture=neutral, PublicKeyToken=d4dad26439b41539' 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 'Flatburger.Permutation_06C74_2.0(163), Version=1.0.0.1, Culture=neutral, PublicKeyToken=d4dad26439b41539' 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 'Flatburger.Permutation_06C74_2.0(163), Version=1.0.0.1, Culture=neutral, PublicKeyToken=d4dad26439b41539' 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
hostUser is Offline

Posts:497

06/03/2007 23:09  
Wow!  Flatburger has recently upgraded their services and we rely on them for the licensing that allows the demo on the module. This is not good and indicates an issue with their DLL.  For now, please go to the bin directory and remove the *SMS* and *Flatburger* DLLs.
foxmcfUser is Offline

Posts:4

06/03/2007 23:11  
I will try that. I need to get the site back up for now. Thanks for a QUICK reply... I'll let you know if I get it going again....
hostUser is Offline

Posts:497

06/03/2007 23:12  
No problem, I have sent a help request to flatburger support as well. Keep me posted.
foxmcfUser is Offline

Posts:4

06/03/2007 23:17  
That didn't work.  Now it says it can't find the DLL files.

I found in the \desktopmodules\sms directory a file called SMS010100.dnn.config.  Is their a way i can minipulate this (or is this even the right thing to do) in order to get my site back up?  It looks like it references the dll files to load.  Here are the contents:



 
   
      SMS
      The SMS Module allows you to add the ability for users to send SMS messages to phones and mobile devices. You can preset numbers to allow a selection of the recipient to be made.
      01.01.00
     
       
          SMS
         
           
              SMS
              SMS.ascx
              View
           

           
              Settings
              SMS Settings
              Settings.ascx
              Edit
           

         

       

     

     
       
          SMS.ascx
       

       
          Settings.ascx
       

       
          ModuleMasters.DNN.Modules.SMS.dll
       

       
          ModuleMasters.DNN.Modules.SMS.SqlDataProvider.dll
       

       
          icon_SMS_32px.gif
       

       
          01.00.00.SqlDataProvider
       

       
          Uninstall.SqlDataProvider
       

       
          App_LocalResources
          SMS.ascx.resx
       

       
          App_LocalResources
          Settings.ascx.resx
       

       
          01.01.00.sqldataprovider
       

       
          flatburger_activationscreen.aspx
       

       
          flatburger_activationscreen.css
       

     

   

   
      Flatburger Licensing (Module Masters)(06C74)(163)
      This is required to manage the licenses for all modules from Module Masters. Removing this will cause modules from Module Masters to stop functioning.
      01.06.03
     
       
          Module Masters Licensing v163
         
           
             
             

              About
              Flatburger_About.ascx
              View
           

         

       

     

     
       
          flatburger.customization2.0(163).dll
       

       
          flatburger.permutation_06c74_2.0(163).dll
       

       
          flatburger.runtime2.0(163).dll
       

       
          flatburger.utils2.0(163).dll
       

       
          flatburger_about.ascx
       

     

   

 

hostUser is Offline

Posts:497

06/03/2007 23:21  
Check this link out:
Did you remove this permutation DLL?  You may need to put the other DLL files contained in the download file back in except this permutation one.  You also should set your web.config file to "Full" trust since the wiki article also mentions that.  Let me know.
hostUser is Offline

Posts:497

06/03/2007 23:22  
oh yeah, and that sms config file is just the install manifest, it will not do anything for you if you edit it.
foxmcfUser is Offline

Posts:4

06/03/2007 23:32  
My heart is palpitating, but at least it's beating again. That you SO MUCH for your help.  The site is running again.  If they happen to figure this out, I would try it again.  This time on my DEV system.  ;)
hostUser is Offline

Posts:497

06/03/2007 23:35  
I appologize for the issue. Hopefully this is one they fix soon!
You are not authorized to post a reply.
Forums > Module Masters Forum > SMS > DNN 4 - Site Down - Please help



ActiveForums 3.7
Copyright 2011 by Module Masters Privacy StatementTerms Of Use