Error configuring using Windows Service Bus (1.1) Configuration Wizard

萝らか妹 提交于 2019-12-05 09:22:48

Look in \Windows\System32\drivers\etc and edit the hosts file - In my case I noticed that I had localhost defined more than once. Even though they were all set to 127.0.0.1 it still seems to have confused the Service Bus config.

I removed the duplicates and then it worked.

I lost 2 days on this.

My issue.

I had previously (months before) installed and was running RabbitMQ.

This guy gave me the hint:

http://www.khalidabuhakmeh.com/installing-windows-service-bus

Make sure you uninstall all previous versions of the Windows App Fabric on your development machine. Additionally, disable any windows service that utilizes the AMQP protocol (RabbitMQ). If you do not disable RabbitMQ then the Service Bus will not be able to start up. Finally, make sure you have SQL Server Express 2012 installed. In regards to SQL Server, make sure to enable TCP/IP protocol; this can be done using the SQL Server Configuration Manager tool.

Once I stopped all RabbitMQ service, I was able to complete the installation.

Sidenote : I used a domain-account. I was connected to my domain-network while doing the install. I did not try with a local-account after I got my issue resolved.

========================================================

Other links I found along the way (besides this one).

http://developers.de/blogs/damir_dobric/archive/2012/09/18/servicebus-message-broker-service-is-starting-and-starting.aspx

https://github.com/matthewcanty/Microsoft.Cloud.Common.AzureStorage.FAKE.dll

http://curtisbadke.ca/blog/2015/10/18/fun-with-installing-service-bus-for-windows/

Things you’ll need to be aware of for local Service Bus installation: If you are in a workgroup you must use local users, if you are in a domain you must use domain users. If you are on Windows 10 with an AAD user your machine is probably in a workgroup. reference If you have VS 2015, you need to install a fake Microsoft.Cloud.Common.AzureStorage assembly. You must use Nuget package WindowsAzure.ServiceBus 2.1.4.0 or older. You must address your Service Bus connections using your full machine name not a short name or something like localhost Hopefully this saves someone hours of frustration

I got it working with the following procedure:

before install

(https://social.msdn.microsoft.com/Forums/en-US/688ada3c-bb95-488d-9ad0-aec297438e1c/problem-starting-message-broker-during-service-broker-configuration?forum=servbus)

  • Open configuration Wizard and select "Leave Farm"

  • Delete all the Service Bus related databases in SQL server

  • Uninstall Service Bus 1.0 and Windows Fabric

  • Remove the folder 'C:\ProgramData\Windows Fabric' if it exists

  • Remove the folders 'C:\Program Files\Service Bus' and 'C:\Program Files\Windows Fabric' if it exists

Reinstall the product:

  • Run "Microsoft.ServiceBus.ConfigWizard.exe" as admin (right-click 'run as admin')
  • Choose 'with custom settings'
  • Set the 'Internal communication port range' to any unused port (not the default 9000, which is often used)
标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!