2008-04-07

Ya lo cacé - Problema con WMI

Viva el Wireshark… la clave era husmear en el tráfico TCP porque el error lo estaba devolviendo el clientesow.exe (como es lógico, ya que esto sólo ocurre en esta máquina).

 

La traza es algo así (está entremezclada la petición con la respuesta):

Culture=neutral, PublicKeyToken=f3f121c2e6d50af7............HS:\SOW\DOMI\CI000003x5000\000000000019009\CI000000x5000\000000000000001\.......................4System.Runtime.Remoting.Messaging.LogicalCallContext.....E2ETrace.ActivityID..System.Guid......System.Guid....._a._b._c._d._e._f._g._h._i._j._k.................................`...g.

.NET......>.....

..................A"..........................+System.Runtime.InteropServices.COMException

....ClassName.Message.InnerException.HelpURL.StackTraceString.RemoteStackTraceString.RemoteStackIndex.ExceptionMethod.HResult.Source...........System.Exception.......+System.Runtime.InteropServices.COMException......Clase no registrada

 

.......   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(Int32 errorCode, IntPtr errorInfo)

   at System.Management.ManagementScope.InitializeGuts(Object o)

   at System.Management.ManagementScope.Initialize()

   at System.Management.ManagementObject.Initialize(Boolean getObject)

   at System.Management.ManagementBaseObject.get_Properties()

   at caixagalicia.CGAL013.ClienteSOWDistr.ClienteSOW.ObtenerRutaAbsoluta(Int32& codError, String& strError, String rutaRelativa, String& rutaUnidadDeRed, String& directoriosRutaRelativa)

   at System.Runtime.Remoting.Messaging.StackBuilderSink.PrivateProcessMessage(MethodBase mb, Object[] args, Object server, Int32 methodPtr, Boo

lean fExecuteInContext, Object[]& outArgs)

   at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg, Int32 methodPtr, Boolean fExecuteInContext)

...........8.ThrowExceptionForHR.mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089.System.Runtime.InteropServices.Marshal.Void ThrowExceptionForHR(Int32, IntPtr)T.........mscorlib.....4System.Runtime.Remoting.Messaging.LogicalCal

lContext.....E2ETrace.ActivityID..System.Guid......System.Guid....._a._b._c._d._e._f._g._h._i._j._k.................................`...g.

 

Investigando por internet llegué a la conclusión de que el problema es que está jodido el WMI (a veces pasa), pero no hay problema: Microsoft hace muchas chapuzas, pero luego también hace la herramienta chapuza para arreglar la chapuza primera cuando se jode…

 

En fin: http://windowsxp.mvps.org/repairwmi.htm te lleva a The WMI Diagnosis Utility [microsoft.com]

 

Lo he intentado todo, pero no hay forma, no lo arreglo ni a la de tres.

 

 

 

No hay comentarios: