HiI have just upgraded my development machine (Vista sp1, VS2008) to 9.1 and I am having the following error with static files. Any dynamic files are returned OK, but any static files, htm, images etc give the error. Anyone have an idea as to why?A request for http://localhost/ig_common/20091CLR35/Forms/WebSchedule/AppointmentAdd.aspx works OK (well apart from all the missing images) but a request for http://localhost/ig_common/20091CLR35/Forms/WebSchedule/print.htm gives the following error:Server Error in Application "DEFAULT WEB SITE/IG_COMMON"Internet Information Services 7.0Error SummaryHTTP Error 500.19 - Internal Server ErrorThe requested page cannot be accessed because the related configuration data for the page is invalid.Detailed Error InformationModule CustomErrorModuleNotification SendResponseHandler StaticFileError Code 0x80070021Config Error Lock violationConfig File \\?\C:\inetpub\wwwroot\aspnet_client\Infragistics\web.configRequested URL http://localhost:80/ig_common/images/BlueExplorer.gifPhysical Path C:\inetpub\wwwroot\aspnet_client\Infragistics\Images\BlueExplorer.gifLogon Method AnonymousLogon User AnonymousConfig Source 12: <handlers accessPolicy="Read, Script"/> 13: <staticContent enableDocFooter="false" isDocFooterFileName="true" defaultDocFooter=""> 14: <clientCache cacheControlMode="NoControl"/></staticContent>Links and More Information This error occurs when there is a problem reading the configuration file for the Web server or Web application. In some cases, the event logs may contain more information about what caused this error.View more information »
Hi,
Refere the below link and resolve the problem.
http://weblogs.asp.net/mschwarz/archive/2008/11/07/appcmd-migrate-and-http-error-500-22-things-you-can-try.aspx
Regards,
Kannan.S
Kannan.S, that article is about a different error with different causes. I am not migrating or creating the web.config(s) that cause my error.
Hello All,
I have the same problem!
There is several ways to solve it. But it would be better to hear the official solution for this!..
PS: Reinstalling .Net for working environment is not the solution!
Thank you!
Hi all,
I have the same problem, and I solve it by deleting the web.config file.
Is there any official solution? Or, at least tell me any side effect on doing this?
Thanks.
did you ever find a proper solution to this problem?
It seems to me just removing those lines from the web.config is not a real answer.
I have the same problem using v2010. This thread has been open for some time, surely someone knows how to address this by now?