2016-05-06 4 views
1

ここでダウンロードしたテンプレートから、Botフレームワークを使用してアプリケーションを作成しました:http://aka.ms/bf-bc-vstemplateボットアプリケーションがIIS Webサーバーに公開されないようにする「AppOffline」とは何ですか?

テストエミュレータでうまく動作します。 IISサーバーに公開するときしかし、私はこのエラーを得た:

Error Web deployment task failed. ((5/6/2016 3:03:54 PM) An error occurred when the request was processed on the remote computer.)

(5/6/2016 3:03:54 PM) An error occurred when the request was processed on the remote computer. 
Exception has been thrown by the target of an invocation. 
    at System.RuntimeMethodHandle._SerializationInvoke(Object target, SignatureStruct& declaringTypeSig, SerializationInfo info, StreamingContext context) 
    at System.Runtime.Serialization.ObjectManager.CompleteISerializableObject(Object obj, SerializationInfo info, StreamingContext context) 
    at System.Runtime.Serialization.ObjectManager.FixupSpecialObject(ObjectHolder holder) 
    at System.Runtime.Serialization.ObjectManager.DoFixups() 
    at System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize(HeaderHandler handler, __BinaryParser serParser, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage) 
    at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream serializationStream, HeaderHandler handler, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage) 
    at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream serializationStream, HeaderHandler handler, Boolean fCheck, IMethodCallMessage methodCallMessage) 
    at Microsoft.Web.Deployment.Base64EncodingHelper.DeserializeHelper(BinaryFormatter formatter, Byte[] buffer) 
    at Microsoft.Web.Deployment.Base64EncodingHelper.Deserialize(String str, Exception& handledException) 
    at Microsoft.Web.Deployment.SerializationHelper.Deserialize(String str) 
    at Microsoft.Web.Deployment.DeploymentAgentWorkerRequest.GetTraceMessage(String[] additionalMessage) 
    at Microsoft.Web.Deployment.DeploymentAgent.HandleSync(DeploymentAgentWorkerRequest workerRequest) 
    at Microsoft.Web.Deployment.DeploymentAgent.HandleRequestWorker(DeploymentAgentAsyncData asyncData) 
    at Microsoft.Web.Deployment.DeploymentAgent.HandleRequest(DeploymentAgentAsyncData asyncData) 
    at Microsoft.Web.Deployment.DeploymentAgent.BeginProcessRequest(DeploymentAgentWorkerRequest workerRequest, AsyncCallback callback, Object extraData) 
Unrecognized rule 'AppOffline'. ParkingBot  0 

AppOfflineエラーとは何ですか?

答えて

1

配備フォルダにapp_offline.htmという名前のファイルがあるかどうか確認してください。このファイルは、デプロイするときのためのもので、完了するまでサイトのログインを防止したいものです。そのファイルは配備後に削除されていない可能性があります。

0

私は、次の手順を実行して、その周りに働いた:

  • を配備のための.pubxmlファイルはFalse に忠実
  • トグルEnableMSDeployAppOfflineを探します。

この機能が必要な場合があります。オプションではない可能性があります。しかし、私のアプリケーションにはこの要件はありません。

関連する問題