What are you attempting to view or do when you connect 'any device'? From a quick search this code seems to be associated with Windows Live Photo Gallery. If this is the case with you then the link may help.
This seems to be an ongoing problem with Win7. Just Googled the error code and it seems to be associated with Live messenger/Live Photo gallery. Can't find a definitive answer to your problem but have a read here:-