After Windows 7 SP1 IIS errors with "Invalid application path"

25,785

Solution 1

Doublecheck that your specific version of ASP.NET is allowed in IIS as follows:

  1. Select the top (root) server in IIS Manager.
  2. Doubleclick ISAPI and CGI Restrictions.
  3. If your version of ASP.NET is Not Allowed, right click and Allow it.

This solved it for me, hope it works for you too.

Solution 2

I had same problem, here is my solution.

  1. Check the application pool your application is using.
  2. Click on application pool and click on Advanced settings, will lead to new window.
  3. Check the .NET Framework version
  4. Set Load User Profile to True
  5. Set ping enabled to True

Solution 3

I had the same problem, solved by giving explicit permissions to IIS_IUSRS in the folder where my application is.

Solution 4

Something that worked for me was to Allow 32bit applications on the applicationpool.

It seem that the application I ran was a 32bit one

HTH

Share:
25,785

Related videos on Youtube

sergiopereira
Author by

sergiopereira

Updated on September 17, 2022

Comments

  • sergiopereira
    sergiopereira over 1 year

    I'm getting this new, strange error message in IIS after updating Windows 7 (x64) with SP1.

    1. Open the IIS Manager
    2. Browse to an exisiting Virtual Application (or create a new one)
    3. Open its Basic Settings dialog
    4. Click Test Settings
    5. The error message comes up

    It's happening with new Applications and also with ones that were already there (and without that problem) before.

    The applications themselves continue to work.

    Has anybody figured this one out yet?

    • erikbra
      erikbra about 13 years
      What path is your website root set to? * Does the path exist? * Does your IIS user have access to the path? * Try adding a simple .gif to the path. Can you access it? * If successful, try an ASP.NET page. Does it work?
    • Admin
      Admin almost 13 years
      @Erik, there are no problems opening the site in the browser, seeing the pages of images. The problem I'm asking about is in the IIS Manager.
    • erikbra
      erikbra almost 13 years
      But, what does the error message say? Are you sure you're not using Integrated Security, and the IIS Manager is unable to test this, as you're not authenticated when running through IIS Manager?
  • Admin
    Admin about 13 years
    What explicit permission did you give. I tried giving it Full Control and it didn't help. Just to be clear, I had all the right permissions before Win7-SP1. Clicking Test Settings back then used to work just fine.
  • Admin
    Admin about 13 years
    Just Read, nothing fancy...
  • Admin
    Admin almost 13 years
    I had tried that already. Tried again. Made no difference.
  • Remi Despres-Smyth
    Remi Despres-Smyth about 11 years
    Your answer seems to be missing information. Might want to fix that, or remove it, if you don't want to be down-voted.
  • Brad Bruce
    Brad Bruce almost 10 years
    Thank you. Many questions come out of this. I wonder why they make this the default. Why isn't this the first answer when looking up this error? the list goes on.