By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,090 Members | 1,396 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,090 IT Pros & Developers. It's quick & easy.

VB on Windows Vista

P: 93
Hey guys, I just downloaded Microsoft Visual Basic 2005 Express Edition, and everything went well and fine (I have Windows Vista Home Premium). But when I tried to debug my project, I got an error message saying:

"Error while to run project: Could not load file or assembly "Project1" or one of its dependencies. The given assembly name or codebase was invalid. (Exception from HRESULT: 0x80131047)."

So I tried to download the "Visual Studio 2005 Service Pack 1 Update for Windows Vista" to try and resolve the problem. But then I got another error while downloading it, saying:

"The upgrade patch cannot be installed by the Windows Installer service because the program to be upgraded may be missing, or the upgrade patch may update a different version of the program. Verify that the program to be upgraded exists on your computer and that you have the correct upgrade patch."

I have no idea what went wrong. But, although I can't debug my project, it will still run fine from the executable file created in the "bin" folder of my project. Weird....

If you know anything about my problem, please leave a reply!!!
Mar 27 '07 #1
Share this Question
Share on Google+
1 Reply

Expert 100+
P: 2,364
Look to see if you can restore your PC to an earlier time to resolve these issues. If this is successful:

(1) back up your system
(2) Load VB Express again
(3) Do some windows updates
(4) Then try running your app again.

I do not know too much about Vista, but I have heard there are some issue to consider.

(a) You should probably comment on Microsoft Knowledge Base. They probably have something posted there to resolve these issues.

(b) If you have not yet searched Google, type up a sentence, in search terms, about these issues and fire away. It's probable other programmers are having the same problems.

Sorry for your troubles.

Mar 27 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.