USEGEAR

导航

痛苦的Windows下的temp目录

2007不能运行了,错误:

[MSBuild Error] “DCC”任务意外失败。
System.Configuration.ConfigurationErrorsException: 配置系统未能初始化 ---> System.Configuration.ConfigurationErrorsException: 无法识别的配置节 startup。 (D:\Program Files\Borland\BDS2007liteV8\bin\bds.exe.Config line 2)
   在 System.Configuration.ConfigurationSchemaErrors.ThrowIfErrors(Boolean ignoreLocal)
   在 System.Configuration.BaseConfigurationRecord.ThrowIfParseErrors(ConfigurationSchemaErrors schemaErrors)
   在 System.Configuration.BaseConfigurationRecord.ThrowIfInitErrors()
   在 System.Configuration.ClientConfigurationSystem.EnsureInit(String configKey)
   --- 内部异常堆栈跟踪的结尾 ---
   在 System.Configuration.ClientConfigurationSystem.EnsureInit(String configKey)
   在 System.Configuration.ClientConfigurationSystem.PrepareClientConfigSystem(String sectionName)
   在 System.Configuration.ClientConfigurationSystem.System.Configuration.Internal.IInternalConfigSystem.GetSection(String sectionName)
   在 System.Configuration.ConfigurationManager.GetSection(String sectionName)
   在 System.Configuration.PrivilegedConfigurationManager.GetSection(String sectionName)
   在 System.Diagnostics.DiagnosticsConfiguration.GetConfigSection()
   在 System.Diagnostics.DiagnosticsConfiguration.Initialize()
   在 System.Diagnostics.DiagnosticsConfiguration.get_SwitchSettings()
   在 System.Diagnostics.Switch.InitializeConfigSettings()
   在 System.Diagnostics.Switch.InitializeWithStatus()
   在 System.Diagnostics.Switch.get_SwitchSetting()
   在 System.Diagnostics.BooleanSwitch.get_Enabled()
   在 System.Xml.Serialization.TempAssembly.LoadGeneratedAssembly(Type type, String defaultNamespace, XmlSerializerImplementation& contract)
   在 System.Xml.Serialization.XmlSerializer..ctor(Type type, String defaultNamespace)
   在 System.Xml.Serialization.XmlSerializer..ctor(Type type)
   在 Borland.Build.Tasks.Common.Metadata.TaskFactory.get_Metadata()
   在 Borland.Build.Tasks.Common.ToolTaskManager.GetMetadata(String name)
   在 Borland.Build.Tasks.Common.BaseTask.get_Metadata()
   在 Borland.Build.Tasks.Delphi.DCC.TargetOutOfDate()
   在 Borland.Build.Tasks.Common.BaseTask.SkipTaskExecution()
   在 Microsoft.Build.Utilities.ToolTask.Execute()
   在 Borland.Build.Tasks.Common.BaseTask.Execute()
   在 Borland.Build.Tasks.Delphi.DCC.Execute()
   在 Microsoft.Build.BuildEngine.TaskEngine.ExecuteTask(ExecutionMode howToExecuteTask, Hashtable projectItemsAvailableToTask, BuildPropertyGroup projectPropertiesAvailableToTask, Boolean& taskClassWasFound)

 

 

其中蛛丝马迹就是windows目录下有个temp目录被什么电脑管家之类的把权限收掉了,导致这样的错误!

posted on 2017-02-22 16:58  USEGEAR  阅读(1476)  评论(0编辑  收藏  举报