Resolving the error 'The type initializer for 'Microsoft.Data.SqlClient.SNINativeMethodWrapper' when installing the TIBCO Cloud Integration - Connect on-premise agent
book
Article ID: KB0071794
calendar_today
Updated On:
Products
Versions
TIBCO Cloud Integration - Connect ( Scribe )
-
Description
Issue: Customers may experience the error exception below when installing the TIBCO Cloud Integration - Connect on-premise agent
Error: The type initializer for 'Microsoft.Data.SqlClient.SNINativeMethodWrapper' threw an exception.
Issue/Introduction
Resolving the error 'The type initializer for 'Microsoft.Data.SqlClient.SNINativeMethodWrapper' when installing the TIBCO Cloud Integration - Connect on-premise agent.
Resolution
The cause of the error is with the 'Microsoft Visual C++ 2015-2019 Redistributable x(64) - 14.29.30037'. So to resolve the error, follow the steps below:
1. Open the Windows control panel on the server hosting the TIBCO Scribe Online agent. 2. Uninstall 'Microsoft Visual C++ 2015-2019 Redistributable x(64) - 14.29.30037' and TIBCO Scribe Online on-premise agent. 3. Re-install the TIBCO Scribe Online on-premise agent, which automatically installs the ''Microsoft Visual C++ 2015-2019 Redistributable x(64) - 14.29.30037''.