servicebus – 在访问Windows Server 1.1的Service Bus时,“在指
[在
Azure forums交叉发布,因为我没有得到任何答案]
嗨, 我已经在使用SQL Express的Windows 8 Pro开发机上安装了Service Server for Windows Server 1.1 Preview.我的帐户是本地管理员. 虽然检查队列是否存在似乎有效(至少没有产生任何错误),但在尝试创建队列时遇到异常,说“没有服务托管在指定的地址”. 任何帮助,将不胜感激. 谢谢, 更新:所以缺少域肯定不是问题,因为我遵循了these instructions.我也确定我的身份验证数据是正确的,因为如果我更改密码,对.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:UsersThomasDocumentsVisual Studio 2012ProjectsServiceBusTestServiceBusTestProgram.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,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,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> 解决方法
我按照MSDN上的示例代码,我有完全相同的错误.我花了一个小时试图找出问题所在,然后我找到了这个
post,这解释了问题.基本上,您需要安装Service Bus 1.0 Nuget软件包而不是1.1版本,这会导致一些不兼容问题.以下文字引自有用的博客文章
我已将我的示例代码(设置,发送和接收消息)的详细信息放在here的博客中 (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
- 这些Windows环境变量的含义是什么?HOMEDRIVE,HOMEPATH,HOM
- windows-server-2008 – 连接到VPN时丢失Internet连接
- ffmpeg命令行,用于使用Windows 7从decklink卡捕获(并记录)7
- 权限 – Microsoft Exchange Server权限洞察
- windows-8 – WinRT Metro应用程序是否交叉兼容(x86 / 64和
- windows-server-2012-r2 – 我找不到有关2012 R2事件ID的25
- wcf – Windows Server 2003和XP上的TLS 1.2
- ON_WM_MOUSEWHEEL无响应
- Windows上的Hudson错误:java.io.IOException:无法运行程序
- 串行I / O重叠/非重叠Windows / Windows CE
- Windows server 2012远程桌面会话主机和远程桌面
- .net – 无法显示错误消息,因为找不到包含它的可
- mfc – 如何启用AfxMessageBox是/否(MB_YESNO)“
- .net – 使用Clickonce部署Microsoft.Bcl.Async
- windows-server-2012 – 在Win2012 R2中创建RDS服
- windows – git如何清理克隆的存储库并重新克隆
- 使用npm install作为MS-Windows系统帐户
- Windows 2019 激活教程
- windows-server-2008 – 为什么我不能拖放文件在
- .net – 将基于ECC的证书从Windows证书存储导入C