Connect to Salesforce scratch/Sandbox environment

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for Cloud Applications
Post Reply
ccampbell
Posts: 31
Joined: Tue 01 Jun 2010 17:31
Location: Oregon

Connect to Salesforce scratch/Sandbox environment

Post by ccampbell » Thu 02 Apr 2020 19:07

Hi, I'm a long time user of your dotConnect for PostgreSQL and recently stumbled across your dotConnect for Salesforce.

In testing, I'm attempting to establish a connection to a scratch environment and it's not allowing access. I get the message:
Invalid User Name, Password, Security Token, or User is locked out.

Curiously I can sign into a production environment just fine.

For the URL I'm using test.salesforce.com
For Login Name I'm using the same login name that works manually signing in
For Password I'm using the same that works manually signing in.

I've confirmed that the user name, password, and security token are correct. What are some other options I can look at?

Thanks.

Chris Campbell

ccampbell
Posts: 31
Joined: Tue 01 Jun 2010 17:31
Location: Oregon

Re: Connect to Salesforce scratch/Sandbox environment

Post by ccampbell » Fri 03 Apr 2020 14:35

Well, turns out I was provided an incorrect Token. Sorry for the noise.
FYI: To successfully connect to a scratch environment, use: test.salesforce.com
I'm guessing most people know this but there you are.

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

Re: Connect to Salesforce scratch/Sandbox environment

Post by Shalex » Sat 04 Apr 2020 16:21

Thank you for sharing your experience.

Normanj
Posts: 1
Joined: Sat 25 Apr 2020 15:55
Location: USA

Re: Connect to Salesforce scratch/Sandbox environment

Post by Normanj » Sat 25 Apr 2020 16:03

ccampbell wrote: Fri 03 Apr 2020 14:35 Well, turns out I was provided an incorrect Token. Sorry for the noise.
FYI: To successfully connect to a scratch environment, use: test.salesforce.com
I'm guessing most people know this but there you are. AppValley offers to download thousands of apps, games, tweaks, and premium apps for free without jailbreaking. https://appvalley.one/
Hello ccampbell, Thank you so much for provide the solution for this...

Regards
Normanj

Post Reply