第一次我从书中打开了一个新的 Sharepoint App 项目:Pro Sharepoint App Development (APress)
第二。我去了我的 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 在线订阅,当我重新激活它时,我不得不再次购买许可证,但是这样做没有任何区别。请注意,我只是创建一个空白应用程序、托管共享点或托管提供程序,一旦我将应用程序安装事件设为真,应用程序就不会在 Visual Studio 中部署(按 F5 时)。
该应用程序在站点内容上显示错误,因此我关闭了浏览器内窗口,它在输出上显示上述消息,我什至重新创建了开发人员站点集合,我重新创建了服务总线命名空间,我禁用了防火墙。
@"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.