SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm getting a vague error (as below) on the built-in _layouts/ChangeFieldOrder.aspx page which uses the DLL "Microsoft.SharePoint.ApplicationPages".

"Object reference not set to an instance of an object"

Is there any way to attach to that DLL so I can step through it and see exactly what's causing the error?

share|improve this question
up vote 4 down vote accepted

You'd have to use something like .NET Reflector and its Visual Studio plugin in order to actually step through the code in the debugger.

With something like ILSpy you can take a look at the code, but not step through it, which may well be enough to discover what's going wrong without spending money.

share|improve this answer

I would check the ULS logs with a tool like the ULS Viewer.

Start a trace, load the page again and check the viewer. It may reveal more details about what's happening to cause the problem.

Here's a link:

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.