I recently came across this error while upgrading an old ASP.NET application from IIS6 to IIS7…
401 Unauthorized: Access is denied due to invalid credentials
There are times where you may need to take an ASP.NET application offline to perform maintenance.
In this post I'll show you how to do exactly that using the out-of-the-box capabilities of IIS / ASP.NET.Continue reading
So what do you do if you come across this error in Visual Studio?
System.Security.SecurityException: Request for the permission of type ‘System.Web.AspNetHostingPermission, System, Version=18.104.22.168, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
The error typically occurs when you download files from an external source into your Visual Studio project. Windows will recognise the file came from an external source and restrict permissions.