Technology

Technology

April 25, 2017

Get Dynamics CRM Organisation ID to manage AD groups

Once again, I’ve taken control of a (few) Dynamics environments, each having been setup slightly differently (Account per service, single account across all services, user accounts […]
April 6, 2017

CRM 2011 – SSRS – The target principal name is incorrect

It’s not considered stealing if I wrote it myself – Putting it here for self-self-self reference as this bit me in the ass today. [crayon-5e566e90c0f9b573032417/] My original post […]
April 5, 2017

Dynamics CRM -The HTTP request is unauthorized with client authentication scheme ‘Anonymous’. The authentication header received from the server was ‘Negotiate,NTLM’.

Decided to jump onto my dev environment his morning and ran into: “The remote server returned an error: (401) Unauthorized.” “The HTTP request is unauthorized with […]
February 13, 2017

Dynamic CRM – Upload attachment to record in C#/ASP

I’ve had to get my hands dirty with forms recently, and my last problem was attaching a file to an incident. There are probably better ways […]
January 18, 2017

Dynamics CRM 2011 (!!!) – Dashboards – You do not have enough privileges to access the Microsoft Dynamics CRM object or perform the requested operation

Not had to use 2011 in quite a while. Having just taken over a multitude of deployments it seems a lot of personal views (etc.) were […]
November 28, 2016

Note to Self – Search through sql syscomments

select distinct OBJECT_NAME(id) from sys.syscomments where text like ‘%6%’
June 27, 2016

Scribe – 7.9.1 – Fatal error 325 occurred: Message processor shutting down – defined maximum memory usage (300MB) exceeded.

Got back in from a lovely weekend of doing nothing but emptying my brain to see the following error appear in some of my emails: (Names […]
June 22, 2016

C# Code Snipped – Connect to SQL and set variable

using System.Data.SqlClient; var connetion = new SqlConnection(); connetion.ConnectionString = “Data Source=XXXXXXSQL; Initial Catalog=xxx_db1; Integrated Security=true;”; connetion.Open(); SqlCommand query = new SqlCommand(“Select ID from XXX where Username = ‘” + […]
May 12, 2016

Dynamics CRM 2015 – Javascript – getServerURL() is dead

Use getClientURL() All problems will go away.
April 7, 2016

The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel

Odd one today, only happened to find the solution (Short one as this is more of a note to myself) because of ‘muscle memory’ TL;DR: Make […]