I'm using Windows XP Professional SP3 and recently switched to Visual Studio 2010 Professional SP1 to work on a C++ project.
If I try to right-click on a project inside Solution Explorer and select "Add" >> "Resource...", I get this error popup window:
"The operation could not be completed. Unspecified error"
And then the only option is to click "OK".
Anyone else encountered this?
So I'm not 100% sure of the exact reason for this, but it had something to do with the Code Browsing Info DB that I had disabled to speed up VS2010. Seems VS won't allow entering the Add Resource wizard if the Code Browsing Info DB is disabled.
Still with the DB re-enabled I got the hanging "Please wait while 'Resource Script Wizard' prepares to start. Click Cancel to end 'Resource Script Wizard'" prompt. Not sure how it finally disappeared, but I had to do a reboot and did close my Outlook mail client after the reboot while doing a couple more trials. Not sure if it has anything to do, but after that I was able to enter the Add Resource Wizard.
Maybe the good old Microsoft-style troubleshooting reboots still works after all these years.
Yes i had same problem, the solution its simple, you should close resource file then u can insert another image resource, Visual Studio cant add ids to bitmap while the file steel open "resource.h"
I had this same problem.
Right clicking on the project, selecting Unload Project, then right clicking again and clicking Reload Project fixed it.
In my case, it was cause by Google Recaptcha control.
I'd generate ressource after my page was completed so he catch my recaptcha Control but added a weird tag in his XML document.
Here is what I propose to you, open your resources file using XML editor and check out if there is not a weird tags which is widely different than other one. Maybe for me it's recatpcha, but maybe for you it's another third party.
Check out mine what it looks like :