Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 46379

SDK Simplified connection string in app.config: "Object reference not set to an instance of an object."

$
0
0

Greetings:

I'm trying the examples in the SDK, and now I'm at the Simplified Connecting String Example listed here [https://msdn.microsoft.com/en-us/library/jj602970(v=crm.7).aspx]

This is my code in the app.config:

 

<add name="Server=CRM Online, organization=contoso, user=someone"
         connectionString="Url=https://pspas.crm.dynamics.com;
Username=nxxxx.mxxxz@pspas.onmicrosoft.com;
Password=xxxx;
authtype=Office365"/>


However, I'm receiving the following error:

I'm using VS 2015 and I'm trying to connect to CRM Online 2016.

What I'm missing in my connection string?


Viewing all articles
Browse latest Browse all 46379

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>