Error when stop/start web project

Posts   
 
    
Posts: 497
Joined: 08-Apr-2004
# Posted on: 15-Dec-2004 16:09:25   

Hi

Sometimes, when I stop debugging a web project, make some changes, and then start it up again, I get an odd 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:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net files\envoyweb\dc2a2c33\6d9e840d\assembly\dl2\964e0081\00ece317_b7a4c401\sd.llblgen.pro.ormsupportclasses.net11.dll' could not be found

Source Error:



[No relevant source lines]


Source File:    Line: 0 



Show Detailed Compiler Output:


C:\WINDOWS\system32> "c:\windows\microsoft.net\framework\v1.1.4322\csc.exe" /t:library /utf8output /R:"c:\windows\assembly\gac\system.drawing\1.0.5000.0__b03f5f7f11d50a3a\system.drawing.dll" /R:"c:\windows\assembly\gac\system.data\1.0.5000.0__b77a5c561934e089\system.data.dll" /R:"c:\windows\assembly\gac\system.enterpriseservices\1.0.5000.0__b03f5f7f11d50a3a\system.enterpriseservices.dll" /R:"c:\windows\assembly\gac\system.web\1.0.5000.0__b03f5f7f11d50a3a\system.web.dll" /R:"c:\windows\assembly\gac\system\1.0.5000.0__b77a5c561934e089\system.dll" /R:"c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net files\envoyweb\dc2a2c33\6d9e840d\assembly\dl2\c8f9011b\7de0be4f_8ae2c401\entropy.envoy.generatedgeneric.dll" /R:"c:\windows\assembly\gac\system.web.services\1.0.5000.0__b03f5f7f11d50a3a\system.web.services.dll" /R:"c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net files\envoyweb\dc2a2c33\6d9e840d\assembly\dl2\ba413190\55e9405f_1868c401\ microsoft.applicationblocks.exceptionmanagement.interfaces.dll" /R:"c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net files\envoyweb\dc2a2c33\6d9e840d\assembly\dl2\6e105906\82d50642_b7e2c401\entropy.envoy.bll.dll" /R:"c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net files\envoyweb\dc2a2c33\6d9e840d\assembly\dl2\d002338c\00ece317_b7a4c401\sd.llblgen.pro.dqe.sqlserver.net11.dll" /R:"c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net files\envoyweb\dc2a2c33\6d9e840d\assembly\dl2\40426c55\10e41244_b7e2c401\entropy.envoy.web.dll" /R:"c:\windows\assembly\gac\infragistics.webui.shared.v2.1\2.1.20042.26__7dd5c3163f2cd0cb\ infragistics.webui.shared.v2.1.dll" /R:"c:\windows\assembly\gac\system.web.mobile\1.0.5000.0__b03f5f7f11d50a3a\system.web.mobile.dll" /R:"c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net files\envoyweb\dc2a2c33\6d9e840d\assembly\dl2\b61a8582\9de22056_8ae2c401\entropy.envoy.utilities.dll" /R:"c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net files\envoyweb\dc2a2c33\6d9e840d\assembly\dl2\5fce0c4a\b0a99202_fee1c401\entropy.envoy.services.tasklist.dll" /R:"c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net files\envoyweb\dc2a2c33\6d9e840d\assembly\dl2\1910e10e\7ba7f754_8ae2c401\entropy.envoy.generatedoracle.dll" /R:"c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net files\envoyweb\dc2a2c33\6d9e840d\assembly\dl2\1d215be2\4ed463ab_39dcc401\envoymon2_metadata.dll" /R:"c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net files\envoyweb\dc2a2c33\6d9e840d\assembly\dl2\c24b16de\8dab6951_8ae2c401\entropy.envoy.generatedsqlserver.dll" /R:"c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net files\envoyweb\dc2a2c33\6d9e840d\assembly\dl2\964e0081\00ece317_b7a4c401\sd.llblgen.pro.ormsupportclasses.net11.dll" /R:"c:\windows\microsoft.net\framework\v1.1.4322\mscorlib.dll" /R:"c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net files\envoyweb\dc2a2c33\6d9e840d\assembly\dl2\79c639af\00f3ab91_484fc201\interop.adodb.dll" /R:"c:\windows\assembly\gac\system.xml\1.0.5000.0__b77a5c561934e089\system.xml.dll" /R:"c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net files\envoyweb\dc2a2c33\6d9e840d\assembly\dl2\2f71c38d\0065618f_209bc401\dundaswebchart.dll" /R:"c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net files\envoyweb\dc2a2c33\6d9e840d\assembly\dl2\e988957b\00ece317_b7a4c401\sd.llblgen.pro.dqe.oracle.net11.dll" /R:"c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net files\envoyweb\dc2a2c33\6d9e840d\assembly\dl2\9a9aaa16\d8f5545f_1868c401\ microsoft.applicationblocks.exceptionmanagement.dll" /R:"c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net files\envoyweb\dc2a2c33\6d9e840d\assembly\dl2\adf047a6\abc87595_14ddc401\envoysitemetadata.dll" /R:"c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net files\envoyweb\dc2a2c33\6d9e840d\assembly\dl2\e1343df2\14cad640_b7e2c401\entropy.envoy.businessentities.dll" /out:"C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\envoyweb\dc2a2c33\6d9e840d\qmiklvs0.dll" /D:DEBUG /debug+ /optimize- /warnaserror /w:1  "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\envoyweb\dc2a2c33\6d9e840d\qmiklvs0.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


It seems to be something to do with the temporary cached compilled asp.net dll's, but it mentions all the dll;s, including all the ORMsupportclasses.

I'm certain its something to do with my environment, but stumped as to what to look at. Has anyone encountered this before?

Thanks.

Posts: 497
Joined: 08-Apr-2004
# Posted on: 15-Dec-2004 16:17:20   

More info:

It seems that this is something to do with 3rd party components, and running from the bin folder:

Google result:

Compiler Error Message: CS0006: Metadata file 'c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net files\XXX\d2bca5d8\d7f12d87\assembly\dl2\44517a2a\6f5e59d5_13a2c301\YYY.dll' could not be found

ASP.NET got me again! In our current project we had a solution that behaved very strange: The fist time you did a build ALL ASP.NET pages would fail with the error code CS0006. If you then did another build everything worked fine.

After some poking around, I finally figured out that the problem was that ASP.NET doesn't support signed DLLs in the BIN folder - not the most described feature in the help. I've actually only been able to find a reference to it in a single KB article. Once I had removed the signing everything works fine - but the thing that still worries me a bit is that the KB article states that this is by design, but somehow it worked the second time you built the project. This is properly also by design

Posts: 497
Joined: 08-Apr-2004
# Posted on: 15-Dec-2004 16:19:37   

More info:

http://support.microsoft.com/?id=324519

Signed BLL's are not supported in the bin folder.......what?! confused

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39933
Joined: 17-Aug-2003
# Posted on: 15-Dec-2004 17:09:36   

One of the many issues with today's ASP.NET version. If you really need unsigned assemblies, you can build the sourcecode in the RuntimeLibraries folder and use these as the referenced assemblies.

sn -Vr also helps, don't know if it works with asp.net.

Frans Bouma | Lead developer LLBLGen Pro