本文介绍了HTTP状态代码0 - 这是什么意思?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已安排任务调度程序作业(PowerShell脚本)来监视SharePoint站点的状态。当我检查网站可用性时,有时我会获得状态代码= 0。

I have scheduled task scheduler job (PowerShell script) to monitor status of SharePoint site. Sometimes i get status code = 0.

。一切看起来都很好,即网站,网络,防火墙,SQL。

when i check site availability. Everything looks fine i.e. site, network, firewall, SQL.

如果有人对状态代码= 0有任何疑问,请告诉我吗?

If anybody is having any idea about status code=0, Please let me know?

如果您需要任何其他信息,请告诉我。

Let me know if you need any other info.




推荐答案

您能告诉我们PowerShell脚本的作用吗?您能否共享获得状态代码0的PowerShell代码?脚本运行的帐户是否具有足够的权限来执行脚本的源
代码中的所有指令?
b $ b据我所知,状态代码0不是有效的HTTP状态代码:由于正在执行或尝试执行的操作,您的脚本可能由于某些特定原因而返回该代码。

Could you let us know what does that PowerShell script do? Could you share the PowerShell code that gets the status code 0 as result? Does the account the script is running under have enough permission to execute all the instructions in the script's source code?
As far as I know, the status code 0 is not a valid HTTP status code: maybe your script is returning that code for some specific reason due to the operations it is performing or trying to perform.

再见。


这篇关于HTTP状态代码0 - 这是什么意思?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-05 09:53