Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

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

2 Answers 2

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: http://archive.msdn.microsoft.com/ULSViewer

share|improve this answer

Your Answer

 
discard

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.