Re: Strange compilation error message

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Calvin Luttrell/ProjectThunder.com (calvinl_at_projectthunder.com)
Date: 05/24/04


Date: Sun, 23 May 2004 23:23:03 -0700

Jill,
Just as an experiment try disabling anti-virus software on that machine meaning the server. Make sure you re-enable it after your test.

-Calvin Luttrell
ProjectThunder.com

> From time to time, I receive following error message when trying to access
> my website.
> When the error occurs, I have to recompile my dll until the error disappears
> (this without changing anything in my code).
> Where does this error come from ? What can I do to solve the problem ?
> Compilation Error
> Description: An error occurred during the compilation of a resource required
> to service this request. Please review the following specific error details
> and modify your source code appropriately.
>
> Compiler Error Message: CS0030: Cannot convert type
> 'System.Web.HttpApplication' to 'ASP.Global_asax'
>
> Source Error:
>
>
> Line 438: protected ASP.Global_asax ApplicationInstance {
> Line 439: get {
> Line 440: return
> ((ASP.Global_asax)(this.Context.ApplicationInstance));
> Line 441: }
> Line 442: }
>
> Source File: c:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET
> Files\emagic.net.website\1a713704\55d0ac6a\5rffbzub.0.cs Line: 440
>
>



Relevant Pages

  • Adding Web.Config file broke my website!
    ... I added a small Web.Config file to the root of my website so that I ... Is the .NET framework not installed ... Server Error in '/' Application. ... Compilation Error ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: companyweb, Monitoring and Performance and Backup not working!
    ... it affects IIS server as a whole. ... It's very rare to see the same problem on two different web sites (default and companyweb) ... the error message changed to: ... > Compilation Error ...
    (microsoft.public.windows.server.sbs)
  • Re: Project Portfolio Server 2006 - Error
    ... I apoligize if this is the wrong place to ask for help, ... I am attempting to install and configure the version of Project Portfolio ... Server 2006 that recently became available on MSDN. ... Compilation Error ...
    (microsoft.public.office.developer.office.sdks)
  • SOLVED!! CS0016 Compilation Error: Finally I got the solution
    ... CS0016 Compilation Error on Windows 2003" ... DON'T INSTALL ANY ANTIVIRUS ON YOUR SERVER!!! ... DON'T INSTALL ANY FIREWALL SOFTWARE ON YOUR SERVER!! ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Compilation error - consuming a web service
    ... >I am encountering a compilation error where I can't find any solution ... The error message is: ... > Projects\BizTalk Server Project2\Web References\Project ...
    (microsoft.public.biztalk.general)