Salesforce with dotConnect for MySql

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for Cloud Applications
emp51302
Posts: 46
Joined: Fri 19 Aug 2011 20:57

Re: Salesforce with dotConnect for MySql

Post by emp51302 » Sat 07 Mar 2015 20:29

Hi Shalex - This is the error I am getting.

System.InvalidOperationException occurred
Message=The key 'LocalizedPerfCounter' does not exist in the appSettings configuration section.
Source=System
StackTrace:
at System.Configuration.AppSettingsReader.GetValue(String key, Type type)
InnerException:

Please advice.

emp51302
Posts: 46
Joined: Fri 19 Aug 2011 20:57

Re: Salesforce with dotConnect for MySql

Post by emp51302 » Mon 09 Mar 2015 19:00

Hi Shalex - This is the error I am getting after following the steps you said. Please help!

System.InvalidOperationException occurred
IsTransient=false
Message=The key 'LocalizedPerfCounter' does not exist in the appSettings configuration section.
Source=System
StackTrace:
at System.Configuration.AppSettingsReader.GetValue(String key, Type type)
InnerException:

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

Re: Salesforce with dotConnect for MySql

Post by Shalex » Tue 10 Mar 2015 09:44

1. The bug with throwing NRE when opening a connection is fixed. We will notify you when the corresponding build of dotConnect for Salesforce is available for download.

2.
emp51302 wrote:
Shalex wrote:Go to Tools->Options...->Debugging, and disable the Enable Just My Code (Managed Only) check box. Then go to Debug->Exceptions and enable Common Language Runtime Exceptions check box. Now create a simple console application and call conn.Open(). When exception occurs with a popup window, click "Copy exception detail to the clipboard" and send us the obtained information.
This is the error I am getting after following the steps you said. Please help!
System.InvalidOperationException occurred
Message=The key 'LocalizedPerfCounter' does not exist in the appSettings configuration section.
StackTrace:
at System.Configuration.AppSettingsReader.GetValue(String key, Type type)
The call stack is not complete. Please make sure that
  • Enable Just My Code (Managed Only) is disabled
    Common Language Runtime Exceptions is enabled
before running your test code. Also skip (press Continue in popup dialog) other exceptions which occur before generating Devart-specific exception.

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

Re: Salesforce with dotConnect for MySql

Post by Shalex » Thu 26 Mar 2015 16:25

The bug with throwing NRE when opening a connection is fixed in the new (2.4.600) build of dotConnect for Salesforce : http://forums.devart.com/viewtopic.php?f=38&t=31492.

Post Reply