Compilation Error - somedll.dll could not be found

K

Kevin R.

I have been ignoring this problem for a few weeks now, but it's becoming
a bit annoying not to mention unproductive. Here it goes:

I compile my project with no errors. Then after I debug/run it, I get
the runtime error noted at the end of this message. If I re-compile
(without any changes) and re-run, then my project will run OK. This
behavior is very consistent. Another words, the only way I can run an
ASP.NET application is if I compile it with no errors, run it (which
gives me the runtime error), compile it again, and subsequently run it
successfully. I have searched the boards here for same or similar
problems. Based on suggestions I have stopped the index server and my
virus scanner is off. Anyone has any ideas? This is driving me nuts!
Here is the error. Please note that all the dll files not found are
indeed in the "temporary asp.net files" folders:

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: CS0006: Metadata file
'c:\winnt\microsoft.net\framework\v1.1.4322\temporary asp.net
files\chain\40d128cb\96790087\assembly\dl2\609df656\00664954_ec4bc301\mi
crosoft.samples.security.sspi.dll' could not be found

Source Error:
[No relevant source lines]
Source File: Line: 0
Show Detailed Compiler Output:
C:\WINNT\system32> "c:\winnt\microsoft.net\framework\v1.1.4322\csc.exe"
/t:library /utf8output
/R:"c:\winnt\assembly\gac\system.web.services\1.0.5000.0__b03f5f7f11d50a
3a\system.web.services.dll"
/R:"c:\winnt\microsoft.net\framework\v1.1.4322\temporary asp.net
files\chain\40d128cb\96790087\assembly\dl2\1b39bf10\00b09edc_d76dc401\ec
ontrols.web.ui.webcontrols.dll"
/R:"c:\winnt\microsoft.net\framework\v1.1.4322\temporary asp.net
files\chain\40d128cb\96790087\assembly\dl2\d6662db4\008c8414_884cc301\fe
rantpopup.dll"
/R:"c:\winnt\assembly\gac\peterblum.adme\1.0.0.4990__d3fa66862faffb3b\pe
terblum.adme.dll"
/R:"c:\winnt\microsoft.net\framework\v1.1.4322\temporary asp.net
files\chain\40d128cb\96790087\assembly\dl2\609df656\00664954_ec4bc301\mi
crosoft.samples.security.sspi.dll"
/R:"c:\winnt\microsoft.net\framework\v1.1.4322\temporary asp.net
files\chain\40d128cb\96790087\assembly\dl2\8609a869\00341404_ba8ec301\ca
mbro.web.dbcombo.dll"
/R:"c:\winnt\assembly\gac\system.enterpriseservices\1.0.5000.0__b03f5f7f
11d50a3a\system.enterpriseservices.dll"
/R:"c:\winnt\assembly\gac\system.web.mobile\1.0.5000.0__b03f5f7f11d50a3a
\system.web.mobile.dll"
/R:"c:\winnt\assembly\gac\system.data\1.0.5000.0__b77a5c561934e089\syste
m.data.dll" /R:"c:\winnt\microsoft.net\framework\v1.1.4322\temporary
asp.net
files\chain\40d128cb\96790087\assembly\dl2\79fc8e72\0026603a_5e9ec301\pe
terblum.pdptovam.dll"
/R:"c:\winnt\microsoft.net\framework\v1.1.4322\temporary asp.net
files\chain\40d128cb\96790087\assembly\dl2\409358b2\e5804bfb_c88bc401\ch
ain.dll" /R:"c:\winnt\microsoft.net\framework\v1.1.4322\temporary
asp.net
files\chain\40d128cb\96790087\assembly\dl2\d6f04f5d\00836ddb_d76dc401\ec
ontrols.shared.dll"
/R:"c:\winnt\microsoft.net\framework\v1.1.4322\temporary asp.net
files\chain\40d128cb\96790087\assembly\dl2\dc818fc0\00045927_60b0c301\in
fragistics.webui.ultrawebgrid.v2.dll"
/R:"c:\winnt\microsoft.net\framework\v1.1.4322\mscorlib.dll"
/R:"c:\winnt\microsoft.net\framework\v1.1.4322\temporary asp.net
files\chain\40d128cb\96790087\assembly\dl2\eef2a259\005c1a65_e8dac301\mi
crosoft.samples.runtime.remoting.security.dll"
/R:"c:\winnt\microsoft.net\framework\v1.1.4322\temporary asp.net
files\chain\40d128cb\96790087\assembly\dl2\6f87bfce\00f92e39_5e9ec301\pe
tersdatepackage.dll"
/R:"c:\winnt\assembly\gac\system.drawing\1.0.5000.0__b03f5f7f11d50a3a\sy
stem.drawing.dll"
/R:"c:\winnt\microsoft.net\framework\v1.1.4322\temporary asp.net
files\chain\40d128cb\96790087\assembly\dl2\e957a760\00b8bdec_b892c301\in
fragistics.webui.ultrawebtab.v2.dll"
/R:"c:\winnt\assembly\gac\system.xml\1.0.5000.0__b77a5c561934e089\system
.xml.dll" /R:"c:\winnt\microsoft.net\framework\v1.1.4322\temporary
asp.net
files\chain\40d128cb\96790087\assembly\dl2\302ab82b\00045927_60b0c301\in
fragistics.webui.webcombo.v2.dll"
/R:"c:\winnt\microsoft.net\framework\v1.1.4322\temporary asp.net
files\chain\40d128cb\96790087\assembly\dl2\a91b994f\006fa083_a59dc301\in
fragistics.webui.ultraweblistbar.v2.dll"
/R:"c:\winnt\microsoft.net\framework\v1.1.4322\temporary asp.net
files\chain\40d128cb\96790087\assembly\dl2\406c9340\00a2ef47_15f1c301\pe
terblum.vam.dll"
/R:"c:\winnt\microsoft.net\framework\v1.1.4322\temporary asp.net
files\chain\40d128cb\96790087\assembly\dl2\d6f32768\0007c2cd_846ec401\ec
ontrols.web.ui.resources.dll"
/R:"c:\winnt\microsoft.net\framework\v1.1.4322\temporary asp.net
files\chain\40d128cb\96790087\assembly\dl2\08e08621\00f4d485_a2a8c301\in
fragistics.webui.ultrawebnavigator.v3.dll"
/R:"c:\winnt\microsoft.net\framework\v1.1.4322\temporary asp.net
files\chain\40d128cb\96790087\assembly\dl2\f188a8bf\00339006_3181c301\in
fragistics.webui.shared.dll"
/R:"c:\winnt\microsoft.net\framework\v1.1.4322\temporary asp.net
files\chain\40d128cb\96790087\assembly\dl2\99c0036d\0097c424_fc59c301\gs
netwin.dll" /R:"c:\winnt\microsoft.net\framework\v1.1.4322\temporary
asp.net
files\chain\40d128cb\96790087\assembly\dl2\ec0712e6\004fdf06_41cec301\as
pnetmenu.dll"
/R:"c:\winnt\assembly\gac\system.web\1.0.5000.0__b03f5f7f11d50a3a\system
.web.dll"
/R:"c:\winnt\assembly\gac\system\1.0.5000.0__b77a5c561934e089\system.dll
" /out:"C:\WINNT\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET
Files\chain\40d128cb\96790087\plbgx1hl.dll" /D:DEBUG /debug+ /optimize-
/warnaserror /w:1 "C:\WINNT\Microsoft.NET\Framework\v1.1.4322\Temporary
ASP.NET Files\chain\40d128cb\96790087\plbgx1hl.0.cs"


