This post is also available in: Slovenian
On one of the website’s subpage suddenly appeared warning internal error 500 like all of a sudden can not verify access to path where is located the Web page. Subpage on the Microsoft IIS 7 is arranged as a virtual directory of the main website.
A full description of the error is:
The server is Configured to use pass-through authentication with a built-in account to access the Specified physical path. However, IIS Manager can not verify whether the built-in account has access. Make sure That the application pool identity has Read access to the physical path. If this server is joined to a domain, and the application pool identity is NetworkService or LocalSystem, verify That $ has Read access to the physical path. ….
If I look at the properties of the virtual directory I can see that there is something wrong with the authorization and gives me warning Authorization can not verify access to path.
As the solution did not help either to delete and re-create the virtual directory and check folders’ permissions to be like on other websites. Nothing solved the problem as it always threw out the error 500.
Of course, at the end I found out that the great culprit was Application pool. I deleted the app pool and add web subsite as the application pool under the app pool of the main website, and there replace in Advanced Settings in the section Process Model in the Load User Profile from False to True.
Solution step by step
1. In IIS Manager, under Connections select Application pools
2 Find real Application pool (right-click in the pool and under the View applications to see which websites / applications are associated with a particular application pool)
3. Select the Advanced Settings .. then under Process Model change the Load User Profile to be True
Restart website in IIS and authentication is no longer in dispute.
The solution also applies to other versions of IIS for example. 6, and probably also in the IIS 8.