Quantcast
Channel: Service Bus forum
Viewing all articles
Browse latest Browse all 1916

Service Bus bug on message send or unable to find an entry point named 'EventRegister' in DLL 'advapi32.dll'

$
0
0

Hello, I'm using brokered messaging provided by Windows Azure Service Bus, using latest (2.1.2.0) libraries for .NET.

Most of the time it works fine, but on some machines (Win XP may be other too, testing is in progress) it fails on message send 

_queueClient.Send(message);

providing the following exception and interesting stack

System.EntryPointNotFoundException: Unable to find an entry point named 'EventRegister' in DLL 'advapi32.dll'.

Server stack trace: 
   at Microsoft.ServiceBus.Tracing.EventProviderClone.ManifestEtw.EventRegister(Guid& providerId, EtwEnableCallback enableCallback, Void* callbackContext, Int64& registrationHandle)
   at Microsoft.ServiceBus.Tracing.EventProviderClone.EventRegister(Guid& providerId, EtwEnableCallback enableCallback)
   at Microsoft.ServiceBus.Tracing.EventProviderClone.Register(Guid providerGuid)
   at Microsoft.ServiceBus.Tracing.EventSource..ctor()
   at Microsoft.ServiceBus.Tracing.MessagingClientEtwProvider.get_Provider()
   at Microsoft.ServiceBus.Common.ExceptionTrace.TraceException[TException](TException exception, TraceEventType level, EventTraceActivity activity)
   at Microsoft.ServiceBus.Common.ExceptionTrace.AsError(Exception exception, EventTraceActivity activity)
   at Microsoft.ServiceBus.Messaging.Sbmp.SbmpMessageSender.EndSendCommand(IAsyncResult result)
   at Microsoft.ServiceBus.Messaging.Sbmp.SbmpMessageSender.OnEndSend(IAsyncResult result)
   at Microsoft.ServiceBus.Messaging.MessageSender.RetrySenderAsyncResult.<GetAsyncSteps>b__22(RetrySenderAsyncResult thisPtr, IAsyncResult r)
   at Microsoft.ServiceBus.Messaging.IteratorAsyncResult`1.StepCallback(IAsyncResult result)

Exception rethrown at [0]: 
   at Microsoft.ServiceBus.Common.AsyncResult.End[TAsyncResult](IAsyncResult result)
   at Microsoft.ServiceBus.Messaging.IteratorAsyncResult`1.RunSynchronously()
   at Microsoft.ServiceBus.Messaging.MessageSender.OnSend(TrackingContext trackingContext, IEnumerable`1 messages, TimeSpan timeout)
   at Microsoft.ServiceBus.Messaging.MessageSender.Send(TrackingContext trackingContext, IEnumerable`1 messages, TimeSpan timeout)
   at Microsoft.ServiceBus.Messaging.MessageSender.Send(BrokeredMessage message)
   at Microsoft.ServiceBus.Messaging.QueueClient.Send(BrokeredMessage message)
   at %ApplicationName%.MessageSender.ServiceBusSender.SendMessage(BrokeredMessage message)

Server or client doesn't have right advapi32.dll? To me it looks like server. Also it looks like EntryPointNotFoundException hides other exception that occurred previously (this string Microsoft.ServiceBus.Common.ExceptionTrace.AsError).

Can somebody help me?

Thank you!


Viewing all articles
Browse latest Browse all 1916

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>