Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Invalid application path

Tags:

iis-7

IIS7 Windows 7 64bit

No matter what I do I can't seem to add an application to a web site.

When I 'Test settings' I get "Invalid application path".

Any one have a guess as to what I could be doing wrong?

screenshot

like image 841
foo Avatar asked Apr 26 '11 17:04

foo


4 Answers

When I got this error it appeared to be due to a security setting. When I changed the "Connect As" property to an administrator then I no longer got the message.

Obviously this isn't a good solution for a production environment - one should probably grant the least privileges necessary for the user IIS is going to be using by default. I'll update this answer if I learn more.

like image 132
pettys Avatar answered Dec 02 '22 12:12

pettys


The error message might be a bug. I ignored it and everything worked for me.

IIS Invalid Application Path Screen Shot

See Here: http://forums.iis.net/t/1177952.aspx

and here http://forums.iis.net/p/1182820/2000936.aspx

like image 37
Aaron Hoffman Avatar answered Dec 02 '22 11:12

Aaron Hoffman


I eventually tracked this down to the Anonymous Authentication Credentials. I don't know what had changed, because this application used to work, but anyway, this is what I did: Click on the Application -> Authentication. Make sure Anonymous Authentication is enabled (it was, in my case), but also click on Edit... and change the anonymous user identity to "Application pool identity" not "Specific user". Making this change worked for me.

Regards.

like image 41
john_cat Avatar answered Dec 02 '22 11:12

john_cat


Go to your HTTP bindings in IIS (select your website, then on the right click on Bindings...). Delete your SSL and your HTTP binding. Re-Add them.

This usually fixes this for me.

like image 35
Ryan Ternier Avatar answered Dec 02 '22 12:12

Ryan Ternier