"VirtualPath was outside the current application root" VS2013 ASP.Net error

If you are working on ASP.NET application running under IIS with Visual Studio 2013 IDE, when you open the application in browser  you may get the error message "VirtualPath was outside the current application root”.

This only happens when Visual Studio 2013 is open. To resolve this issue, deselect “Enable Browser Link” option inside Visual Studio as shown in the below image

Browser Link is just a channel between your Visual Studio IDE and any open browser. This will allow dynamic data exchange between your web application and Visual Studio.

More details on this feature is available here.


    Blogger Comment
    Facebook Comment