When I start IIS on a site, I get a "HTTP Error 500.19"
Error Code 0x80070005 Config Error Cannot read configuration file due to insufficient permissions Config File \\?\c:\somepath\web.config
I think the site config file is messed up. It has '\?' in the beginning of the path of the config file. When I go to IIS manager, I don't see a way to fix that.
Can you please tell me how can I fix it?
\\?\c:\ is how you pass a path to Windows when you think the fully qualified file name may be longer that 260 characters. The file path functions in Windows are limited to 260 characters for file names that start
c: but the limit is 32767 characters for Unicode file names that start
First thing to do is to check the file at
c:\somepath\web.config to make sure that the IIS account has access to it.
User contributions licensed under CC BY-SA 3.0