Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
Saturday, October 6, 2018 12:04 PM
I have scheduled task scheduler job (PowerShell script) to monitor status of SharePoint site. Sometimes i get status code = 0.
when i check site availability. Everything looks fine i.e. site, network, firewall, SQL.
If anybody is having any idea about status code=0, Please let me know?
Let me know if you need any other info.
All replies (3)
Saturday, October 6, 2018 9:24 PM
Hi Param J.
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.
Bye.
Luigi Bruno
MCP, MCTS, MOS, MTA
Monday, October 8, 2018 2:38 AM
Hi
Pls make sure that your account can excute task schedule.
Please remember to mark the replies as answers if they helped.
Linyu - SharePoint Engineer
Blog: http://blog.csdn.net/linyustar
GitHub: https://github.com/linyus
QQ Group: 72637444
Monday, October 8, 2018 6:41 AM
Hi Param,
Is there any update?
As Luigi said, please provide the relevant PowerShell script with us to help you troubleshoot your issue.
Besides, you can check the similar post below:
https://stackoverflow.com/questions/19858251/what-does-http-status-code-0-mean
Best regards,
Grace Wang
Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact [email protected].
Click here to learn more. Visit the dedicated forum to share, explore and talk to experts about Microsoft Teams.