2017-06-26 7 views
1

Wenn ich den Nopcommerce auf dem Server veröffentlichen, habe ich diesen Fehler. Mein Gastgeber bietet mir volle Vertrauenswürdigkeit.Nopcommerce Sicherheitsausnahme

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 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 failed.] 
    Nop.Core.TypeConverterRegistrationStartUpTask.Execute() +0 
    Nop.Core.Infrastructure.NopEngine.RunStartupTasks() +487 
    Nop.Core.Infrastructure.NopEngine.Initialize(NopConfig config) +48 
    Nop.Core.Infrastructure.EngineContext.Initialize(Boolean forceRecreate) +92 
    Nop.Web.MvcApplication.Application_Start() +66 

Version Information: Microsoft .NET Framework Version:4.0.30319; 
    ASP.NET Version:4.0.30319.36366 

wie diesen Fehler zu lösen?

+0

nicht geben Sie die richtigen Berechtigungen für Ordner? –

Antwort

0

Überprüfen Sie, ob Ihr Hosting-Anforderungen erfüllt: Technology & System Requirements

nächstes prüfen, ob Sie das richtige getan: Installation Guide

Für mich scheint, wie Ihre Installation nicht genügend Rechte hat.

Nach Installationsanleitung benötigen Sie nopCommerce Schreibrechte auf folgende Verzeichnisse und Dateien

  • \ App_Data \
  • \ bin \
  • \ Content \
  • \ Content \ Images \
  • geben
  • \ Inhalt \ Bilder \ Thumbs \
  • \ Inhalt \ Bilder \ Hochgeladene \
  • \ Content \ Dateien \ exportimport \
  • \ Plugins \
  • \ Plugins \ bin \
  • \ Global.asax
  • \ web.config