locked
migration COM+ application from win xp to win 7 some times get 0x8004E024 error RRS feed

  • Question

  • Hi I am migrating my application from windows xp sp3 to windows 7 sp1 system.

    after installation my program on 7 it works as well, but some time i get follow error ,   

    Usually after several other errors giving an error is found.
      However, until the program is not closed.
    After running this program the same events happen again.
    What is the problem?

    dotnet is 3.5, and c# and sql 2008

    thanks

    System.Runtime.InteropServices.COMException (0x8004E024): COM+ activation failed because the activation could not be completed in the specified amount of time. (Exception from HRESULT: 0x8004E024)
       at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
       at System.EnterpriseServices.Thunk.Proxy.CoCreateObject(Type serverType, Boolean bQuerySCInfo, Boolean& bIsAnotherProcess, String& uri)
       at System.EnterpriseServices.ServicedComponentProxyAttribute.CreateInstance(Type serverType)
       at System.Runtime.Remoting.Activation.ActivationServices.IsCurrentContextOK(Type serverType, Object[] props, Boolean bNewObj)
       at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck)
       at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache)
       at System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache)
       at System.Activator.CreateInstance(Type type, Boolean nonPublic)
       at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
       at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
       at System.Activator.CreateInstance(String assemblyName, String typeName, Boolean ignoreCase, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, Evidence securityInfo, StackCrawlMark& stackMark)
       at System.Activator.CreateInstance(String assemblyName, String typeName)
       at Nezam.Infra.Tiers.ServiceFactoryBase.CreateRemoteObject(String assemblyName, String typeName)
       at Nezam.Infra.Tiers.ServiceFactoryBase.CreateService(String assemblyName, String typeName)
       --- End of inner exception stack trace ---
       at Nezam.Infra.Tiers.ServiceFactoryBase.CreateService(String assemblyName, String typeName)
       at Nezam.Infra.Tiers.BusinessFacadeLayerBase.CreateServiceInterfaceService(Type dataTableType)

    Sunday, July 8, 2012 6:29 AM