Db empty or unavailable with .NET framework error message in SQL Log
HOW TO FIX: DB EMPTY OR UNAVAILABLE WITH .NET FRAMEWORK ERROR MESSAGE IN SQL LOG
Symptoms - Popup message “database empty or unavailable” returned when connecting to a data source via ODBC/OLEDB
The following error messages :
- Error: The 'DbProviderFactories' section can only appear once per config file.
- Invalid Query: Unable to find the requested .NET Framework Data Provider. It may not be installed.
tracked in the SQLError log (popup message “database empty or unavailable”) might be related to a faulty installation/corruption of the .NET Framework.
(sample case) When Microsoft Visual Studio is updated (new version or patch) an empty tag <DbProviderFactories/> may be added to the machine.config file.
Solution - In order to fix the above-mentioned issue, please follow the steps below
- Identify the machine.config files (there may be several, based on how many versions of the framework are installed)
C:\Windows\Microsoft.NET\Framework\v2.0.50727\Config\machine.config
C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\machine.config
C:\Windows\Microsoft.NET\Framework64\v2.0.50727\Config\machine.config
C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Config\machine.config
- In each of those files, look for the section <system.data>
- Remove any empty tag <DbProviderFactories/> and save the file
- Restart the server [machine]
If the issue persists, you should:
- Uninstall BOARD Server and BOARD Client
- Uninstall .NET Framework 4 and 3.5
- Re-install all components (.NET Framework 3.5, .NET Framework 4, all prerequisites for BOARD Client and Server, BOARD Server and BOARD Client)
- Restart the OS
Categories
- All Categories
- 1.8K Forums
- 1.7K Platform
- 104 Academy
- 278 Resources
- 3 Community Captains
- 1 About Community Captains
- 1 Meet the Community Captains
- 1 Topics & Thought Starters
- Board Manual
- 50 Best Practices
- 41 How-To Guides
- 25 Board Advocacy Program
- 155 Blog
- 4 Groups Hub
- 4 About Groups
- New Community Members
- DACH
- Japan
- Academy
- 2 Board Academy
- 7 ILT/VILT Course Catalogue
- 13 e-Learning Course Catalogue
- 4 Academy Forum
- 1.1K Idea Exchange
- 304 Partner Hub
- 2 Solution Sales Toolkits
- 91 Support
- 14 FAQ's
- Customer Support Portal
- 54 Support Articles
- BEAP