Update:
Since my last post I found out that this problem was not machine
specific, the problem did not occur until the second time I went into
the machine to test (after a reboot). I found this out because I
removed the first 3rd party dll that I was working with so I wouldn't
get the error but then I started using a second 3rd party dll,
everything was working fine for a while and then suddenly I started
getting the error again.
I searched on their web site (
http://www.telerik.com/) and found the
following:
RESOLUTION:
The cause of the problem is not directly related to the telerik
controls -- that is a strange ASP.NET bug that is present in both
versions 1.0 and 1.1. It appears that ASP.NET does not properly
synchronize its shadow copy of the assemblies in the web application's
bin folder when the project gets rebuilt and the web application is
restarted. That happens most often when impersonation has been turned
on in the web.config by adding the tag:
<identity impersonate="true" />
It turns out that such problems occur when the web application is
restarted after recompilation only. Cleaning the Temporary ASP.NET
Files folder seems to remove the problem until the next application
compile. Possible workarounds for the problem might be:
- disabling the impersonation setting on the development machine, and
enabling it on deployment
- storing the offending assemblies in the Global Assembly Cache on
the development machine
I tried the first work-around and sure enough I no longer get the
error.
I know this doesn't fix the problem but I hope it helps.
Lisa..