Results 1 to 4 of 4

Thread: Required permissions cannot be acquired

  1. #1

    Thread Starter
    Fanatic Member InvisibleDuncan's Avatar
    Join Date
    May 2001
    Location
    Eating jam.
    Posts
    819

    Required permissions cannot be acquired

    I've recently installed VS 2003 to work on an existing web project (I already had 2005 and 2008 installed), but I'm getting an annoying problem when I try to run it. I get a browser page with an error message of:

    Code:
    Required permissions cannot be acquired
    It then pinpoints the problem as being in line 198 of my machine.config, which is:

    Code:
    <add assembly=*/>
    I've changed the ASP.Net version to 1.1.4322 in the appropriate places, and other people in the team can run the project happily using an identical machine.config (they used a copy of mine).

    No doubt this requires only a simple tweak, but could anyone volunteer to tell me what that tweak is?

    Thanks...
    Indecisiveness is the key to flexibility.

    www.mangojacks.com

  2. #2
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,173

    Re: Required permissions cannot be acquired

    Are you in a medium trust environment? Look for a <trust level=.......> somewhere in the machine.config or web.config.

  3. #3

    Thread Starter
    Fanatic Member InvisibleDuncan's Avatar
    Join Date
    May 2001
    Location
    Eating jam.
    Posts
    819

    Re: Required permissions cannot be acquired

    I guess it was the trust environment, although I couldn't find it specified anywhere in the configs. In the end, I copied everything from the network drive it was on to my C:\ drive, and it now seems happy. All a bit of a rigmarole, though.
    Indecisiveness is the key to flexibility.

    www.mangojacks.com

  4. #4
    ASP.NET Moderator gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,963

    Re: Required permissions cannot be acquired

    Hey,

    Can you remember to go back and mark your thread as resolved?

    Thanks

    Gary

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width