Compilation error CS0006 "No relevant source lines"

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi All,

I have a problem that's annoying me more and more.
I have a webapp. Once in every 2 times i build the solution and run te app,
I get an compilation error at runtime.
If I change a minor detail (add a space or something) and build again, the
app runs smoothly. If I change something again and build again, I get the
compilation error again. Alos, a complete rebuild of the project resolves the
issue, but that's a very slow solution.

The error occurs since the app uses impersonation. I've founds some threads
on it, but they only state the cause (impersonation) and never the solution.

(example:
http://groups.google.nl/groups?hl=n...0Error%20&as_ugroup=*dotnet*&lr=&num=30&hl=nl)

What happens is that some subdirectories (like 4c0413dc) are not generated
in the directory: 'c:\windows\microsoft.net\framework\v1.1.4322\temporary
asp.net files\carusowebsite\ddfe990f\57fdf8c7\assembly\dl2\' at runtime. And
others are..

Does anybody have an idea what is wrong here???:


Some specifics of the project
- c#
- v1.1
- impersonation
- exception managementblock is used
- some dll's run in com+
- 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:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net
files\carusowebsite\ddfe990f\57fdf8c7\assembly\dl2\4c0413dc\806f8b4d_1402c501\microsoft.applicationblocks.exceptionmanagement.dll' could not be found

Source Error:
[No relevant source lines]

Source File: Line: 0
"


- compiler output:
"
C:\WINDOWS\system32> "c:\windows\microsoft.net\framework\v1.1.4322\csc.exe"
/t:library /utf8output
/R:"c:\windows\assembly\gac\crystaldecisions.shared\9.1.5000.0__692fbea5521e1304\crystaldecisions.shared.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\carusowebsite\ddfe990f\57fdf8c7\assembly\dl2\4c0413dc\806f8b4d_1402c501\microsoft.applicationblocks.exceptionmanagement.dll"
/R:"c:\windows\assembly\gac\crystaldecisions.crystalreports.engine\9.1.5000.0__692fbea5521e1304\crystaldecisions.crystalreports.engine.dll"
/R:"c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net
files\carusowebsite\ddfe990f\57fdf8c7\assembly\dl2\e66b873a\e076c94a_1402c501\microsoft.applicationblocks.exceptionmanagement.interfaces.dll"
/R:"c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net
files\carusowebsite\ddfe990f\57fdf8c7\assembly\dl2\fa7f209e\60dbdc54_1402c501\businessprocess.dll"
/R:"c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net
files\carusowebsite\ddfe990f\57fdf8c7\assembly\dl2\380c37cb\d0bc0753_1402c501\dataaccess.dll"
/R:"c:\windows\assembly\gac\system.enterpriseservices\1.0.5000.0__b03f5f7f11d50a3a\system.enterpriseservices.dll"
/R:"c:\windows\assembly\gac\system.web.mobile\1.0.5000.0__b03f5f7f11d50a3a\system.web.mobile.dll"
/R:"c:\windows\assembly\gac\system.data\1.0.5000.0__b77a5c561934e089\system.data.dll"
/R:"c:\windows\assembly\gac\crystaldecisions.web\9.1.5000.0__692fbea5521e1304\crystaldecisions.web.dll"
/R:"c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net
files\carusowebsite\ddfe990f\57fdf8c7\assembly\dl2\31c87efe\509e334c_1402c501\taal.dll"
/R:"c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net
files\carusowebsite\ddfe990f\57fdf8c7\assembly\dl2\a928619b\1eae2cf5_6feec401\solpartwebcontrols.dll"
/R:"c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net
files\carusowebsite\ddfe990f\57fdf8c7\assembly\dl2\5597c6d4\a0147250_1402c501\datacarrier.dll"
/R:"c:\windows\assembly\gac\system.web.services\1.0.5000.0__b03f5f7f11d50a3a\system.web.services.dll"
/R:"c:\windows\assembly\gac\system.drawing\1.0.5000.0__b03f5f7f11d50a3a\system.drawing.dll"
/R:"c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net
files\carusowebsite\ddfe990f\57fdf8c7\assembly\dl2\eebd8877\d0ad1454_1402c501\rekenmodule.dll"
/R:"c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net
files\carusowebsite\ddfe990f\57fdf8c7\assembly\dl2\9a24ee2a\b0e4eb49_1402c501\versie.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\carusowebsite\ddfe990f\57fdf8c7\assembly\dl2\6af6fad1\9075e851_1402c501\global.dll"
/R:"c:\windows\microsoft.net\framework\v1.1.4322\mscorlib.dll"
/R:"c:\windows\assembly\gac\crystaldecisions.reportsource\9.1.5000.0__692fbea5521e1304\crystaldecisions.reportsource.dll"
/R:"c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net
files\carusowebsite\ddfe990f\57fdf8c7\assembly\dl2\627717d3\70615996_1402c501\carusowebsite.dll"
/out:"c:\windows\microsoft.net\framework\v1.1.4322\Temporary ASP.NET
Files\carusowebsite\ddfe990f\57fdf8c7\mm2tmic7.dll" /D:DEBUG /debug+
/optimize- /warnaserror /w:1
"c:\windows\microsoft.net\framework\v1.1.4322\Temporary ASP.NET
Files\carusowebsite\ddfe990f\57fdf8c7\mm2tmic7.0.cs"


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

error CS0006: Metadata file
'c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net
files\carusowebsite\ddfe990f\57fdf8c7\assembly\dl2\4c0413dc\806f8b4d_1402c501\microsoft.applicationblocks.exceptionmanagement.dll' could not be found
error CS0006: Metadata file
'c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net
files\carusowebsite\ddfe990f\57fdf8c7\assembly\dl2\e66b873a\e076c94a_1402c501\microsoft.applicationblocks.exceptionmanagement.interfaces.dll'
could not be found
error CS0006: Metadata file
'c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net
files\carusowebsite\ddfe990f\57fdf8c7\assembly\dl2\380c37cb\d0bc0753_1402c501\dataaccess.dll' could not be found
error CS0006: Metadata file
'c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net
files\carusowebsite\ddfe990f\57fdf8c7\assembly\dl2\31c87efe\509e334c_1402c501\taal.dll' could not be found
error CS0006: Metadata file
'c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net
files\carusowebsite\ddfe990f\57fdf8c7\assembly\dl2\5597c6d4\a0147250_1402c501\datacarrier.dll' could not be found
error CS0006: Metadata

"

Greetzing,
Owin
Amsterdam
 
Back
Top