Nant will not start after Windows update to Win 2008 server. Get log4net error. Tried putting name="requirePermission"="false" in nant and log4net section heads, no change. Any ideas? Thanks JCH
Microsoft Windows [Version 6.1.7601] Copyright (c) 2009 Microsoft Corporation. All rights reserved. C:\Users\cm_backup>nant log4net:ERROR XmlConfiguratorAttribute: Exception getting ConfigurationFileLocat ion. Must be able to resolve ConfigurationFileLocation when ConfigFile and Confi gFileExtension properties are not set. System.Security.SecurityException: Request for the permission of type 'System.Se curity.Permissions.FileIOPermission, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed. at System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMa rk& stackMark, Boolean isPermSet) at System.Security.CodeAccessSecurityEngine.Check(CodeAccessPermission cap, S tackCrawlMark& stackMark) at System.Security.CodeAccessPermission.Demand() at System.AppDomainSetup.VerifyDir(String dir, Boolean normalize) at log4net.Util.SystemInfo.get_ConfigurationFileLocation() at log4net.Config.XmlConfiguratorAttribute.ConfigureFromFile(Assembly sourceA ssembly, ILoggerRepository targetRepository) The action that failed was: Demand The type of the first permission that failed was: System.Security.Permissions.FileIOPermission The Zone of the assembly that failed was: Internet Unhandled Exception: System.Security.SecurityException: Request for Configuratio nPermission failed while attempting to access configuration section 'nant'. To a llow all callers to access the data for this section, set section attribute 'req uirePermission' equal 'false' in the configuration file where this section is de clared. ---> System.Security.SecurityException: Request for the permission of ty pe 'System.Configuration.ConfigurationPermission, System.Configuration, Version= 4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' failed. at System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMa rk& stackMark, Boolean isPermSet) at System.Security.CodeAccessSecurityEngine.Check(CodeAccessPermission cap, S tackCrawlMark& stackMark) at System.Security.CodeAccessPermission.Demand() at System.Configuration.BaseConfigurationRecord.CheckPermissionAllowed(String configKey, Boolean requirePermission, Boolean isTrustedWithoutAptca) --- End of inner exception stack trace --- -- View this message in context: http://old.nabble.com/NANT-LOG4NET-ERROR%3Ainternet-zone-tp34082361p34082361.html Sent from the NAnt - Users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users