【问题标题】:NopCommerce : Error while running the 'Keep alive' schedule taskNopCommerce:运行“保持活动”计划任务时出错
【发布时间】:2018-03-14 14:20:39
【问题描述】:

我整天都在 Nopcommerce 上收到此错误,该网站在此之前正常工作,然后突然开始出现

运行“保持活动”计划任务时出错。远程服务器 返回错误:(500)内部服务器Error.System.Net.WebException:

远程服务器返回错误:(500) 内部服务器错误。
在 System.Net.WebClient.DownloadDataInternal(Uri 地址,WebRequest& 请求)在 System.Net.WebClient.DownloadString(Uri 地址)在 System.Net.WebClient.DownloadString(字符串地址)在 Nop.Services.Common.KeepAliveTask.Execute() 在 C:\Users\spadmin\Documents\WebStorm\CVLWeb\Libraries\Nop.Services\Common\KeepAliveTask.cs:line 27 在 Nop.Services.Tasks.Task.Execute(布尔 throwException, Boolean dispose, Boolean ensureRunOnOneWebFarmInstance) 中 C:\Users\spadmin\Documents\WebStorm\CVLWeb\Libraries\Nop.Services\Tasks\Task.cs:line 163

我已经尝试了论坛的所有建议,包括更新 Common/KeepAlive.cs 中的 KeepAlive 链接,以在根目录中创建一个名为 KeepAlive 的文件夹。

网站一直运行良好,直到今天早上开始出现错误。我在 Azure 网站上运行 NopCommerce 3.9 版。

【问题讨论】:

    标签: c# azure azure-sql-database azure-web-app-service nopcommerce


    【解决方案1】:

    请注意,keep 只会 ping 商店 URL。能否请您确认商店 URL 并在末尾添加 / ?您也可以尝试更改 URL。网址是否已更改?

    【讨论】:

    • 商店的 URL 没有改变,这之前一直在工作,突然停止工作并开始出现这个错误,我在哪里更新这个,它在 common/keepalive.cs 中吗?
    【解决方案2】:

    首先检查这个 1.转到管理区域>配置>商店>您的商店详细信息并确保使用HTTP://输入商店URL

    【讨论】:

      猜你喜欢
      • 2011-02-21
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2014-11-07
      • 1970-01-01
      • 1970-01-01
      • 2021-05-30
      • 1970-01-01
      相关资源
      最近更新 更多