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

still possible to write command line utilities w/SDK?

$
0
0

Downloaded https://code.msdn.microsoft.com/Sample-Quick-start-for-650dbcaa/view/Discussions#content

Using NuGet packages for reference assemblies

  • .Crm.Sdk.Proxy & .Xrm.Sdk                                   9.0.0.0
  • .Xrm.Sdk.Deployment & .Xrm.Sdk.Workflow        8.0.0.0
  • .Xrm.Tooling.Connector                                        2.0.0.0
  • it compiles

Verified it is a .NET framework 4.6.2 project 

Modified app.config for the QuickStart with Simplified Connection with my info for name & connectionstring (Online using Office 365 formats)

Did nothing else...  This is a current Online installation v 9.1.0.2450

I cannot connect.  Can anyone tell me what is wrong here or a better sample to start with?

CrmServiceClient conn = new Xrm.Tooling.Connector.CrmServiceClient(connectionString);

======================================
Inner Exception Level 1 :
Source  : Not Provided
Method  : Not Provided
Date    : 3/7/2019
Time    : 9:28:14 AM
Error   : Authentication Failure
Stack Trace     : Not Provided
======================================

Microsoft.Xrm.Tooling.Connector.CrmServiceClient Error: 2 : Unable to Login to Dynamics CRM
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Error: 2 : OrganizationWebProxyClient is null
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Error: 2 : OrganizationServiceProxy is null
The application terminated with an error.
Object reference not set to an instance of an object.
Press <Enter> to exit.

thank you!


Viewing all articles
Browse latest Browse all 46379

Trending Articles



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