asp.net - IIS7.5 server error 500 when web.config in subdirectory is present -


i have 2 iis7 servers working in nlb cluster, , replicated dfsr service. works.

on each 1 have asp.net application. has web.config file. file replicated, it's identical on both servers. there 1 directory not replicated. special directory put data ajax scripts. files inside updated.

then i've tried enable cors web.config file put inside special ajax directory.

it works on first server, doesn't work on second one. on second 1 error 500 when try access file in ajax directory.

i've double checked errors occur web.config content. if web.config file present in directory, web server refuses serve files there. problem not related web.config content. created file manualy, , iis manager. no matter set, if file present, 500, period.

there no such problem on first server. accepts valid configurations in web.config.

both servers use same configuration. (or @ least should be) clones.

i've checked system logs - no trace of 500s. happens? broken or misconfigured, if iis7 doesn't accept web.config file in application subdirectory?

when want use second web.config in subdirectory, need convert or containing subdirectory application in iis manager. that's all. works charm.


Popular posts from this blog

How to calculate SNR of signals in MATLAB? -

c# - Attempting to upload to FTP: System.Net.WebException: System error -

ios - UISlider customization: how to properly add shadow to custom knob image -