Forum  Discuss AliComm...  Miscellaneous  Web config error - Help??
Previous Previous
 
Next Next
New Post 12/9/2007 5:39 PM
  hwilson
7 posts
No Ranking


Web config error - Help?? 
Modified By hwilson  on 12/9/2007 6:39:55 PM)

After install of Alicommerce 1.1.   I get the following webconfig errors.....

 

[PolicyException: Required permissions cannot be acquired.]
   System.Security.SecurityManager.ResolvePolicy(Evidence evidence, PermissionSet reqdPset, PermissionSet optPset, PermissionSet denyPset, PermissionSet& denied, Boolean checkExecutionPermission) +2709488
   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 'nsoftware.IBizPayWeb, Version=3.3.2837.0, Culture=neutral, PublicKeyToken=cdc168f89cffe9cf' 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 'nsoftware.IBizPayWeb, Version=3.3.2837.0, Culture=neutral, PublicKeyToken=cdc168f89cffe9cf' 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() +3596761
   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) +350
   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 'nsoftware.IBizPayWeb, Version=3.3.2837.0, Culture=neutral, PublicKeyToken=cdc168f89cffe9cf' 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) +521

[HttpException (0x80004005): Could not load file or assembly 'nsoftware.IBizPayWeb, Version=3.3.2837.0, Culture=neutral, PublicKeyToken=cdc168f89cffe9cf' or one of its dependencies. Failed to grant minimum permission requests. (Exception from HRESULT: 0x80131417)]
   System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +3540923
   System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +69
   System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +275

 

 

I've changed my web config trust to

<trust level="Full" originUrl=".*" />

No dice.... Can someone help me figure this out.. I've uninstalled, reinstalled.. tried older versions of ali... but still get the errors.

Thanks is advance...

H

 
New Post 12/10/2007 12:14 AM
  hwilson
7 posts
No Ranking


Re: Web config error - Help?? 

Figured it out...

Host with CrystalTech.  Their intermediate shared server hosting plan , security trust level set to medium trust...

Had to get moved to servers set to security level High... now Seems good.  I'm able to run now after installation.:)

 
New Post 12/10/2007 3:35 AM
  AliCommerce
1156 posts
1st Level Poster


Re: Web config error - Help?? 

Happy to hear that you've figured it out.


Frank Wang
Software Architect
AliCommerce.com
The best DNN eCommerce, shopping cart and store modules. 100% satisfaction guaranteed.
 
Previous Previous
 
Next Next
  Forum  Discuss AliComm...  Miscellaneous  Web config error - Help??
Copyright 2008 by CandoSuite Terms Of Use Privacy Statement