2017-06-26 1 views
1

Lorsque je publie le nopcommerce sur le serveur, j'ai cette erreur. Mon hôte me fournit un niveau de confiance complet.Exception de sécurité Nopcommerce

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 

comment résoudre cette erreur?

+0

avez-vous donné des autorisations appropriées aux dossiers? –

Répondre

0

Vérifiez si votre hébergement répond aux exigences: Technology & System Requirements

Vérifiez ensuite si vous avez fait ce droit: Installation Guide

Pour moi, cela semble être votre installation a des droits ne suffit pas.

Selon le guide d'installation vous devez donner nopCommerce l'autorisation d'écriture sur les répertoires et les fichiers suivants

  • \ App_Data \
  • \ bin \
  • \ Content \
  • \ Content \ Images \
  • \ Content \ Images \ Thumbs \
  • \ Content \ Images \ Uploaded \
  • \ Content \ files \ ExportImport \
  • \ Plugins \
  • \ Plugins \ bin \
  • \ Global.asax
  • \ web.config