asp.net 5 iis HTTP Error 500.19 - Internal Server Error

Code Example - asp.net 5 iis HTTP Error 500.19 - Internal Server Error

                
                        The identity under which your web application runs in IIS does not have full access to the folder 
in which the web.config file is found. Which version of IIS are you using? 
Assuming 7, you can view/change the identity through the 'Advanced Settings' 
of the application pool that hosts your application. Folder permissions can be 
granted via Windows Explorer in the usual way.