M
Mad[Frog]
Unregistered / Unconfirmed
GUEST, unregistred user!
为什么安装完delphi2007后建立一个工程运行出现错误?<br>下面是错误的信息.<br>[MSBuild Error] The "DCC" task failed unexpectedly.<br>System.Configuration.ConfigurationErrorsException: Configuration system failed to initialize ---> System.Configuration.ConfigurationErrorsException: Unrecognized configuration section startup. (C:/Program Files/CodeGear/RAD Studio/5.0/bin/bds.exe.Config line 2)<br> at System.Configuration.ConfigurationSchemaErrors.ThrowIfErrors(Boolean ignoreLocal)<br> at System.Configuration.BaseConfigurationRecord.ThrowIfParseErrors(ConfigurationSchemaErrors schemaErrors)<br> at System.Configuration.BaseConfigurationRecord.ThrowIfInitErrors()<br> at System.Configuration.ClientConfigurationSystem.EnsureInit(String configKey)<br> --- End of inner exception stack trace ---<br> at System.Configuration.ClientConfigurationSystem.EnsureInit(String configKey)<br> at System.Configuration.ClientConfigurationSystem.System.Configuration.Internal.IInternalConfigSystem.GetSection(String sectionName)<br> at System.Configuration.ConfigurationManager.GetSection(String sectionName)<br> at System.Configuration.PrivilegedConfigurationManager.GetSection(String sectionName)<br> at System.Diagnostics.DiagnosticsConfiguration.GetConfigSection()<br> at System.Diagnostics.DiagnosticsConfiguration.Initialize()<br> at System.Diagnostics.Switch.InitializeConfigSettings()<br> at System.Diagnostics.Switch.InitializeWithStatus()<br> at System.Diagnostics.Switch.get_SwitchSetting()<br> at System.Diagnostics.BooleanSwitch.get_Enabled()<br> at System.Xml.Serialization.TempAssembly.LoadGeneratedAssembly(Type type, String defaultNamespace, XmlSerializerImplementation& contract)<br> at System.Xml.Serialization.XmlSerializer..ctor(Type type, String defaultNamespace)<br> at System.Xml.Serialization.XmlSerializer..ctor(Type type)<br> at Borland.Build.Tasks.Common.Metadata.TaskFactory.get_Metadata()<br> at Borland.Build.Tasks.Common.ToolTaskManager.GetMetadata(String name)<br> at Borland.Build.Tasks.Common.BaseTask.get_Metadata()<br> at Borland.Build.Tasks.Delphi.DCC.TargetOutOfDate()<br> at Borland.Build.Tasks.Common.BaseTask.SkipTaskExecution()<br> at Microsoft.Build.Utilities.ToolTask.Execute()<br> at Borland.Build.Tasks.Common.BaseTask.Execute()<br> at Borland.Build.Tasks.Delphi.DCC.Execute()<br> at Microsoft.Build.BuildEngine.TaskEngine.ExecuteTask(ExecutionMode howToExecuteTask, Hashtable projectItemsAvailableToTask, BuildPropertyGroup projectPropertiesAvailableToTask, Boolean& taskClassWasFound)<br>小弟实在不知道错在哪里了,请大虾没指点,我就运行2007后建立了一个工程,而后运行就出现这样的错误,这是为什么那?