Title: Message
Very interesting. Do you run any other .net apps on your work machine? Is you work machine managed by an admin that may have placed special restrictions on .net apps through the .net machine config? Can you (re)build nant on your work machine? Is there anymore of a stack trace available?
 
What .net code (security) group does nant run in? (NAnt needs to run with Full Trust, because of the use of reflection for creating tasks).
 
In short, I think we need more info to diagnose this problem... :)
 
 
----- Original Message -----
Sent: Tuesday, November 18, 2003 1:29 PM
Subject: [Nant-users] nant -help throws ConfigurationException

I'm having some big issues with NAnt. Whenever I try to build a file from the command prompt, or open up the help options, I get the following error:
 
An unhandled exception of type 'System.Configuration.ConfigurationException' occurred in system.dll
 
Additional information: Error loading XML file c:\windows\microsoft.net\framework\v1.0.3705\Config\machine.config Request for the permission of type System.Security.Permissions.StrongNameIdentityPermission, mscorlib, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 failed.
 
The interesting part is that I have NAntMenu installed, and when I right click on some files and build that way, the builds will(sometimes) complete. I don't understand this because on my machine at home NAnt works perfectly everytime, but here at work, the failures are impeding acceptance. The NAnt executable and supporting assemblies are located in C:\Program Files\NAnt\, and everything I'm trying to build resides on the C drive, so I do not believe this is tied to the networking trust issues most people have posted as being the cause of the problem.
 
Any insight or help anyone can give would be most appreciated.
 
Thanks,
Jarrod

Reply via email to