I'm developing a Service Fabric Stateless App and thereĀ“s some strange behaviour when I try to create a service bus queue client
.
In the Servie.cs
class:
public class ServiceBusQueueService : IQueueService<SbMessage>
{
private readonly QueueClient _client;
public ServiceBusQueueService(string queueName)
{
var connectionString = ConfigurationManager.AppSettings.Get("ServiceBus.ConnectionString");
// When executes this line, it throws an exception
_client = QueueClient.CreateFromConnectionString(connectionString, queueName);
}
}
The exception:
Managed Debugging Assistant 'FatalExecutionEngineError' has detected a problem in 'C:\SfDevCluster\Data_App_Node_4\App\etc\etc\app.exe'.
Additional information: The runtime has encountered a fatal error. The address of the error was at 0x809d81d6, on thread 0x19a4. The error code is 0x80131623. This error may be a bug in the CLR or in the unsafe or non-verifiable portions of user code. Common sources of this bug include user marshaling errors for COM-interop or PInvoke, which may corrupt the stack.
I have no idea what it could be.
I have the same error using VS2015 update 3 , when running in the local fabric emulator ( will test if it happens on a real cluster) its a native error with the low level service bus run time . All i can say is to report it at this point.
Nuget packages Service fabric C# 2/5.1.150 windows azure service bus. 3.3.1
User contributions licensed under CC BY-SA 3.0