2

最初に、本から新しいSharepointアプリプロジェクトを開きました: Pro Sharepoint App Development (APress)

https://onedrive.live.com/redir?resid=68C060F1B173BAA9!51983&authkey=!AH2c9Msfs2m9KJg&ithint=file%2crar

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.
4

3 に答える 3

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

これが役に立ち、元の問題に対する答えが見つかることを願っています!

于 2014-09-11T01:30:39.813 に答える