Hello Mark,
From your description, I understand you occassionally get a compilation
error in your ASP.NET web application. And the error is raised from the
Theme's compilation.
Based on my experience, such issue is ususally caused by inconsistent
assembly set producted by ASP.NET application dynamic compilation. For
ASP.NET 2.0 web application, most content are dynamically compiled, and
different page or components may be compiled into separate dynamic
assemblies. The problem is that when application restart, there may occur
inconsistency between new dynamic compiled assemblies and the old cached
ones.
Are you getting the error right after you deploy the application or is the
application developed recently? One common setting you can check is the
<compilation debug="true/false" /> in web.config. For deployment scenario,
you should always set it to "false" (release mode) so that ASP.NET runtime
will try dynamic compile application stuffs in batch mode(avoid separate
assemblies). If you haven't turn if off, try turn it off as release mode to
see whether the behavior remains.
In addition, since the error is quite general which is hard to
troubleshoot, for such issue, we would recommend that you try simplifed
the application project to a simple one that can repro the same behavior.
This will be helpful for further troubleshooting.
Sincerely,
Steven Cheng
Microsoft MSDN Online Support Lead
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif ications.
Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx. ==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.