all groups > dotnet general > may 2004 >
You're in the

dotnet general

group:

Strange compilation error message



Strange compilation error message Jill Graham
5/23/2004 3:06:57 PM
dotnet general: Hi,

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

Re: Strange compilation error message Calvin Luttrell/ProjectThunder.com
5/23/2004 11:23:03 PM
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.=20

-Calvin Luttrell
ProjectThunder.com


[quoted text, click to view]
AddThis Social Bookmark Button