追踪 Umbraco 错误消息
我在 Umbraco 安装中安装了几个软件包,因此很难一一追踪它们。我每 5 分钟都会在日志文件中收到此错误消息:
Error executing scheduled task: System.UriFormatException: Invalid URI: The hostname could not be parsed. at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind) at System.Net.WebRequest.Create(String requestUriString) at umbraco.presentation.publishingService.getTaskByHttp(String url) at umbraco.presentation.publishingService.CheckPublishing(Object sender)
是否有更快的方法来跟踪问题?
I have a couple of packages installed in my Umbraco installation so it would be kinda hard to to track down each one of them one by one. I get this error message every 5 minutes in the log file:
Error executing scheduled task: System.UriFormatException: Invalid URI: The hostname could not be parsed. at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind) at System.Net.WebRequest.Create(String requestUriString) at umbraco.presentation.publishingService.getTaskByHttp(String url) at umbraco.presentation.publishingService.CheckPublishing(Object sender)
Is there a faster way of tracking down the issue?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
该问题是由内置任务计划程序引起的。查看 config\umbracoSettings.config 文件并找到 ScheduledTasks 节点。在那里,您会发现某些内容应该每五分钟运行一次,并且指定了错误的 URL。
The issue is caused by the built-in task scheduler. Have a look in the config\umbracoSettings.config file and find the scheduledTasks node. There you'll find something that is supposed to run every five minutes and has a wrong URL specified.