Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
LlowDefinition='MachineToApplication' beyond application
Message
From
07/09/2016 18:03:48
 
 
To
07/09/2016 13:03:50
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
C# 4.0
Miscellaneous
Thread ID:
01640575
Message ID:
01640587
Views:
54
>Hi,
>
>I've just compiled a new version of my web application and uploaded the dll and updated aspx files to the host (GoDaddy). Now when I try to access the site (which was working immediately before) I get this:
>
>
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>
>
>Any ideas what could be causing this? The application runs fine on my local host and used to run fine with the same web.config.


It looks like GoDaddy may have changed some kind of configuration. I've narrowed it down to this line's presence in my web.config:
<trust level="Full" />
If I remove that the site runs. However that then causes me to get this error message when I try to do certain things:

xxxxx.com says:

system.security.permissions.securitypermission

I guess I need to now try to work out what's behind that error. :(
Frank.

Frank Cazabon
Samaan Systems Ltd.
www.samaansystems.com
Previous
Reply
Map
View

Click here to load this message in the networking platform