U4-6918 - App_Plugins folder referenced on startup causes YSOD if it doesn't exist

Created by Sebastiaan Janssen 04 Aug 2015, 14:13:01 Updated by Shannon Deminick 04 Aug 2015, 15:36:27

Just started a 7.3.0 beta3 site from scratch and got a YSOD (below). Umbraco.Web.UmbracoApplication is looking for the App_Plugins folder before it exists.

Server Error in '/' Application.

Could not find a part of the path 'D:\Dev\MySite\App_Plugins'.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.IO.DirectoryNotFoundException: Could not find a part of the path 'D:\Dev\MySite\App_Plugins'.

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:

[DirectoryNotFoundException: Could not find a part of the path 'D:\Dev\MySite\App_Plugins'.] System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +519 System.IO.FileSystemEnumerableIterator1.CommonInit() +268 System.IO.FileSystemEnumerableIterator1..ctor(String path, String originalUserPath, String searchPattern, SearchOption searchOption, SearchResultHandler1 resultHandler, Boolean checkHost) +445 System.IO.Directory.GetDirectories(String path) +70 Umbraco.Web.UmbracoApplication.OnApplicationStarted(Object sender, EventArgs e) +123 Umbraco.Core.<>c__DisplayClass5.<StartApplication>b__2(ApplicationContext appContext) +25 Umbraco.Core.CoreBootManager.Complete(Action1 afterComplete) +375 Umbraco.Web.WebBootManager.Complete(Action`1 afterComplete) +60 Umbraco.Core.UmbracoApplicationBase.StartApplication(Object sender, EventArgs e) +297 Umbraco.Core.UmbracoApplicationBase.Application_Start(Object sender, EventArgs e) +9


Shannon Deminick 04 Aug 2015, 15:36:25

Fixed in rev: d7901946829ec35dc9846707dcecb0088808a296

Priority: Normal

Type: Bug

State: Fixed




Backwards Compatible: True

Fix Submitted:

Affected versions: 7.3.0

Due in version: 7.3.0


Story Points: