While doing some development using RIA services, Silverlight 4 and SQL I started to get this error after modifying one of my pages:
A transport-level error has occurred when receiving results from the server. (provider: Shared Memory Provider, error: 0 - The handle is invalid.)
My application had shut down correctly and I then discovered it had also broke all my current forms so figuring whatever I’d just changed must have caused it, I reverted my change to continue with this error. I stopped and started SQL Server..still no luck. I commented out a bunch of code till it was bare minimum and still no luck.
Still don’t know what caused it but after an hour of trying things I did the reboot your computer trick and tada it all worked again. So if anyone knows how to fix this other than rebooting your computer, please let me know.