Question:
After I install an Application Client or a Satellite Server why do I receive the following error when launching the application - "User name already in use. You must use a unique user name"?
Answer:
By default the MassTransit Satellite and MassTransit Application Clients are generic clients until the mtclient.cfg file is placed in the MassTransit Satellite or MassTransit Client folder. This error occurs if you have launched the application prior to placing the mtclient.cfg file in the MassTransit Satellite or Client folder and then re-launched it after placing the mtclient.cfg file in the MassTransit Satellite or Client folder.
In order to fix this you will need to:
1. Navigate to the MassTransit Satellite or Client MassTransit Databases folder:
- if you are using MassTransit version 5 the default installation path is C:\Program Files\Group Logic\MassTransit Satellite 5\Databases\data\mtdatabase or C:\Program Files\Group Logic\MassTransit Client 5\Databases\data\mtdatabase
- if you are using MassTransit version 6 the default installation path is C:\Program Files\Group Logic\MassTransit Satellite 6\Databases\data\mtdatabase or C:\Program Files\Group Logic\MassTransit Client 6\Databases\data\mtdatabase
2. Delete all the files within that folder.
3. Make sure the proper mtclient.cfg file is in place in the MassTransit Satellite or Client folder
- if you are using MassTransit version 5 the default path is C:\Program Files\Group Logic\MassTransit Satellite 5 or C:\Program Files\Group Logic\MassTransit Client 5
- if you are using MassTransit version 6 the default path is C:\Program Files\Group Logic\MassTransit Satellite 6 or C:\Program Files\Group Logic\MassTransit Client 6
4. Re-launch the Satellite or Client.