<i id='7m87C'><tr id='7m87C'><dt id='7m87C'><q id='7m87C'><span id='7m87C'><b id='7m87C'><form id='7m87C'><ins id='7m87C'></ins><ul id='7m87C'></ul><sub id='7m87C'></sub></form><legend id='7m87C'></legend><bdo id='7m87C'><pre id='7m87C'><center id='7m87C'></center></pre></bdo></b><th id='7m87C'></th></span></q></dt></tr></i><div id='7m87C'><tfoot id='7m87C'></tfoot><dl id='7m87C'><fieldset id='7m87C'></fieldset></dl></div>
  • <small id='7m87C'></small><noframes id='7m87C'>

      <tfoot id='7m87C'></tfoot>
        <bdo id='7m87C'></bdo><ul id='7m87C'></ul>
    1. <legend id='7m87C'><style id='7m87C'><dir id='7m87C'><q id='7m87C'></q></dir></style></legend>

        “函数运行时无法启动"

        quot;The function runtime is unable to startquot;(“函数运行时无法启动)

      1. <legend id='48cDu'><style id='48cDu'><dir id='48cDu'><q id='48cDu'></q></dir></style></legend>

        <small id='48cDu'></small><noframes id='48cDu'>

      2. <i id='48cDu'><tr id='48cDu'><dt id='48cDu'><q id='48cDu'><span id='48cDu'><b id='48cDu'><form id='48cDu'><ins id='48cDu'></ins><ul id='48cDu'></ul><sub id='48cDu'></sub></form><legend id='48cDu'></legend><bdo id='48cDu'><pre id='48cDu'><center id='48cDu'></center></pre></bdo></b><th id='48cDu'></th></span></q></dt></tr></i><div id='48cDu'><tfoot id='48cDu'></tfoot><dl id='48cDu'><fieldset id='48cDu'></fieldset></dl></div>
          <tbody id='48cDu'></tbody>

          • <tfoot id='48cDu'></tfoot>
              <bdo id='48cDu'></bdo><ul id='48cDu'></ul>
                  本文介绍了“函数运行时无法启动"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我知道这可能与配置错误有关,但不幸的是,我得到的最多信息是

                  I know it probably has something to do with a misconfiguration, but unfortunately the most info I get is

                  函数运行时无法启动.会话 ID:b939c608ae424150878a55eeac6e7d36 时间戳:2018-10-04T18:05:22.023Z

                  The function runtime is unable to start. Session Id: b939c608ae424150878a55eeac6e7d36 Timestamp: 2018-10-04T18:05:22.023Z

                  我的函数看起来像

                      [FunctionName("DoJob")]
                      public static async Task DoJobAsync([ServiceBusTrigger("job-queue", Connection = "MyServiceBusConnection")] string json, ILogger log)
                      {
                  
                         … 
                  
                      }
                  

                  我的 local.settings.json 就像

                  and my my local.settings.json is like

                  {
                      "IsEncrypted": false,
                      "Values": {
                        "AzureWebJobsStorage": "UseDevelopmentStorage=true",
                        "AzureWebJobsDashboard": "UseDevelopmentStorage=true",
                        "MyServiceBusConnection": "[my service bus connection string]"
                      }
                  }
                  

                  函数应用程序在本地构建并发布,但一旦我在门户中导航到它,就会收到上述错误.

                  The function app builds locally and publishes, but as soon as I navigate to it in the portal I get the above error.

                  我正在使用 .NET Standard (V2) 和最新版本 1.0.22.

                  I am using .NET Standard (V2) and the latest version 1.0.22.

                  另外,如果我尝试在门户中进行测试,我会收到 500 Internal Server Error 但日志流中没有显示任何内容.

                  Also, if I try to test in the portal I get 500 Internal Server Error but nothing shows up in Log Streaming.

                  推荐答案

                  如果没有任何进一步的信息,我假设您可能忘记在 Azure 门户的应用程序设置中添加 MyServiceBusConnection,这将导致与您相同的错误看到.

                  Without any further info, I assume you may forget to add MyServiceBusConnection in Application settings on Azure portal, which will cause same error you have seen.

                  如果不是这样,您可以转到 https://<functionappname>.scm.azurewebsites.net/DebugConsole 并导航到 D:homeLogFilesApplicationFunctionsHost 查看函数运行时日志.

                  If it's not the case, you could go to https://<functionappname>.scm.azurewebsites.net/DebugConsole and navigate to D:homeLogFilesApplicationFunctionsHost to see function runtime logs.

                  这篇关于“函数运行时无法启动"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  Adding and removing users from Active Directory groups in .NET(在 .NET 中的 Active Directory 组中添加和删除用户)
                  set equality in linq(在 linq 中设置相等)
                  HashSet conversion to List(HashSet 转换为 List)
                  How to set timeout for webBrowser navigate event(如何为 webBrowser 导航事件设置超时)
                  Test whether two IEnumerablelt;Tgt; have the same values with the same frequencies(测试两个IEnumerablelt;Tgt;具有相同频率的相同值)
                  How do you determine if two HashSets are equal (by value, not by reference)?(您如何确定两个 HashSet 是否相等(按值,而不是按引用)?)
                    <tbody id='YBZmc'></tbody>

                    • <bdo id='YBZmc'></bdo><ul id='YBZmc'></ul>
                    • <i id='YBZmc'><tr id='YBZmc'><dt id='YBZmc'><q id='YBZmc'><span id='YBZmc'><b id='YBZmc'><form id='YBZmc'><ins id='YBZmc'></ins><ul id='YBZmc'></ul><sub id='YBZmc'></sub></form><legend id='YBZmc'></legend><bdo id='YBZmc'><pre id='YBZmc'><center id='YBZmc'></center></pre></bdo></b><th id='YBZmc'></th></span></q></dt></tr></i><div id='YBZmc'><tfoot id='YBZmc'></tfoot><dl id='YBZmc'><fieldset id='YBZmc'></fieldset></dl></div>

                          <tfoot id='YBZmc'></tfoot>

                          <small id='YBZmc'></small><noframes id='YBZmc'>

                          1. <legend id='YBZmc'><style id='YBZmc'><dir id='YBZmc'><q id='YBZmc'></q></dir></style></legend>