PC Review


Reply
Thread Tools Rate Thread

Compilation error CS0006 "No relevant source lines"

 
 
=?Utf-8?B?T3dpbg==?=
Guest
Posts: n/a
 
      8th Feb 2005
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=nl...3D30%26hl%3Dnl)

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" /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
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
"Compilation error in hidden module: ThisWorkBook" =?Utf-8?B?UmljaGFyZEw=?= Microsoft Excel Crashes 1 17th Nov 2006 05:45 AM
"CS1513: } expected" ASP.NET compilation error while accessing base members TJ Microsoft C# .NET 1 29th Oct 2006 01:25 AM
Compiler Error: [No relevant source lines] clintonG Microsoft ASP .NET 2 14th Jan 2006 04:39 PM
no relevant source lines Marc Miller Microsoft Dot NET 0 1st Dec 2004 02:30 PM
RE: [No relevant source lines] =?Utf-8?B?SmFtaWUgUGxlbmRlcmxlaXRo?= Microsoft ASP .NET 0 24th May 2004 10:26 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:07 PM.