UnauthorizedAccessException in TESTWINDOW\App_Data

When performing Unit Tests in Visual Studio 2015 in debug mode, I stumbled upon the exception UnauthorizedAccessException.

An exception of type System.UnauthorizedAccessException occurred in System.Web.dll but was not handled in user code.

Additional information: Access to path C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO 14.0\COMMON7\IDE\COMMONEXTENSIONS\MICROSOFT\TESTWINDOW\App_Data is denied.

03jan2016-unauth1

I looked into the folder of the error message but could not see the App_Data in it.

03jan2016-unauth2

So I try my luck and create the folder ‘App_Data’ => and, voilá, it works 🙂

Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s