How to check which permission your assembly requires using Permcalc.exe

I was working on a case recently where the customer was a hosting service provider and his client’s hosted application was showing a server error. Specifically the error was thrown due to a security exception. Security Exception Description: The application attempted to perform an operation not allowed by the security policy. To grant this application…

0

Sample test .aspx page to display User Security Principal and Name

Hi Folks, For a case recently I was required to provide a quick sample script to display the logged in user security principal which I have attached to this post. I hope you will also find it useful. My colleagues from the French team has also posted a similar post on this: http://blogs.msdn.com/b/friis/archive/2013/01/08/asp-net-authentication-test-page.aspx Thanks, Rez…

0

Custom Error pages in IIS 7/7.5

Today I thought I would walk through how to enable custom error pages in IIS 7/7.5. Custom error pages allow you to specify the content that you want to display to users when a specific HTTP error code is received. Its a powerful technique empowering users to be aware of what has happened that caused…

0