I just installed Toad for Data Analysts (TDA) and I am getting a configuration error that pops up at several points when using it, including any save or schedule action in automation. The configuration error varies a little depending on what I am doing when I get it, but it basically says the following.
"System.Configuration.ConfigurationErrorsException
Configuration system failed to initialize"
Using a bad machine.config file.
WORKAROUND #1:
1) Go to C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\CONFIG and rename the existing machine.config file to something else.
2) Rename the machine.config.default to machine.config. Make a backup of the machine.config.default prior to doing this, in case you need it in the future.
3) Browse to C:\WINDOWS\Microsoft.NET\Framework\v2.0.507 and run aspnet_regiis.exe -i and perform an IISRESET.
WORKAROUND #2:
1) Get a machine.config.default file from another machine with the same operating system. This file is located in a path similar to C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\CONFIG. The path may be a little different depending on the OS type and .Net version. Do a search for the file on the system if need be. You can also try using the machine.config.default file from your machine.
2) Rename your current machine.config to machine.config.bak.
3) Rename the machine.config.default file from the other machine to machine.config. Make sure you are careful not to overwrite the existing machine.config, in case you have some unique customizations.
4) See if error persists in TDA.
WORKAROUND #3:
While you are still using the machine.config file from the other machine, rerun the ngen utility. From the application directory (same location as Toad.exe), run ngenUninstall.bat. When that completes, execute ngenWrapper.exe. Finally try running TDA again and see if the problem is still there.
WORKAROUND #4:
Uninstall and re-install Microsoft .NET Framework 3.5 (Service Pack 1)
Note: The following conditions apply: