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.
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