User2147096654 posted
I have a web application (VS2012, .net 4.0) which I often update, then deploy to my web server. It runs fine locally on my dev machine. Occasionally after I deploy to my web server, some of the pages won't load and give an error ("xxx.vb is ambiguous")
where xxx may be a user control. When this happens, I can delete the asp.net temp files on the server, restart IIS and the error often (but not always) goes away. But sometimes after doing that, the error will start happening for a DIFFERENT page,
that was not giving the error before deleting the temp files. And sometimes, just refreshing the page a few times will fix it. But other times, I have to re-copy the files several times from my deployment folder to the server to get things to work.
Then, sometimes, the probem will not reoccur for a few months, and then it will start happening again.
This is extremely frustrating, both to me, and to the client. Am I doing something wrong that is causing this? Any suggestions to avoid this problem?