Windows 7 upgrade causing build errors

Discussion in 'ASP .Net Security' started by Paul Hale, Aug 24, 2009.

  1. Paul Hale

    Paul Hale Guest

    I keep getting this error when trying to build my project...

    Error 2 Request for the permission of type
    'System.Web.AspNetHostingPermission, System, Version=2.0.0.0,
    Culture=neutral, PublicKeyToken=b77a5c561934e089'
    failed. X:\Inetpub\wwwroot\funnystatusmessages_DEV\Default.aspx 53

    Was working fine under Vista but since I installed W7 RTM I am having
    nothing but problems when trying to build my projects. My projects are not
    local and reside on my Win2008 dev server.

    I have tried running the following command and restarting VS2008 buy still
    no joy...


    caspol -m -ag 1.2 -url exactpathofproject\* FullTrust

    Can someone please help this is slowing my productivity down no end?
     
    Paul Hale, Aug 24, 2009
    #1
    1. Advertising

  2. Paul Hale

    Paul Hale Guest

    Finally solved this by deleting the ajaxcontroltoolkit.dll and reinserting in
    all of my projects. Strange but it worked!

    "Paul Hale" wrote:

    > I keep getting this error when trying to build my project...
    >
    > Error 2 Request for the permission of type
    > 'System.Web.AspNetHostingPermission, System, Version=2.0.0.0,
    > Culture=neutral, PublicKeyToken=b77a5c561934e089'
    > failed. X:\Inetpub\wwwroot\funnystatusmessages_DEV\Default.aspx 53
    >
    > Was working fine under Vista but since I installed W7 RTM I am having
    > nothing but problems when trying to build my projects. My projects are not
    > local and reside on my Win2008 dev server.
    >
    > I have tried running the following command and restarting VS2008 buy still
    > no joy...
    >
    >
    > caspol -m -ag 1.2 -url exactpathofproject\* FullTrust
    >
    > Can someone please help this is slowing my productivity down no end?
    >
    >
     
    Paul Hale, Aug 24, 2009
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Mark Goldin

    Errors, errors, errors

    Mark Goldin, Jan 17, 2004, in forum: ASP .Net
    Replies:
    2
    Views:
    985
    Mark Goldin
    Jan 17, 2004
  2. Pedro Mir
    Replies:
    2
    Views:
    446
    Winista
    Jun 20, 2006
  3. Guest
    Replies:
    6
    Views:
    14,225
    Sravani
    May 19, 2012
  4. Lance Wynn
    Replies:
    1
    Views:
    1,874
    Lance Wynn
    Feb 3, 2008
  5. Replies:
    5
    Views:
    302
    Dr.Ruud
    Jul 5, 2006
Loading...

Share This Page