"The server is configured to use pass-through authentication with a built-in account to access the specified physical path. However, IIS Manager cannot 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. Then test these settings again."
"Cannot read configuration file due to insufficient permissions"
Solution: 1. Add IIS_IUSRS with Read permission on files in the folder 2. Change IIS authentication method to BasicAuthentication 3. refresh the website. It will work
2) This is a security feature in the SharePoint 2013 that you cannot deploy an app using System Account. So what is the alternative?
Create another account and give permissions, so that it is NOT the system account.
So I did the following: •Created a new account in AD as “admin1”
•Added “admin1” account into Farm Administrator’s group in Central Admin
•Added “admin1” account as Site Collection administrator to the target developer site
•Added “admin1” account into local administrators group
To "Run as different user" using Context Menu
1. Press and hold the Shift key
and right click on the program's shortcut or BAT, CMD, EXE, MSC, or MSI file,
then click/tap on Run as different user. (See screenshot below…