Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Security Permissions
Message
De
08/09/2016 12:46:43
 
 
À
08/09/2016 12:08:51
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
ASP.NET
Divers
Thread ID:
01640612
Message ID:
01640614
Vues:
39
>I'm hoping someone may be able to help me with this.
>
>I have a C# ASP.NET web application being hosted on GoDaddy. I made a minor update to the working application and this somehow broke the site. I started getting an error when I tried to access the site:
>
>
Configuration Error
>
>Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately. 
>
>Parser Error Message: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level.  This error can be caused by a virtual directory not being configured as an application in IIS.
>
>Source Error: 
>
>
>An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.
>
>Source File: G:\PleskVhosts\lallcus.com\SISTracking\web.config    Line: 112 
>
>Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.6.1069.1
>
>
>Line 112 is the trust level="Full" line in this section:
>
>
>  <location path="Default.aspx" allowOverride="false">
>    <system.web>
>      <authorization>
>        <allow users="*" />
>      </authorization>
>      <trust level="Full" />
>    </system.web>
>  </location>
>
>
>
>By deleting that line in the web.config, the site works again, partially. When trying to add new records or save existing ones I get a window displayed in the browser stating "System.Security.Permissions.SecurityPermission".
>
>So, any idea how to trouble shoot this (as it only happens on the hosted site, not locally) or what I need to do to get this working again?

What version of ASP.NET ?
This implies that only 4.0/4.5 can use full trust : https://uk.godaddy.com/help/what-trust-level-can-i-use-when-running-aspnet-2531
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform