我目前正在尝试安装Windows Server Service Bus 1.0(在我的 PC 上,以允许对 Windows Azure 进行本地开发),但是每当我尝试通过 Service Bus Explorer (1.8) 或使用来自的测试应用程序访问 Service Bus 时MSDN 网站我得到以下异常。
我确信这些是同一个问题。
这是通过我编写的控制台应用程序:
The remote server returned an error: (400) Bad Request. Incorrect request Uri format..TrackingId:b22ffa03-4479-43c4-ab34-4d16324fb943_********,TimeStamp:16/07/2013 07:40:23
这是通过服务总线资源管理器:
The remote server returned an error: (400) Bad Request. Incorrect request Uri format..TrackingId:242b22c8-d9e9-4e48-aca0-4faa7b71c349_**********,TimeStamp:16/07/2013 08:17:35. Method <GetQueues>b__26:
有人可以帮忙吗?我想我没有正确配置服务总线,但我不知道出了什么问题。
在配置服务总线时,我使用了似乎可以正常工作的服务总线配置工具的标准设置。(即在日志中没有错误,也没有报告)。
如果您需要任何进一步的信息,请询问!
先感谢您
为了完整起见,这里是我的控制台应用程序产生的完整堆栈跟踪......
System.ArgumentException was unhandled
HResult=-2147024809
Message=The remote server returned an error: (400) Bad Request. Incorrect request Uri format..TrackingId:b22ffa03-4479-43c4-ab34-4d16324fb943_********,TimeStamp:16/07/2013 07:40:23
Source=Microsoft.ServiceBus
StackTrace:
Server stack trace:
Exception rethrown at [0]:
at Microsoft.ServiceBus.Common.AsyncResult.End[TAsyncResult](IAsyncResult result)
at Microsoft.ServiceBus.Common.AsyncResult`1.End(IAsyncResult asyncResult)
at Microsoft.ServiceBus.Messaging.ServiceBusResourceOperations.EndGet[TEntityDescription](IAsyncResult asyncResult)
at Microsoft.ServiceBus.NamespaceManager.OnEndQueueExists(IAsyncResult result)
at Microsoft.ServiceBus.NamespaceManager.EndQueueExists(IAsyncResult result)
at Microsoft.ServiceBus.NamespaceManager.QueueExists(String path)
at ServiceBusConsoleApp.Sender.Main(String[] args) in c:\MyTfs\ServiceBusConsoleApp\Program.cs:line 37
at System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args)
at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
InnerException: System.Net.WebException
HResult=-2146233079
Message=The remote server returned an error: (400) Bad Request.
Source=System
StackTrace:
at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
at Microsoft.ServiceBus.Messaging.ServiceBusResourceOperations.GetAsyncResult`1.EndGetResponse(GetAsyncResult`1 thisPtr, IAsyncResult ar)
at Microsoft.ServiceBus.Messaging.IteratorAsyncResult`1.StepCallback(IAsyncResult result)
InnerException: