We have developed ASP.NET (4.0 Framework) web application named as SampleWebApp and deployed in IIS7.
Instead of placing the web application for deployment in Inetput folder of the Server we are placing it in sharepath of another server.
Below are the details for the scenario:
Server Name where IIS is installed : xyz1000
Physical Sharepath where we place the published ASP.NET Application :\\xyz1111\SharePath\ SampleWebApp
Authentication Mode : Windows
In the AppPool Identity we have tried with ApplicationPoolIdentity,NetworkService,LocalService and LocalSystem
we are getting the below error when we request Default.aspx of the SampleWebApp Application
HTTP Error 500.19 - Internal Server Error
The requested page cannot be accessed because the related configuration data for the page is invalid. Detailed Error Information
Module IIS Web Core
Handler Not yet determined
Error Code 0x80070005
Config Error Cannot read configuration file due to insufficient permissions
Requested URL http://xyz1000:80/SampleTestApp/Default.aspx
Physical Path \\xyz1111\SharePath\SampleWebApp\Default.aspx
Logon Method Not yet determined
Logon User Not yet determined
When i googled for solution people are suggesting to add IIS_IUSRS to the folder (ie \\xyz1111\publisedWebApp)
So I right the folder SampleWebApp in the path \\xyz1111\SharePath\SampleWebApp\Default.aspx and clicked on properties -> Security->Edit Add after i enter IIS_IUSRS to check for names it says the object not found.
So i went to check such user in computer Mangement of the server xyz1000 where IIS had been installed there is no such user but i can see such GROUP.
But i dont know how to resolve this issue. Please help.
When i put some sample application in the Inetpub folder of the server machine xyz1000 where IIS had been installed it worked fine.
But when i put the application in shared path \\xyz1111\publisedWebApp its not working