Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Lee 1123 posts 3059 karma points
    Jun 08, 2011 @ 12:55
    Lee
    0

    Plesk Installation Woes..

    I am trying to get an existing site installed via Plesk on a server, its running on Umbraco 4.5.2 and as far as I can see everything is setup correctly

    - File Permissions 'Seem' Correct
    - ASP.NET 4 is showing as installed and running
    - Correct DB permissions

    But I'm getting the following error

    An error occurred while trying to start an integrated application instance. 
    Exception: System.IO.FileLoadException Message: Could not load file or assembly 'System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. Access is denied. 
    StackTrace: at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, 
    Boolean forIntrospection, Boolean suppressSecurityChecks) at System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& 
    stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, 
    StackCrawlMark& stackMark, Boolean forIntrospection, Boolean suppressSecurityChecks) at System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) 
    at System.Activator.CreateInstance(String assemblyName, String typeName, Boolean ignoreCase, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, Evidence securityInfo, StackCrawlMark& stackMark) at System.Activator.CreateInstance(String assemblyName, String typeName) at System.AppDomain.CreateInstance(String assemblyName, String typeName) at System.AppDomain.InternalCreateInstanceWithNoSecurity(String assemblyName, String typeName) at System.AppDomain.InternalCreateInstanceWithNoSecurity(String assemblyName, String typeName) at System.Activator.CreateInstance(AppDomain domain, String assemblyName, String typeName) at System.Web.Hosting.ApplicationManager.CreateAppDomainWithHostingEnvironment(String appId, IApplicationHost appHost, HostingEnvironmentParameters hostingParameters) at System.Web.Hosting.ApplicationManager.CreateAppDomainWithHostingEnvironmentAndReportErrors(String appId, IApplicationHost appHost, HostingEnvironmentParameters hostingParameters) at System.Web.Hosting.ApplicationManager.GetAppDomainWithHostingEnvironment(String appId, IApplicationHost appHost, HostingEnvironmentParameters hostingParameters) at System.Web.Hosting.ApplicationManager.CreateObjectInternal(String appId, Type type, IApplicationHost appHost, Boolean failIfExists, HostingEnvironmentParameters hostingParameters) at System.Web.Hosting.ProcessHost.StartApplication(String appId, String appPath, Object& runtimeInterface)

    To mean it reads as though its not running ASP.NET 4.0? And can't load it? 

    Anyone had any issues like this? How did you solve it?

  • Peter Dijksterhuis 1442 posts 1722 karma points
    Jun 08, 2011 @ 13:01
    Peter Dijksterhuis
    0

    Perhaphs your host is running asp.net 4 but failed to set permissions right in the %SYSTEM%/Microsoft.NET folder.

    Do you have read-access for network service on your website-folder?


  • Lee 1123 posts 3059 karma points
    Jun 08, 2011 @ 13:05
    Lee
    0

    Hey Peter,

    You can't set NETWORK SERVICE permissions in Plesk, you have to use the Plesk Users (See link below)

    http://our.umbraco.org/wiki/how-tos/installing-umbraco-461-on-plesk-shared-host

  • Peter Dijksterhuis 1442 posts 1722 karma points
    Jun 08, 2011 @ 13:08
    Peter Dijksterhuis
    0

    Ok, in order to test security on the %SYSTEM%-folder, you *could* upload system.web.dll to the bin-directory of your site and see if that helps?

  • Lee Kelleher 3945 posts 15163 karma points MVP 10x admin c-trib
    Jun 08, 2011 @ 14:02
    Lee Kelleher
    0

    Hi Lee,

    I've ran into this on two separate Plesk set-ups - ultimately I found out that they didn't have .NET 4.0 framework installed on the server!

    Luckily (for me), these were dedicated servers (but do all admin via Plesk) - so I just installed .NET 4.0 and manually set those sites in IIS to use the right app-pool user/process. #PITA!

    Cheers, (other) Lee.

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies