Error logging into Salesforce MaxReceivedMessageSize

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for Cloud Applications
Post Reply
[email protected]
Posts: 1
Joined: Wed 08 Feb 2012 20:01
Location: United States

Error logging into Salesforce MaxReceivedMessageSize

Post by [email protected] » Wed 08 Feb 2012 20:11

Hi, was looking at this component, while it looked fine testing against my salesforce developer account with a security token, it gives the following error in the demos provided, regardless of whether Web, form etc .. it happens right after connection.Open() is the console Demo as an example after removing the Token from the connectionstring :
ConnectionString As String = String.Format("Host={0};User Id={1};Password={2}", Host, User, Password)

After about a minute or so I receive the following:
The maximum message size quota for incoming messages (2000000) has been exceeded. To increase the quota, use the MaxReceivedMessageSize property on the appropriate binding element.
It's unfortunate since in actual production we don't use a security token but rather IP restriction ...
Is this component configured to allow login without a security token?
Thanks

Helen
Devart Team
Posts: 127
Joined: Wed 07 Sep 2011 11:54

Post by Helen » Thu 09 Feb 2012 13:07

[email protected] wrote:After about a minute or so I receive the following:
The maximum message size quota for incoming messages (2000000) has been exceeded. To increase the quota, use the MaxReceivedMessageSize property on the appropriate binding element.
We have increased the maximum message size quota for incoming messages.
This changed behaviour will be available in the next build of dotConnect for Salesforce. We will post here when the corresponding build of dotConnect for Salesforce is available for download.
[email protected] wrote:Is this component configured to allow login without a security token?
Yes, it's permitted to login without a security token.
You have to add your external IP address to the authorized IP addresses list.

Helen
Devart Team
Posts: 127
Joined: Wed 07 Sep 2011 11:54

Post by Helen » Fri 10 Feb 2012 11:35

New build of dotConnect for Salesforce 1.00.55 is available for download now!
It can be downloaded from http://www.devart.com/dotconnect/salesf ... nload.html (the trial version) or from Registered Users' Area (provided that you have an active subscription).

For more information, please refer to http://www.devart.com/forums/viewtopic.php?t=23372 .

Post Reply