ServiceBus 1.0 and 1.6 side by side

Damir Dobric Posts

Next talks:

 

    

Follow me on Twitter: #ddobric



 

 

Archives


I had a strange problem few days ago with one ServiceBus application. The application has been tested successfully, but imagine it didn’t work in production (in this case stage-system).
This seems to be a standard pattern in a life of one software developer. The error was like:

“error: "MissingToken: Relay security token is required"

Uups.

However, there also a common pattern in the life of same person called “Never trust an error message” (especially not if it is translated in another language from English).

So I figured out, that Microsoft.ServiceBus.dll 1.0 was already installed on the production machine. Remember, this assembly was at the beginning always registered in GAC. Since v. 1.6 this is no more the case. So, the application was basically executed against old version of Service Bus.

image

Racap: Remove 1.0 before installing 1.6. The version 1.6 which is installed by November 2011 Windows Azure SDK release will not remove the existing version automatically.

Hope this never happen to you. See here for more information about different version of Windows Azure SDK.


Posted Mar 18 2012, 11:55 PM by Damir Dobric

Comments

Livia wrote re: ServiceBus 1.0 and 1.6 side by side
on 10-30-2012 20:27

Yes it is possible, just add the WCF servcie (*.svc + servcie dll) to the ASP.NET project. IIS will be able to serve request for both. Make sure you put the required configuration into your web.config.It is not the only solution but it should be easy to implement.

developers.de is a .Net Community Blog powered by daenet GmbH.