[英]userprofile path returns Default while running as a schedule task
[英]NopCommerce : Error while running the 'Keep alive' schedule task
我整天都在Nopcommerce上收到此錯誤,該網站正常運行,然后突然開始
運行“保持活動”計划任務時出錯。 遠程服務器返回錯誤:(500)Internal Server Error.System.Net.WebException:
遠程服務器返回錯誤:(500)Internal Server Error。
在System.Net.WebClient.DownloadDataInternal(Uri地址,WebRequest&request)在System.Net.WebClient.DownloadString(Uri地址)在System.Net.WebClient.DownloadString(String地址)在Nop.Services.Common.KeepAliveTask.Execute( )在C:\\ Users \\ spadmin \\ Documents \\ WebStorm \\ CVLWeb \\ Libraries \\ Nop.Services \\ Common \\ KeepAliveTask.cs:第27行在Nop.Services.Tasks.Task.Execute(Boolean throwException,Boolean dispose,Boolean sureRunOnOneWebFarmInstance)中C:\\ Users \\ spadmin \\ Documents \\ WebStorm \\ CVLWeb \\ Libraries \\ Nop.Services \\ Tasks \\ Task.cs:line 163
我嘗試了論壇中的所有建議,包括更新Common / KeepAlive.cs中的KeepAlive鏈接,以在根目錄中創建一個名為KeepAlive的文件。
直到今天早上該錯誤開始出現時,WebSite都運行良好。 我正在Azure網站上運行3.9版本的NopCommerce。
請注意,keep只會對商店URL執行ping操作。 您能否確認商店URL並在末尾添加/? 您也可以嘗試更改URL。 網址更改了嗎?
首先檢查一下1.轉到管理區域>配置>商店>您的商店詳細信息,並確保使用HTTP://輸入了商店URL
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.