I am trying to get a test project to work after following a sample using SDK to insert a new account into CRM. There is only one user on the CRM for the purpose of testing which is the system / Domain Administrator, When I try to create the new account , I get an Access Denied response. I have tried using the entity name as 'account' and 'Account' and even used a spurious entity name, all with the same result. Can anyone point me in the right direction to try and track down what the issue is. I'm presuming its with the connection. My development machine, CRM and SQL are all Virtual servers on the same domain
CRM v9 On premises
CrmHelper Class
Namespace CRMPortal3
Module CRMHelperClass
Function GetCRMService() As OrganizationService
Dim crmConnection As CrmConnection = New CrmConnection("CRM")
Return New OrganizationService(crmConnection)
End Function
End Module
End Namespace
Web Config
add name="CRM" connectionString="URL=http://xxxxx.xxxxx.co.uk; Domain=xxxx; Username=Administrator; Password=xxxxxxx"