第二。我去了我的azure帐户,创建了一个服务总线命名空间并复制了连接字符串 http://screencast.com/t/G4w0EXeYYMdT
第三我将它粘贴到视觉工作室 http://screencast.com/t/8PXdt2QuTwAH第四。我禁用了防火墙 http://screencast.com/t/kqOlWxSZ9Hk
第五。我按F5部署应用程序。我点击信任,然后应用程序说有错误,我关闭Visual Studio中的浏览器窗口
30秒后我得到了这个:
@"Error 1
CorrelationId: 4f1a0952-1102-47c0-83f3-62f85952bdf9
ErrorDetail: The remote event receiver callout failed.
ErrorType: Transient
ErrorTypeName: Intermittent
ExceptionMessage: There was no endpoint listening at https://levalencia1.servicebus.windows.net/2772163249/415041792/obj/25b23141-8ec2-4982-9134-09f8d2c02620/AppEventReceiver.svc that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details.
Source: Common
SourceName: Common App Deployment
更新1: 我在60天前取消了我的sharepoint在线订阅,当我重新启动它时,我不得不再次购买许可证,但这样做没有任何区别。 请注意我只是创建一个空白的应用程序,sharepoint托管或提供者托管,一旦我确认应用程序安装事件,在Visual Studio中未部署应用程序(当按F5时)。
该应用程序在网站内容上显示错误,因此我关闭浏览器中的窗口并在输出中显示上述消息,我甚至重新创建了开发人员网站集,我重新创建了服务总线命名空间,我禁用了防火墙。 / p>
@"Error 1
CorrelationId: 06821605-2c94-4df6-9146-c934d1cca93d
ErrorDetail: The remote event receiver callout failed.
ErrorType: Transient
ErrorTypeName: Intermittent
ExceptionMessage: There was no endpoint listening at https://levalencia.servicebus.windows.net/2772163249/415041792/obj/25b23141-8ec2-4982-9134-09f8d2c02620/AppEventReceiver.svc that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details.
Source: Common
SourceName: Common App Deployment
我还在输出共享点工具窗口中注意到以下内容:
Cannot register AppEventReceiver.svc on Microsoft Azure Service Bus: The underlying connection was closed: An unexpected error occurred on a send.
答案 0 :(得分:3)
使用ACS auth,而不是SAS作为服务总线命名空间的auth,因为它似乎完全打破了RER调试。
如果您没有为此身份验证配置命名空间(似乎您无法使用它创建新的命名空间),请使用Azure CLI cmdlet New-AzureSBNamespace -Name "NewNamespace" -Location "West Europe"
答案 1 :(得分:2)
我也在这里遇到同样的问题。完全相同的错误消息。不幸的是,我没有原始问题的答案,但能够使用VS2013中的远程调试进行RER(远程事件接收器)的调试。
您可以将提供商托管应用程序部署到Azure中的远程Web,并将远程调试器连接到已部署的远程Web。这将允许您调试事件接收器。
有关VS2013 / VS2012中远程调试的更多信息:http://blogs.msdn.com/b/webdev/archive/2013/11/05/remote-debugging-a-window-azure-web-site-with-visual-studio-2013.aspx
希望这有帮助,希望我们能找到原问题的答案!
答案 2 :(得分:0)
当从sharepoint应用程序触发事件接收器时,将搜索端点。 如果您在localhost上部署应用程序,那么在线sharepoint(我假设您正在使用部署sharepoint应用程序)将无法找到您的终端。
要调用远程事件接收器,要么将其托管在azure上,要么可以通过sharepoint在线找到端点(全局可用)