Steven,
I've encountered this same problem again. The only change I've made to
my app is to remove the debug="true" setting from the web.config file.
It seemed to be running OK for a while, but is now broken again.
If I now copy & paste the details of the command line which are shown in
the error message and run it again, it now complains about multiple
references to System.Design.dll, rather than System.Xml.dll which it
mentioned before.
When I get this failure, three entries are added to the Application
event log, which I've included below. Please let me know if there's
anything else I can do to get more information about the cause of this
problem. I should also mention that I am running this web site within my
own application using the ApplicationHost.CreateApplicationHost API
rather than IIS.
Mark
===============================================
Event Type: Error
Event Source: Microsoft (R) Visual Basic Compiler
Event Category: None
Event ID: 1000
Date: 05/03/2007
Time: 07:53:57
User: N/A
Computer: DS4174
Description:
The description for Event ID ( 1000 ) in Source ( Microsoft (R) Visual
Basic Compiler ) cannot be found. The local computer may not have the
necessary registry information or message DLL files to display messages
from a remote computer. You may be able to use the /AUXSOURCE= flag to
retrieve this description; see Help and Support for details. The
following information is part of the event: vbc.exe, 8.0.50727.42,
4333eadd, vbc.exe, 8.0.50727.42, 4333eadd, 0, 0006843c.
Data:
0000: 41 00 70 00 70 00 6c 00 A.p.p.l.
0008: 69 00 63 00 61 00 74 00 i.c.a.t.
0010: 69 00 6f 00 6e 00 20 00 i.o.n. .
0018: 46 00 61 00 69 00 6c 00 F.a.i.l.
0020: 75 00 72 00 65 00 20 00 u.r.e. .
0028: 20 00 76 00 62 00 63 00 .v.b.c.
0030: 2e 00 65 00 78 00 65 00 ..e.x.e.
0038: 20 00 38 00 2e 00 30 00 .8...0.
0040: 2e 00 35 00 30 00 37 00 ..5.0.7.
0048: 32 00 37 00 2e 00 34 00 2.7...4.
0050: 32 00 20 00 34 00 33 00 2. .4.3.
0058: 33 00 33 00 65 00 61 00 3.3.e.a.
0060: 64 00 64 00 20 00 69 00 d.d. .i.
0068: 6e 00 20 00 76 00 62 00 n. .v.b.
0070: 63 00 2e 00 65 00 78 00 c...e.x.
0078: 65 00 20 00 38 00 2e 00 e. .8...
0080: 30 00 2e 00 35 00 30 00 0...5.0.
0088: 37 00 32 00 37 00 2e 00 7.2.7...
0090: 34 00 32 00 20 00 34 00 4.2. .4.
0098: 33 00 33 00 33 00 65 00 3.3.3.e.
00a0: 61 00 64 00 64 00 20 00 a.d.d. .
00a8: 66 00 44 00 65 00 62 00 f.D.e.b.
00b0: 75 00 67 00 20 00 30 00 u.g. .0.
00b8: 20 00 61 00 74 00 20 00 .a.t. .
00c0: 6f 00 66 00 66 00 73 00 o.f.f.s.
00c8: 65 00 74 00 20 00 30 00 e.t. .0.
00d0: 30 00 30 00 36 00 38 00 0.0.6.8.
00d8: 34 00 33 00 63 00 0d 00 4.3.c...
00e0: 0a 00 ..
===============================================
Event Type: Information
Event Source: Microsoft (R) Visual Basic Compiler
Event Category: None
Event ID: 1010
Date: 05/03/2007
Time: 07:53:59
User: N/A
Computer: DS4174
Description:
The description for Event ID ( 1010 ) in Source ( Microsoft (R) Visual
Basic Compiler ) cannot be found. The local computer may not have the
necessary registry information or message DLL files to display messages
from a remote computer. You may be able to use the /AUXSOURCE= flag to
retrieve this description; see Help and Support for details. The
following information is part of the event: 00000000, 0.
Data:
0000: 4e 00 6f 00 20 00 72 00 N.o. .r.
0008: 65 00 73 00 70 00 6f 00 e.s.p.o.
0010: 6e 00 73 00 65 00 0d 00 n.s.e...
0018: 0a 00 ..
===============================================
Event Type: Warning
Event Source: ASP.NET 2.0.50727.0
Event Category: Web Event
Event ID: 1310
Date: 05/03/2007
Time: 07:53:59
User: N/A
Computer: DS4174
Description:
Event code: 3007
Event message: A compilation error has occurred.
Event time: 05/03/2007 07:53:59
Event time (UTC): 05/03/2007 07:53:59
Event ID: 9a63765c24d3406ea85c0fcdc06409b2
Event sequence: 106
Event occurrence: 19
Event detail code: 0
Application information:
Application domain: 90b4942e-4-128171026806530168
Trust level: Full
Application Virtual Path: /
Application Path: C:\test\Web Site\
Machine name: xxxx
Process information:
Process ID: 1580
Process name: Service.exe
Account name: NT AUTHORITY\SYSTEM
Exception information:
Exception type: HttpCompileException
Exception message: External component has thrown an exception.
Request information:
Request URL:
http://test/Default.aspx
Request path: /Default.aspx
User host address: xxx.xxx.xxx.xxx
User:
Is authenticated: False
Authentication Type:
Thread account name: NT AUTHORITY\SYSTEM
Thread information:
Thread ID: 16
Thread account name: NT AUTHORITY\SYSTEM
Is impersonating: False
Stack trace: at System.Web.Compilation.AssemblyBuilder.Compile()
at System.Web.Compilation.BuildProvidersCompiler.PerformBuild()
at
System.Web.Compilation.ThemeDirectoryCompiler.GetThemeBuildResultType(String
themeName)
at
System.Web.Compilation.ThemeDirectoryCompiler.GetThemeBuildResultType(HttpContext
context, String themeName)
at System.Web.UI.Page.InitializeThemes()
at System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest()
at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context)
at System.Web.UI.Page.ProcessRequest(HttpContext context)
at ASP.default_aspx.ProcessRequest(HttpContext context)
at
System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step,
Boolean& completedSynchronously)
Custom event details:
For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.