Hi friends I need to change the code which connects API to CRM. Iam using XRM.SDK dll to connect CRM with XRM.SDL.DLL(7.0) Now I replaced this dll with 8.0 version due to this following code not working
using Microsoft.Xrm.Sdk;
using Microsoft.Xrm.Client.Services;
using Microsoft.Xrm.Client;
using System.Configuration;
using System.IO;
namespace CRMServiceAPI
{
class CRMHelperClass
{
public static OrganizationService GetCRMService()
{
CrmConnection crmconnection = new CrmConnection("CRM");
return new OrganizationService(crmconnection);
}
}
}
<connectionStrings>
<add name="CRM" connectionString="Url=xxx.api.crm.dynamics.com; Username=hsh67867; Password=shs7687;" />
</connectionStrings>
Can you guys advice me what code I must change here.
Regards,
*This post is locked for comments