Meeting the needs of your business from a distance

Request for the permission of type 'System.Web.AspNetHostingPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.

by Mark Shiffer 10/16/2007 10:18:00 PM
After moving my projects to a share on the server so that they could be automatically backed up (I have installed source control yet as Team Foundation Server is giving me fits about all sorts of stuff. That is one of the pickiest installs I have ever seen!), I started receiving the following error when I tried to compile my website: "Request for the permission of type 'System.Web.AspNetHostingPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed." I did a little searching and found that I could add full trust for the share at the machine level to solve the issue. The command was: CasPol.exe -q -m -ag 1.2 -url file://s:\Mark\* FullTrust -n s:\Mark -d "FullTrust granted to: s:\Mark".

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: ,

Issues

Related posts

Add comment


(Will show your Gravatar icon)  

  Country flag





Live preview

July 9. 2008 00:09

About the author

Name of author Mark Shiffer
CEO & CIO of MS Consulting

E-mail me Send mail

Calendar

<<  July 2008  >>
MoTuWeThFrSaSu
30123456
78910111213
14151617181920
21222324252627
28293031123
45678910

View posts in large calendar

Pages

    Recent posts

    Recent comments

    Disclaimer

    The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

    © Copyright 2008

    Sign in

    Copyright © 2001-2008 MS Consulting, Inc. All Rights Reserved.