Migration COM+ application from win xp to win 7 some times get 0x8004E024 error

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
<p style="border:none; font-family:Segoe UI,Lucida Grande,Verdana,Arial,Helvetica,sans-serif; margin-bottom:5px; outline:0px; padding-right:0px; color:#2a2a2a; line-height:15px; text-align:left
<span style="border:0px; font-style:inherit; font-family:inherit; margin:0px; outline:0px; padding:0px Hi I am migrating my application from windows xp sp3 to windows 7 sp1 system.
<p style="border:none; font-family:Segoe UI,Lucida Grande,Verdana,Arial,Helvetica,sans-serif; margin-bottom:5px; outline:0px; padding-right:0px; color:#2a2a2a; line-height:15px; text-align:left
<span style="border:0px; font-style:inherit; font-family:inherit; margin:0px; outline:0px; padding:0px after installation my program on 7 it works as well, but some time i get follow error ,
<span style="border:0px; font-family:Segoe UI,Lucida Grande,Verdana,Arial,Helvetica,sans-serif; margin:0px; outline:0px; padding:0px; color:#2a2a2a; line-height:15px; text-align:left Usually after several other errors giving an error is found.<br style="color:#2a2a2a; font-family:Segoe UI,Lucida Grande,Verdana,Arial,Helvetica,sans-serif; line-height:15px; text-align:left
<span style="border:0px; font-family:Segoe UI,Lucida Grande,Verdana,Arial,Helvetica,sans-serif; margin:0px; outline:0px; padding:0px; color:#2a2a2a; line-height:15px; text-align:left However, until the program is not closed.<br style="color:#2a2a2a; font-family:Segoe UI,Lucida Grande,Verdana,Arial,Helvetica,sans-serif; line-height:15px; text-align:left
<span style="border:0px; font-family:Segoe UI,Lucida Grande,Verdana,Arial,Helvetica,sans-serif; margin:0px; outline:0px; padding:0px; color:#2a2a2a; line-height:15px; text-align:left After running this program the same events happen again.<br style="color:#2a2a2a; font-family:Segoe UI,Lucida Grande,Verdana,Arial,Helvetica,sans-serif; line-height:15px; text-align:left
<span style="border:0px; font-family:Segoe UI,Lucida Grande,Verdana,Arial,Helvetica,sans-serif; margin:0px; outline:0px; padding:0px; color:#2a2a2a; line-height:15px; text-align:left What is the problem?
<p style="border:none; font-family:Segoe UI,Lucida Grande,Verdana,Arial,Helvetica,sans-serif; margin-bottom:5px; outline:0px; padding-right:0px; color:#2a2a2a; line-height:15px; text-align:left
dotnet is 3.5, and c# and sql 2008
<p style="border:none; font-family:Segoe UI,Lucida Grande,Verdana,Arial,Helvetica,sans-serif; margin-bottom:5px; outline:0px; padding-right:0px; color:#2a2a2a; line-height:15px; text-align:left
thanks
<p style="border:none; font-family:Segoe UI,Lucida Grande,Verdana,Arial,Helvetica,sans-serif; margin-bottom:5px; outline:0px; padding-right:0px; color:#2a2a2a; line-height:15px; text-align:left

<p style="border:none; font-family:Segoe UI,Lucida Grande,Verdana,Arial,Helvetica,sans-serif; margin-bottom:5px; outline:0px; padding-right:0px; color:#2a2a2a; line-height:15px; text-align:left
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)<br/>
at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)<br/>
at System.EnterpriseServices.Thunk.Proxy.CoCreateObject(Type serverType, Boolean bQuerySCInfo, Boolean& bIsAnotherProcess, String& uri)<br/>
at System.EnterpriseServices.ServicedComponentProxyAttribute.CreateInstance(Type serverType)<br/>
at System.Runtime.Remoting.Activation.ActivationServices.IsCurrentContextOK(Type serverType, Object[] props, Boolean bNewObj)<br/>
at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck)<br/>
at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache)<br/>
at System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache)<br/>
at System.Activator.CreateInstance(Type type, Boolean nonPublic)<br/>
at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)<br/>
at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)<br/>
at System.Activator.CreateInstance(String assemblyName, String typeName, Boolean ignoreCase, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, Evidence securityInfo, StackCrawlMark&
stackMark)<br/>
at System.Activator.CreateInstance(String assemblyName, String typeName)<br/>
at Nezam.Infra.Tiers.ServiceFactoryBase.CreateRemoteObject(String assemblyName, String typeName)<br/>
at Nezam.Infra.Tiers.ServiceFactoryBase.CreateService(String assemblyName, String typeName)<br/>
--- End of inner exception stack trace ---<br/>
at Nezam.Infra.Tiers.ServiceFactoryBase.CreateService(String assemblyName, String typeName)<br/>
at Nezam.Infra.Tiers.BusinessFacadeLayerBase.CreateServiceInterfaceService(Type dataTableType)

View the full article
 
Back
Top