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?
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!
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
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?
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?
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
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?
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.
is working on a reply...