Joe,

Is one of the referenced assemblies located on a network drive ?

Gert

----- Original Message ----- 
From: "Joe Hoppesch" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, April 18, 2004 12:46 AM
Subject: [nant-dev] Issue --


We've been running the same build for weeks.  Wish I had more
information to give, but 

any help is appreciated.

 

BUILD FAILED

 

INTERNAL ERROR

 

System.Security.Policy.PolicyException: Required permissions cannot be
acquired.

 

 

Server stack trace:

   at System.Reflection.Assembly.nLoad(AssemblyName fileName, String
codeBase, B

oolean isStringized, Evidence assemblySecurity, Boolean
throwOnFileNotFound, Ass

embly locationHint, StackCrawlMark& stackMark)

   at System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef,
Boolean

stringized, Evidence assemblySecurity, StackCrawlMark& stackMark)

   at System.Reflection.Assembly.LoadFrom(String assemblyFile, Evidence
security

Evidence, Byte[] hashValue, AssemblyHashAlgorithm hashAlgorithm)

   at System.Reflection.Assembly.LoadFrom(String assemblyFile)

   at
NAnt.VSNet.ReferencesResolver.AppendReferencedModulesLocatedInGivenDirec
to

ry(String moduleDirectory, String moduleName, Hashtable& allReferences,
Hashtabl

e& unresolvedReferences) in
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp298.tmp\src\NA

nt.VSNet\Reference.cs:line 528

   at
System.Runtime.Remoting.Messaging.StackBuilderSink.PrivateProcessMessage
(M

ethodBase mb, Object[] args, Object server, Int32 methodPtr, Boolean
fExecuteInC

ontext, Object[]& outArgs)

   at
System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IM
es

sage msg, Int32 methodPtr, Boolean fExecuteInContext)

 

Exception rethrown at [0]:

   at
System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage
req

Msg, IMessage retMsg)

   at
System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&
msgDa

ta, Int32 type)

   at
NAnt.VSNet.ReferencesResolver.AppendReferencedModulesLocatedInGivenDirec
to

ry(String moduleDirectory, String moduleName, Hashtable& allReferences,
Hashtabl

e& unresolvedReferences) in
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp298.tmp\src\NA

nt.VSNet\Reference.cs:line 528

   at NAnt.VSNet.Reference.GetAllReferencedModules(String module) in
C:\DOCUME~1

\ADMINI~1\LOCALS~1\Temp\tmp298.tmp\src\NAnt.VSNet\Reference.cs:line 371

   at NAnt.VSNet.Reference.GetReferenceFiles(ConfigurationSettings
configuration

Settings) in
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp298.tmp\src\NAnt.VSNet\Refere

nce.cs:line 302

   at NAnt.VSNet.Project.Compile(String configuration, ArrayList
alCSCArguments,

 String strLogFile, Boolean bVerbose, Boolean bShowCommands) in
C:\DOCUME~1\ADMI

NI~1\LOCALS~1\Temp\tmp298.tmp\src\NAnt.VSNet\Project.cs:line 320

   at NAnt.VSNet.Solution.Compile(String configuration, ArrayList
compilerArgume

nts, String logFile, Boolean verbose, Boolean showCommands) in
C:\DOCUME~1\ADMIN

I~1\LOCALS~1\Temp\tmp298.tmp\src\NAnt.VSNet\Solution.cs:line 279

   at NAnt.VSNet.Tasks.SolutionTask.ExecuteTask() in
C:\DOCUME~1\ADMINI~1\LOCALS

~1\Temp\tmp298.tmp\src\NAnt.VSNet\Tasks\SolutionTask.cs:line 335

   at NAnt.Core.Task.Execute() in
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp298.tmp\

src\NAnt.Core\Task.cs:line 151

   at NAnt.Core.Project.InitializeProjectDocument(XmlDocument doc) in
C:\DOCUME~

1\ADMINI~1\LOCALS~1\Temp\tmp298.tmp\src\NAnt.Core\Project.cs:line 1191

   at NAnt.Core.Project.Execute() in
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp298.t

mp\src\NAnt.Core\Project.cs:line 721

   at NAnt.Core.Project.Run() in
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp298.tmp\s

rc\NAnt.Core\Project.cs:line 793




-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to