Either Windows Server 2008 R2 with SP1 and IIS 7.5 has some issues with applications and pass through authentication or something strange has gone wrong on my server. I have moved back to Windows Server 2008 R2 with IIS7.0 and initial issue with "Invalid
application path" error in IIS manager has gone away. Case closed... sort of.
Marked as answer by Leo Tang - MSFT on May 09, 2011 02:40 AM
zvonimirzg
10 Posts
Re: Error message: Invalid application path
May 08, 2011 07:59 PM|LINK
Either Windows Server 2008 R2 with SP1 and IIS 7.5 has some issues with applications and pass through authentication or something strange has gone wrong on my server. I have moved back to Windows Server 2008 R2 with IIS7.0 and initial issue with "Invalid application path" error in IIS manager has gone away. Case closed... sort of.
Jaaanosik
16 Posts
Re: Error message: Invalid application path
Aug 18, 2011 04:16 PM|LINK
Hello,
The same here, Windows Server 2008 R2 SP1, IIS 7.5. Is this something to be worried about?
The application works though.
Thanks for any comments, hints, ...
HCamper
8048 Posts
Re: Error message: Invalid application path
Aug 19, 2011 12:53 AM|LINK
Hello,
I suggest you check IIS Net Reference http://www.iis.net/ConfigReference/system.applicationHost/sites/site/application/virtualDirectory
Guide using the information and settings images to verify the physical location permissions and user access.
You might change the "Application Pool being used and the error may change or go away.
Not knowing more it hard to tell.
Martin
Community Member Award 2011
Jaaanosik
16 Posts
Re: Error message: Invalid application path
Aug 19, 2011 04:25 PM|LINK
I read the info provided in your link with no luck though.
I followed http://www.iis.net/ConfigReference/system.applicationHost/sites/site/application instructions how to add a simple application to a site but I am still getting 'Invalid application path' when I try to test connection.HCamper
8048 Posts
Re: Error message: Invalid application path
Aug 19, 2011 05:13 PM|LINK
Hi,
You might check the Dot Net Migration Guide http://msdn.microsoft.com/en-us/library/ff657133.aspx
to see if there are issues related to the application.
Other than the error message and no system
or application information is is hard to answer.
Martin
Community Member Award 2011
Jaaanosik
16 Posts
Re: Error message: Invalid application path
Aug 19, 2011 06:22 PM|LINK
I've created a clean new site:
<site name="mysite" id="8">
<application path="/" applicationPool="mysite">
<virtualDirectory path="/" physicalPath="C:\inetpub\wwwroot\mysite" />
</application>
<application path="/php" applicationPool="mysite">
<virtualDirectory path="/" physicalPath="C:\inetpub\wwwroot\mysite\php" />
</application>
<bindings>
<binding protocol="http" bindingInformation="*:8085:" />
</bindings>
</site>
One 'php' application added.
Basic Settings/Test settings... the same result.
HCamper
8048 Posts
Re: Error message: Invalid application path
Aug 20, 2011 08:04 AM|LINK
Hello,
What are the properties for the "Default" "Application Pool" User and permissions using a "Built-In Account" ?
Have you verified the permissions for "mysite" and "php" and the "Application Pool" being used ?
Is the "Application Pool" using the load "User Profile" for the Account ?
Martin
Community Member Award 2011
Jaaanosik
16 Posts
Re: Error message: Invalid application path
Aug 20, 2011 05:15 PM|LINK
Thanks Martin,
All the rights are OK. IIS_IUSRS group has read/execute permissions. DefaultApplPool is member of the IIS_IUSRS group.
Even changing it to Full control does not help.
As I mentioned the application works. It seems that 'Test Settings...' for pass through authentication is a joke right now.
If that's the case MS just should say so and not to keep people in the dark. :)
HCamper
8048 Posts
Re: Error message: Invalid application path
Aug 20, 2011 05:41 PM|LINK
Ok,
If the Web Site and Applications operate correctly that is what really matters.
Martin
Community Member Award 2011
Maria-K
1 Post
Re: Error message: Invalid application path
May 04, 2012 07:20 AM|LINK
Create locale admin account on server/computer.
IIS: Add Appliation, Connect as your local admin.
That worked for me.