[在Azure论坛上交叉发布,因为我在那里没有得到任何答案]
嗨,
我已使用SQL Express在Windows 8 Pro dev计算机上安装了Service Bus for Windows Server 1.1预览版。我的帐户是本地管理员。
虽然检查队列是否存在似乎有效(至少不会产生任何错误),但我在尝试创建队列时遇到了一个异常,即“指定地址上没有托管任何服务”。
任何帮助都将不胜感激。
谢谢,托马斯
更新:所以域名的缺乏绝对不是问题,因为我遵循了这些说明。我还确信我的身份验证数据在调用时是正确的。例如,如果我更改密码,QueueExists()将失败。
尽管如此,我在调用
时还是会收到以下异常。CreateQueue()
:
A first chance exception of type 'Microsoft.ServiceBus.Messaging.MessagingEntityNotFoundException' occurred in Microsoft.ServiceBus.dll
System.Transactions Critical: 0 :
<TraceRecord xmlns="http://schemas.microsoft.com/2004/10/E2ETraceEvent/TraceRecord" Severity="Critical">
<TraceIdentifier>http://msdn.microsoft.com/TraceCodes/System/ActivityTracing/2004/07/Reliability/Exception/Unhandled</TraceIdentifier>
<Description>Unhandled exception</Description>
<AppDomain>ServiceBusTest.vshost.exe</AppDomain>
<Exception>
<ExceptionType>Microsoft.ServiceBus.Messaging.MessagingEntityNotFoundException, Microsoft.ServiceBus, Version=2.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35</ExceptionType>
<Message>The remote server returned an error: (404) Not Found. No service is hosted at the specified address..TrackingId:ab98e78f-5bd0-43df-92dc-5703b9f7f5e1_GAdditive,TimeStamp:10/13/13 8:45:46 AM</Message>
<StackTrace> at Microsoft.ServiceBus.Common.AsyncResult.End[TAsyncResult](IAsyncResult result)
at Microsoft.ServiceBus.Common.AsyncResult`1.End(IAsyncResult asyncResult)
at Microsoft.ServiceBus.NamespaceManager.OnEndCreateQueue(IAsyncResult result)
at Microsoft.ServiceBus.NamespaceManager.EndCreateQueue(IAsyncResult result)
at Microsoft.ServiceBus.NamespaceManager.CreateQueue(QueueDescription description)
at ServiceBusTest.Program.Main(String[] args) in c:\Users\Thomas\Documents\Visual Studio 2012\Projects\ServiceBusTest\ServiceBusTest\Program.cs:line 40
at System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args)
at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
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()</StackTrace>
<ExceptionString>The remote server returned an error: (404) Not Found. No service is hosted at the specified address..TrackingId:ab98e78f-5bd0-43df-92dc-5703b9f7f5e1_GAdditive,TimeStamp:10/13/13 8:45:46 AM</ExceptionString>
<DataItems>
<Data><Key>DisablePrepareForRethrow</Key><Value></Value></Data>
<Data><Key>Microsoft.ServiceBus</Key><Value>Microsoft.ServiceBus</Value></Data>
</DataItems>
<InnerException>
<ExceptionType>System.Net.WebException, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType>
<Message>The remote server returned an error: (404) Not Found.</Message>
<StackTrace> at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
at Microsoft.ServiceBus.Messaging.ServiceBusResourceOperations.CreateOrUpdateAsyncResult`1.&lt;GetAsyncSteps&gt;b__14(CreateOrUpdateAsyncResult`1 thisPtr, IAsyncResult r)
at Microsoft.ServiceBus.Messaging.IteratorAsyncResult`1.StepCallback(IAsyncResult result)
</StackTrace>
<ExceptionString>System.Net.WebException: The remote server returned an error: (404) Not Found.
at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
at Microsoft.ServiceBus.Messaging.ServiceBusResourceOperations.CreateOrUpdateAsyncResult`1.&lt;GetAsyncSteps&gt;b__14(CreateOrUpdateAsyncResult`1 thisPtr, IAsyncResult r)
at Microsoft.ServiceBus.Messaging.IteratorAsyncResult`1.StepCallback(IAsyncResult result)
</ExceptionString>
</InnerException>
</Exception>
</TraceRecord>
因此,最终发现最新版本的Service Bus客户端库(Microsoft.ServiceBus.dll v2.1.3)与Service Bus for Windows Server v1.1预览版不兼容。。。切换回v2.0.1解决了问题。
我遵循了MSDN上的示例代码,但出现了完全相同的错误。我花了一个小时试图找出问题所在,然后我找到了这篇解释问题的帖子。基本上,您需要安装Service Bus 1.0 Nuget包,而不是1.1版本,这会导致一些不兼容问题。以下文字引自有用的博客文章
解决此问题的一个方法是按照MSDN文章中提供的说明升级到“Windows Azure Pack:Service Bus 1.1”,其中包括卸载Windows 1.0的Service Bus,并使用版本为2.1.0.0的Microsoft.ServiceBus.dll。
另一种解决方案是删除Nuget包(ServiceBus 1.1 for Windows Server)并安装(ServiceBus 1.0 for Windows Server),这将添加Microsoft。服务总线。版本为1.8.0.0的dll。
我已将示例代码(设置、发送和接收消息)的详细信息放在此处的博客文章中
我是的新手,虽然我阅读了基本文档,并尝试部署一个简单的Spring BootAPI,但我可能缺少很多东西 我已经将API部署为.jar文件,然后安装并使用以下命令推送它: 然后使用docker命令启动API: 当我访问localhost:7777/hello时,我得到了所需的响应 这是我的 根据这个应答的命令,发布这个命令以获取 因此,我使用运行它,得到了这个错误 如果我设法获得,我是否能够访问它
我正在GitHub上的一个repo中托管一个配置。如果我公开回购协议,一切都好,但如果我将其私有化,我将面临: 我用于回购的目标资产是 我应该怎么做才能正确配置私人回购协议,谢谢
我们正在设置一个Amazon VPC,我们将在其中提供(目前)一个EC2实例和一个RDS实例。这是为了“扩展我们的数据中心”,并且只能使用私有子网。 所以实际上,我们有这个设置,它运行良好(插入笑脸图标)。出于所有意图和目的,我们将 Amazon 在此处概述的 VPC 方案 4 镜像:http://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC
如何访问postgres-docker container其他docker container没有ip地址?我想通过使用MyWeb将数据存储在postgres中。在jar中给定主机,如localhost:5432/db。 这是我的作曲文件:
本文向大家介绍windows服务器指定IP地址才能进行远程访问桌面设置方法,包括了windows服务器指定IP地址才能进行远程访问桌面设置方法的使用技巧和注意事项,需要的朋友参考一下 一般情况下分两种方法: 第一种是通过 防火墙来实现 等保测评要求:对服务器限制远程终端登录地址 于是有了:对于某一个服务器,要限定特定IP对其进行访问的需求。 因为存在:Windows server 2003、200
我在inida的jboss应用服务器上托管了一个网站。但从美国无法访问。我试图从印度ping它,然后它是好的,但从美国它显示出糟糕的门户。openshift有什么bug吗?我的测试站点的链接是http://garanci-aspiring.rhcloud.com/