Server Error in ‘/’ Application

Recently I started developing a solution in Vs 2008 , after creating all the pages and controls I started building the solution and I came up with following error

Server Error in ‘/’ Application.

System.Security.SecurityException: Request for the permission of type ‘System.Web.AspNetHostingPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089’ failed

After so much brainstorming and googling I found that there is one small mistake I made … which is causing the error

I am running solution out of  Shared /Remote drive i.e.  Solution folder is on the Shared /Remote Drive. So please check you solution location, when you will see this error in future !!!

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

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