iis - HTTP Error 500.19 - Internal Server Error Cannot read configuration file -


i have been searching error on internet no matter try fix problem nothing works. , detailed message got after copied url fiddler , put in browser , follows.

module iis web core

notification beginrequest

handler not yet determined

error code 0x80070003

config error cannot read configuration file

config file \?\c:\inetpub\wwwroot\myservices\web.config

actually has happened in past had service called "myservices" working fine when used visual studio create virtual directory in iis. did, tried web deploy of service in iis , removed ("myservices" default web site tree had created creating virtual directory within vs 2013). , observed is, after web deployed "myservices" didn't work same way working when (i created virtual directory "myservices" in iis through vs2013 had removed see whether web deployed version of behave same way). therefore when analyzed cause of http error 500.19 through fiddler (for web deployed service) said (config error cannot read configuration file , config file \?\c:\inetpub\wwwroot\myservices\web.config) when physically try folder c:\inetpub\wwwroot never find myservices folder such (what talk of web.config file in it). manually created folder called "myservices" in c:\intepub\wwwroot directory , put web.config file there see if web deployed service still work, didn't. removed folder called "myservices" , web.config file inside of , removed web deployed service default web site tree.

and after mess if go visual studio , try create virtual directory service "myservices" (i can see in default web site tree in iis ) throw same error http 500.19 web deployed version of service. in other words whatever tried messed services when it's not web deployed version not case. literally request out there please guide/suggest me whatever experience have went wrong in trial , error endeavor of mine.

thanks

this may long shot, web.config files corrupted (our code repository this) , cannot see naked eye. take simple web.config file know not corrupt , start rebuilding file there if works. have used hex editor (like xvi32) can see corruption, easier rebuild fresh file.

if problem not web.config virtual folders, same methodology. start on works , go there. web deploy tool causing corruption.