我正在我的一个 asp.net 应用程序中实现导出到 Excel 功能。我有两台服务器(QA 和 Development)。在开发服务器中它工作正常,但在 QA 服务器中我得到以下错误。
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& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean&
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
我在两台服务器上都配置了相同的东西,但 QA 服务器仍然无法正常工作。接下来我该怎么办?任何想法...??