Error: Root element is missing

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for Oracle
Post Reply
nssidhu
Posts: 11
Joined: Tue 23 Feb 2010 18:35

Error: Root element is missing

Post by nssidhu » Tue 15 Feb 2011 16:36

I am getting Error : " Root element is missing
This is not a fatal error, setup will continie after you press OK."

when isntalling version 6.0 of Dotconnect for oracle. Trying to install on windows 7 64bit version.

Shalex
Site Admin
Posts: 9543
Joined: Thu 14 Aug 2008 12:44

Post by Shalex » Wed 16 Feb 2011 16:52

I cannot reproduce the error with the latest version of dotConnect for Oracle in our enviroment. Please try the 6.10.103 version and run it with the "As Administrator" option. If the problem persists, send us the following information:
1) the Install.log file (location by default: C:\Program Files (x86)\Devart\dotConnect\Oracle\Insall.log);
2) the current version (x.xx.xxx) and edition of your dotConnect for Oracle (the Tools > Oracle > About menu of Visual Studio);
3) the build number (execute "ver" in command line) and edition (Computer > Properties) of your Windows 7 x64;
4) the exact versions and editions of all Visual Studios that are installed on your machine (the Help > About menu of Visual Studio).

mahaveer.gang
Posts: 1
Joined: Mon 16 Jul 2012 18:38

Re: Error: Root element is missing

Post by mahaveer.gang » Mon 16 Jul 2012 18:44

Can some one reply to above question. I am trying to install/Unistall Devart DotConnect for oracle(Trial) version 7.0.25.0 on windows 7 64bit and getting the same error Message: Root element is missing. (C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Config\machine.config).

Microsoft Windows [Version 6.1.7601]

Install log as below -

--- Custom action error: ProviderConfig
Date: 7/16/2012 2:25:00 PM
Environment
Operating System: Microsoft Windows NT 6.1.7601 Service Pack 1
.NET Framework: 4.0.30319.261
Assembly: ProviderConfig, Version=1.0.4555.13778, Culture=neutral, PublicKeyToken=null
Exception
Message: Root element is missing. (C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Config\machine.config)
Type: System.Configuration.ConfigurationErrorsException
StackTrace: at System.Configuration.ConfigurationSchemaErrors.ThrowIfErrors(Boolean ignoreLocal)
at System.Configuration.BaseConfigurationRecord.ThrowIfParseErrors(ConfigurationSchemaErrors schemaErrors)
at System.Configuration.Configuration..ctor(String locationSubPath, Type typeConfigHost, Object[] hostInitConfigurationParams)
at System.Configuration.ClientConfigurationHost.OpenExeConfiguration(ConfigurationFileMap fileMap, Boolean isMachine, ConfigurationUserLevel userLevel, String exePath)
at ProviderConfig.CfgEditor.EditConfig(String cmd, String prodName, String invName, String type)
at ProviderConfig.CfgEditor.ApplyConfig(String cmd, String provName, String instDir)
at ProviderConfig.CfgEditor.Main(String[] args)
Inner Exception
Message: Root element is missing. (C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Config\machine.config)
Type: System.Configuration.ConfigurationErrorsException
StackTrace: at System.Configuration.ConfigurationSchemaErrors.ThrowIfErrors(Boolean ignoreLocal)
at System.Configuration.BaseConfigurationRecord.ThrowIfParseErrors(ConfigurationSchemaErrors schemaErrors)
at System.Configuration.Configuration..ctor(String locationSubPath, Type typeConfigHost, Object[] hostInitConfigurationParams)
at System.Configuration.ClientConfigurationHost.OpenExeConfiguration(ConfigurationFileMap fileMap, Boolean isMachine, ConfigurationUserLevel userLevel, String exePath)
at ProviderConfig.CfgEditor.EditConfig(String cmd, String prodName, String invName, String type)
at ProviderConfig.CfgEditor.ApplyConfig(String cmd, String provName, String instDir)
at ProviderConfig.CfgEditor.Main(String[] args)

Pinturiccio
Devart Team
Posts: 2420
Joined: Wed 02 Nov 2011 09:44

Re: Error: Root element is missing

Post by Pinturiccio » Fri 20 Jul 2012 13:29

Could you please send us your machine.config file located in C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Config\machine.config if your system disk is C:?

Post Reply