最初に、本から新しいSharepointアプリプロジェクトを開きました: Pro Sharepoint App Development (APress)
2番目。Azure アカウントにアクセスし、サービス バスの名前空間を作成して、接続文字列 http://screencast.com/t/G4w0EXeYYMdTをコピーしました。
3番目に、それをビジュアルスタジオhttp://screencast.com/t/8PXdt2QuTwAHに貼り付けました
4番目。ファイアウォールを無効にしました http://screencast.com/t/kqOlWxSZ9Hk
5番目。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 がホストされている、またはプロバイダーがホストされているだけであることに注意してください。App Installed イベントを true にすると、アプリは 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.