With WorkSite Web's assemblies, it can be difficult when you're customizing against them to figure out why something is throwing an error with your code and why it works in WorkSite Web.
Have you ever wanted to look at the code inside the web assemblies but don't know how? Now you can. There is this neat tool called
Reflector available for free. It allows you to review source code inside .NET assemblies.
So let's take a sample exception stack from WorkSite and see how Reflector can help me debug. To generate this error, I logged in as UserX and tried to look at the properties of a document to which UserX has no access. This is a common scenario where a user might receive a link to a document from someone else. To begin troubleshooting, you need to review the WorkSite stack trace. This has a wealth of information about the error and what objects were used to get there. Once you figure out where the error ocurred, you can then use Reflector to view the source code.
First review the stack trace attachment and then review the Reflector attachment to put it all together.
If you have any questions or comments, feel free to respond.