Главная страница
Top.Mail.Ru    Яндекс.Метрика
Текущий архив: 2010.08.27;
Скачать: CL | DM;

Вниз

[MSBuild Error] The "DCC" task failed unexpectedly.   Найти похожие ветки 

 
nobody   (2010-05-19 11:59) [0]

[MSBuild Error] The "DCC" task failed unexpectedly.
System.Configuration.ConfigurationErrorsException: Configuration system failed to initialize ---> System.Configuration.ConfigurationErrorsException: Unexpected XML declaration. The XML declaration must be the first node in the document, and no white space characters are allowed to appear before it. Line 187, position 3. (C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Config\machine.config line 187) ---> System.Xml.XmlException: Unexpected XML declaration. The XML declaration must be the first node in the document, and no white space characters are allowed to appear before it. Line 187, position 3.
  at System.Xml.XmlTextReaderImpl.Throw(Exception e)
  at System.Xml.XmlTextReaderImpl.Throw(String res, String arg)
  at System.Xml.XmlTextReaderImpl.ParsePI(BufferBuilder piInDtdStringBuilder)
  at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
  at System.Xml.XmlTextReaderImpl.Read()
  at System.Xml.XmlTextReader.Read()
  at System.Configuration.XmlUtil.StrictSkipToNextElement(ExceptionAction action)
  at System.Configuration.BaseConfigurationRecord.ScanSectionsRecursive(XmlUtil xmlUtil, String parentConfigKey, Boolean inLocation, String locationSubPath, OverrideModeSetting overrideMode, Boolean skipInChildApps)
  at System.Configuration.BaseConfigurationRecord.ScanSectionsRecursive(XmlUtil xmlUtil, String parentConfigKey, Boolean inLocation, String locationSubPath, OverrideModeSetting overrideMode, Boolean skipInChildApps)
  at System.Configuration.BaseConfigurationRecord.ScanSections(XmlUtil xmlUtil)
  at System.Configuration.BaseConfigurationRecord.InitConfigFromFile()
  --- End of inner exception stack trace ---
  at System.Configuration.ConfigurationSchemaErrors.ThrowIfErrors(Boolean ignoreLocal)
  at System.Configuration.BaseConfigurationRecord.ThrowIfParseErrors(ConfigurationSch emaErrors schemaErrors)
  at System.Configuration.BaseConfigurationRecord.ThrowIfInitErrors()
  at System.Configuration.ClientConfigurationSystem.EnsureInit(String configKey)
  --- End of inner exception stack trace ---
  at System.Configuration.ConfigurationManager.PrepareConfigSystem()
  at System.Configuration.ConfigurationManager.GetSection(String sectionName)
  at System.Xml.Serialization.XmlSerializerCompilerParameters.Create(String location)
  at System.Xml.Serialization.TempAssembly..ctor(XmlMapping[] xmlMappings, Type[] types, String defaultNamespace, String location, Evidence evidence)
  at System.Xml.Serialization.XmlSerializer.GenerateTempAssembly(XmlMapping xmlMapping, Type type, String defaultNamespace)
  at System.Xml.Serialization.XmlSerializer..ctor(Type type, String defaultNamespace)
  at System.Xml.Serialization.XmlSerializer..ctor(Type type)
  at Borland.Build.Tasks.Common.Metadata.TaskFactory.get_Metadata()
  at Borland.Build.Tasks.Common.ToolTaskManager.GetMetadata(String name)
  at Borland.Build.Tasks.Common.BaseTask.get_Metadata()
  at Borland.Build.Tasks.Delphi.DCC.TargetOutOfDate()
  at Borland.Build.Tasks.Common.BaseTask.SkipTaskExecution()
  at Microsoft.Build.Utilities.ToolTask.Execute()
  at Borland.Build.Tasks.Common.BaseTask.Execute()
  at Borland.Build.Tasks.Delphi.DCC.Execute()
  at Microsoft.Build.BuildEngine.TaskEngine.ExecuteTask(ExecutionMode howToExecuteTask, Hashtable projectItemsAvailableToTask, BuildPropertyGroup projectPropertiesAvailableToTask, Boolean& taskClassWasFound)


 
nobody   (2010-05-19 12:05) [1]

есть у кого какие идеи, что нужно подправить в сабже?
code gear 2007
может дотнет переустановить?...
или просто один файл подменить?

цитирую эту пресловутую строку из файла
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Config\machine.config line 187

<?xml version="1.0" encoding="UTF-8"?><!--
кто нить может глянут, что там может быть не так и какие у кого размеры этого файла?
мой весит 50771 байт



Страницы: 1 вся ветка

Текущий архив: 2010.08.27;
Скачать: CL | DM;

Наверх




Память: 0.47 MB
Время: 0.064 c
15-1274208004
xayam
2010-05-18 22:40
2010.08.27
Игровой сервер


15-1272810608
antonn
2010-05-02 18:30
2010.08.27
Просьба прогнать тест еще раз :)


2-1268164730
Delphist
2010-03-09 22:58
2010.08.27
отладка в D2010


15-1269520791
Sergey13
2010-03-25 15:39
2010.08.27
Lazarus &amp; FireBird


2-1271764256
JohnKorsh
2010-04-20 15:50
2010.08.27
Почему методы Registry, работающие в XP не работают в Vista?