title: Debug Silverlight application on the client side
body: <p>I got a Silverlight application which runs fine on my dev system, but it doesn't event startup on a bare client, though.</p>
  
  <p>The exception is not helpful at all:</p>
  
  <pre><code>Unhandled Error in Silverlight Application 
  Code: 4004    
  Category: ManagedRuntimeError       
  Message: System.NullReferenceException: Object reference not set to an instance of an object.
     at System.Windows.Application.Application_Starting(Object sender, StartupEventArgs e)
     at MS.Internal.CoreInvokeHandler.InvokeEventHandler(Int32 typeIndex, Delegate handlerDelegate, Object sender, Object args)
     at MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, Int32 actualArgsTypeIndex, String eventName) 
  </code></pre>
  
  <p>Whats a good procedure to get to the bottom of the problem?</p>
  
  <p>Thanks in advance.</p>