error hresult e_fail has been returned from a call to com component
I got a project to develop smart phone application using visual studio 2005, I got my environment ready and click on file new project and selected smart phone, i got this error message.   error hresult e_fail has been returned from a call to com component   I thought installation of visual studio 2005 has a problem, so i re-installed, but no luck it didnt work. I cleaned up my OS and installed Visual Studio 2005, but again failed.     Resolution:   download Microsoft.net Compact Framework 2.0 and install, this fixed the issue,     it took around 8+ hours to find this issue and finally it was a happy ending.