Microsoft (R) Visual C# .NET Compiler version 7.10.3052.4
for Microsoft (R) .NET Framework version 1.1.4322
Copyright (C) Microsoft Corporation 2001-2002. All rights reserved.

error CS0006: Metadata file
'c:\winnt\microsoft.net\framework\v1.1.4322\temporary asp.net
files\chain\40d128cb\96790087\assembly\dl2\609df656\00664954_ec4bc301\mi
crosoft.samples.security.sspi.dll' could not be found
error CS0006: Metadata file
'c:\winnt\microsoft.net\framework\v1.1.4322\temporary asp.net
files\chain\40d128cb\96790087\assembly\dl2\dc818fc0\00045927_60b0c301\in
fragistics.webui.ultrawebgrid.v2.dll' could not be found
error CS0006: Metadata file
'c:\winnt\microsoft.net\framework\v1.1.4322\temporary asp.net
files\chain\40d128cb\96790087\assembly\dl2\6f87bfce\00f92e39_5e9ec301\pe
tersdatepackage.dll' could not be found
error CS0006: Metadata file
'c:\winnt\microsoft.net\framework\v1.1.4322\temporary asp.net
files\chain\40d128cb\96790087\assembly\dl2\406c9340\00a2ef47_15f1c301\pe
terblum.vam.dll' could not be found
error CS0006: Metadata file
'c:\winnt\microsoft.net\framework\v1.1.4322\temporary asp.net
files\chain\40d128cb\96790087\assembly\dl2\f188a8bf\00339006_3181c301\in
fragistics.webui.shared.dll' could not be found

Show Complete Compilation Source:
Line 1:
//----------------------------------------------------------------------
--------
Line 2: // <autogenerated>
Line 3: // This code was generated by a tool.
Line 4: // Runtime Version: 1.1.4322.573
Line 5: //
Line 6: // Changes to this file may cause incorrect behavior and
will be lost if
Line 7: // the code is regenerated.
Line 8: // </autogenerated>
Line 9:
//----------------------------------------------------------------------
--------
Line 10:
Line 11: namespace ASP {
Line 12: using System;
Line 13: using System.Collections;
Line 14: using System.Collections.Specialized;
Line 15: using System.Configuration;
Line 16: using System.Text;
Line 17: using System.Text.RegularExpressions;
Line 18: using System.Web;
Line 19: using System.Web.Caching;
Line 20: using System.Web.SessionState;
Line 21: using System.Web.Security;
Line 22: using System.Web.UI;
Line 23: using System.Web.UI.WebControls;
Line 24: using System.Web.UI.HtmlControls;
Line 25:
Line 26:
Line 27:
[System.Runtime.CompilerServices.CompilerGlobalScopeAttribute()]
Line 28: public class Global_asax : RiverOne.chain.UI.Global {
Line 29:
Line 30: private static bool __initialized = false;
Line 31:
Line 32: public Global_asax() {
Line 33: if ((ASP.Global_asax.__initialized == false)) {
Line 34: ASP.Global_asax.__initialized = true;
Line 35: }
Line 36: }
Line 37: }
Line 38: }
Line 39:

------------------------------------------------------------------------
 
V

Vko

Hi,

I had the same problem on an ASP.NET application, and I had try all
solutions without result.

I had found a solution by re-creating my solution step by step.

The problem was in the Web.config file, and more precisely the key :
<identity impersonate="true" />

After deleting this key ... the projet worked correctly. I don't know
how ... but that's work.

So try to clean your web.config file.

Vko.
 
K

Kevin R.

Yes, that's it! Now that I think about it I started to get this problem
around the same time I added the same exact key you mentioned to my
web.config file! I removed it and sure enough I don't see the problem
anymore. But, I need this key for my application. I guess I have to put
up with the pain...

Thanks for your reply.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,968
Messages
2,570,149
Members
46,695
Latest member
StanleyDri

Latest Threads

Top