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 client authentication scheme ‘Anonymous’. The authentication header received from the server was ‘Negotiate,NTLM’.”

My web config file has this:

and my class files contain:

Turns out that if you disable Anonymous Authentication on Dynamics CRM, stuff goes wrong.

Keep Anonymous Authentication turned on if you use code similar to mine (Probably not advised)

Dynamics CRM authentication:

Web Site Authentication:

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

Personal Update

I’m now a Solutions Architect. That’s scary.
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%’
September 14, 2016

My Insights Discovery – Value to The Team (Part 6)

Value to the Team Each person brings a unique set of gifts, attributes and expectations to the environment in which they operate. Add to this list any […]
September 13, 2016

My Insights Discovery – Key Strengths & Weaknesses (Part 5)

Key Strengths & Weaknesses Strengths This section identifies the key strengths which Jason brings to the organisation. Jason has abilities, skills and attributes in other areas, but […]
September 13, 2016

My Insights Discovery – Decision Making (Part 4)

Decision Making Jason can usually get to the heart of any situation and implement an effective solution. His decision making is based on prior reflective, contemplative thought. […]
September 13, 2016

My Insights Discovery – Interacting with Others (Part 3)

Here’s part 3… My interactions! Interacting with Others Jason applies objective analysis to most things, including people. He may have an aversion to having his time and […]
September 13, 2016

My Insights Discovery – Overview & Personal Style (Part 2)

Overview These statements provide a broad understanding of Jason’s work style. Use this section to gain a better understanding of his approaches to his activities, relationships and […]