title: How to configure DCOM configuration for Export To Excel?
body: <p>I am implementing Export To Excel functionality in one of my asp.net application. I have two servers(QA and Development). In Development server it works fine but in QA server i am getting below error.</p>
  
  <pre><code>    An exception of type System.Runtime.InteropServices.COMException occurred and was 
  caught. Source:mscorlib;Message:Retrieving the COM class factory for component with CLSID 
  {00024500-0000-0000-C000-000000000046} failed due to the following error: 8000401a The 
  server process could not be started because the configured identity is incorrect.  Check the username and password. (Exception from HRESULT: 
  0x8000401A).;Target:System.MarshalByRefObject AllocateUninitializedObject(System.RuntimeType);StackTrace:   at 
  System.Runtime.Remoting.RemotingServices.AllocateUninitializedObject(RuntimeType objectType)     at 
  System.Runtime.Remoting.Activation.ActivationServices.CreateInstance(RuntimeType serverType)     at 
  System.Runtime.Remoting.Activation.ActivationServices.IsCurrentContextOK(RuntimeType serverType, Object[] props, Boolean bNewObj)     at 
  System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean&amp; canBeCached, RuntimeMethodHandleInternal&amp; ctor, Boolean&amp; 
  bNeedSecurityCheck)     at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache)     at 
  System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean skipCheckThis, Boolean fillCache)     at 
  System.Activator.CreateInstance(Type type, Boolean nonPublic)     at System.Activator.CreateInstance(Type type)     at XXXXXXXXXXXXX  Method - XXXXXXXXXXXXX
  </code></pre>
  
  <p>I have configured same thing in both servers but still QA server not working properly. What should i do next? Any idea...??</p>