Question:
What is the cause of the The data is invalid. <2147942413, 8007000d>
The data is invalid. <2147942413, 8007000d>
error on an iisreset?
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.
For a quick workaround to bring the web service back up, we did an iisreset which failed with an error:
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.
What was tried?
The following things were done before resorting to a server restart:
net stop
and 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.
In this case, wait for up to 2 mins and try again . 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. While some of the app pool may be in use, it takes some time to completely stop and start again. Hope it helps.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.