[英]IIS websites stop responding and iisreset gives “The data is invalid. <2147942413, 8007000d>”
Question: 题:
What is the cause of the The data is invalid. <2147942413, 8007000d>
The data is invalid. <2147942413, 8007000d>
的原因是什么The data is invalid. <2147942413, 8007000d>
The data is invalid. <2147942413, 8007000d>
error on an iisreset? The data is invalid. <2147942413, 8007000d>
iisreset上的The data is invalid. <2147942413, 8007000d>
错误?
Description: 描述:
We had an issue with our IIS 7 webserver on Windows Server 2008 where a few clients received "The request channel timed out while waiting for a reply..." error indicating they were probably queued before timing out. 我们在Windows Server 2008上的IIS 7网络服务器出现问题,其中一些客户端收到“请求通道在等待回复时超时...”错误,表明它们可能在超时之前排队。
For a quick workaround to bring the web service back up, we did an iisreset which failed with an error: 为了快速解决Web服务的问题,我们做了一个错误的iisreset:
Restart attempt failed.
The data is invalid. <2147942413, 8007000d>
This has never happened before with this server. 这个服务器之前从未发生过这种情况。 Finally, we did a server restart and the web service was up and running again.
最后,我们重新启动了服务器,Web服务又启动并运行了。
What was tried? 尝试了什么?
The following things were done before resorting to a server restart: 在诉诸服务器重启之前完成了以下事项:
net stop
and net start
. net stop
和net start
。 What layer of your code would propagate an error to the client? 您的代码的哪一层会将错误传播给客户端? If you are getting invalid data, then you must validate the data connected to the service.
如果您收到无效数据,则必须验证连接到该服务的数据。 Garbage in garbage out I say.
垃圾出垃圾我说。 I would check your CRUD operations first and be sure that you aren't swallowing exceptions within your Channel Factory.
我会首先检查您的CRUD操作,并确保您不会吞下Channel Factory中的异常。
In this case, wait for up to 2 mins and try again . 在这种情况下,请等待最多2分钟再试一次 。 Usually it should work after that.
通常它应该在那之后工作。 The cause behind this is because when you execute iisreset, it stops the app pools and then start again.
这背后的原因是因为当您执行iisreset时,它会停止应用程序池,然后再次启动。 While some of the app pool may be in use, it takes some time to completely stop and start again.
虽然某些应用程序池可能正在使用,但完全停止并重新启动需要一些时间。 Hope it helps.
希望能帮助到你。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.