c# - CS0103: The name 'xxxx' does not exist. This randomly occurs -
i have researched quite bit , while can find number of articles on general issue , code, unfortunately none quite have.
environment: have 2 web servers running windows 2012 , iis 8. running .net 2-4.5
web server 1: our main server runs our main websites , web applications
web server 2: runs our client websites
code: both sets of code uncompiled. both shared code , client websites .net 4 sites.
scenario
on web1 have set of website code shared amongst number of client websites. on web2 client site set in iis , sub directory of app_code virtual directory pointing folder in shared code on web1. have virtual folder points web1 code well. have on 100 websites running in fashion on couple of months.
recently couple of our clients have contacted receiving error when browsing parts of website served these virtual directories. file references in error message in modules folder in virtual directory. .cs file.
it seems 1 website @ time , if make change forces iis 'recompile' site (meaning make slight change web.config, save , change , save again), error disappears , web site starts working correctly. when check other sites in exact same setup 1 failing, not errors , work correctly.
we whits end issue seems random. issue has started occurring in last week or @ least first have seen of it.
we @ point believe might iis 8 issue , might occurring when trying recompile client web site due randomness , 'easy fix' difficult troubleshoot or know go looking issue.
any appreciated.
thanks
don
what error you're having? based on said, behavior random , points on c# file, not can said , guesses make...
Comments
Post a Comment