简体   繁体   English

IIS网站停止响应,iisreset给出“数据无效。 <2147942413,8007000d>“

[英]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: 在诉诸服务器重启之前完成了以下事项:

  1. A backup of the applicationHost file was done to eliminate an IIS config corruption to be the cause. 已完成applicationHost文件的备份,以消除IIS配置损坏的原因。 On comparing the backup with that of the current one after restart showed no difference. 在重新启动后将备份与当前备份进行比较显示没有区别。
  2. Restarted the World Wide Web Publishing Service windows service and then did an iisreset but gave the same error. 重新启动万维网发布服务Windows服务,然后执行iisreset但给出了相同的错误。 Pls note that an iisreset in turn stops and starts the World Wide Web Publishing Service. 请注意,iisreset依次停止并启动World Wide Web Publishing服务。 Tried both from the services.msc console and using net stop and net start . 从services.msc控制台尝试并使用net stopnet start
  3. Checked the CPU/RAM usage in Task Manager and nothing seemed abnormal 检查任务管理器中的CPU / RAM使用情况,似乎没有任何异常
  4. Checked the IIS log of that day u_xxxxxxx.log in the inetpub folder but there was nothing there to describe this error. 检查当天的IIS日志u_xxxxxxx.log在inetpub文件夹中,但没有任何内容可以描述此错误。 Most of them with 200 status code and a few 401 status codes which I caused. 他们中的大多数都有200个状态代码和一些我造成的​​401状态代码。

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.

相关问题 IIS 上的 Blazor WebAssembly 8 - 0x8007000d - Blazor WebAssembly on IIS 8 - 0x8007000d IISRESET 和 IIS 停止-启动命令之间的区别 - Difference between IISRESET and IIS Stop-Start command 移动到不同的 IIS 服务器后,在 IIS 中发布的 asp.net core web api 给出错误 500.19 (0x8007000d) - asp.net core web api published in IIS after moved to different IIS server pc gives error 500.19 (0x8007000d) Flask 应用程序在使用 IIS 时出现 0x8007000d 错误 - Flask app getting 0x8007000d error with IIS IIS虚拟目录触发“无法访问请求的页面,因为该页面的相关配置数据无效。” - IIS Virtual Directory triggers “The requested page cannot be accessed because the related configuration data for the page is invalid.” 如何停止重定向本地托管的iis网站 - How to stop redirecting locally hosted iis websites IIS HTTP 错误 500.19 - 内部服务器错误 0x8007000d - IIS HTTP Error 500.19 - Internal Server Error 0x8007000d 本地IIS 8.5 - 500.19 0x8007000d错误的简单ASP.NET Razor页面 - Simple ASP.NET Razor page on local IIS 8.5 - 500.19 0x8007000d error IIS 在尝试部署 netcore2.0 应用程序时引发配置文件错误 - 0x8007000d - IIS Throws Config File Error - 0x8007000d when trying to deploy netcore2.0 App 在 IIS 中托管 .net core 3.0 时出错 (0x8007000D) - Error while hosting .net core 3.0 in IIS (0x8007000D)
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM