| Author |
Message |
|
|
Posted: May 08, 2011 - 05:36 PM |
|

Joined: Feb 04, 2006
Posts: 49
|
|
I downloaded beta 2 of AS5 and upgraded my beta 1. This same machine has Visual Studio 2008 Professional installed and after the AS5 B2 update I could no longer launch projects in VS 2008 for debug. The following message was output:
Quote:
An error occurred that usually indicates a corrupt installation (code 0x80004002).
If the problem persists, repair your Visual Studio installation via 'Add or Remove Programs' in Control Panel.
Repair of VS 2008 did nothing to fix the issue.
Rebooting did nothing.
I restored my computer to prior to the AS5 installation and everything is back to normal. Anyone have any comments or ideas of why this may have happened? I am a bit nervous about reinstalling.
Sid. |
|
|
| |
|
|
|
|
|
Posted: May 08, 2011 - 10:16 PM |
|

Joined: Apr 02, 2011
Posts: 19
|
|
| I'm pretty sure there's something just about that in the Studio 5 Beta2 release notes. |
|
|
| |
|
|
|
|
|
Posted: May 09, 2011 - 06:52 AM |
|


Joined: Mar 25, 2003
Posts: 91
|
|
| do you have the SP1 for VS2008 installed? |
|
|
| |
|
|
|
|
|
Posted: May 09, 2011 - 05:51 PM |
|

Joined: Feb 04, 2006
Posts: 49
|
|
Yes I have VS 2008 Pro Sp1 installed.
Sid. |
|
|
| |
|
|
|
|
|
Posted: May 12, 2011 - 03:33 AM |
|

Joined: May 12, 2011
Posts: 2
|
|
I am experiencing the same issue on a Vista x64 box.
I had a perfectly functional installation of Visual Studio 2008 Pro SP1. I installed AVR Studio 5 Beta 2 a few days ago using the comprehensive setup package.
Now, I can open my VS projects, but I can not run them through the debugger. I see the exact same error message.
I also tried repairing the VS installation without success.
Any suggestions, aside from the obvious system restore?
P.S. I found no specific reference to VS 2008 in the AVR Studio 5 Beta 2 release notes. |
|
|
| |
|
|
|
|
|
Posted: May 12, 2011 - 04:40 AM |
|

Joined: Apr 17, 2006
Posts: 66
Location: Las Vegas
|
|
| Same issue here. Win 7 Ultimate x64. |
|
|
| |
|
|
|
|
|
Posted: May 12, 2011 - 09:08 PM |
|

Joined: Feb 04, 2006
Posts: 49
|
|
I have simply dumped AS5 for now, at least until it can co-exist with VS 2008.
My installation is on Windows 7 32bit in a VMWare VM.
Sid. |
|
|
| |
|
|
|
|
|
Posted: May 13, 2011 - 09:03 AM |
|

Joined: Aug 11, 2008
Posts: 2
|
|
try something like this, should fix VS2008...
regsvr32 "C:\Program Files\Common Files\Microsoft Shared\VS7Debug\msdbg2.dll" |
|
|
| |
|
|
|
|
|
Posted: May 13, 2011 - 02:46 PM |
|

Joined: May 12, 2011
Posts: 2
|
|
| I called regsvr32 on all of the DLL's in both "C:\Program Files\Common Files\Microsoft Shared\VS7Debug" and (since I am running Vista x64) "C:\Program Files (x86)\Common Files\Microsoft Shared\VS7Debug." Everything seems to work now. Thanks for the lead. |
|
|
| |
|
|
|
|
|
Posted: May 13, 2011 - 07:28 PM |
|

Joined: May 13, 2011
Posts: 5
|
|
| Getting the same error here: "An error occurred that usually indicates a corrupt installation" when launching the debugger from VS 2008 SP1, after installing AVR Studio 5 version 5.0.1119. Running Windows 7 64-bit. |
|
|
| |
|
|
|
|
|
Posted: May 13, 2011 - 07:33 PM |
|

Joined: May 13, 2011
Posts: 5
|
|
| OK, the regsvr32 solution mentioned above seems to work, but you have to run the command shell as Administrator before you enter the regsvr32 command, or else regsvr32 will fail. In the case of Windows 7 64-bit, I think the only DLL that needs registering is C:\Program Files (x86)\Common Files\Microsoft Shared\VS7Debug\msdbg2.dll. |
|
|
| |
|
|
|
|
|
Posted: May 13, 2011 - 10:05 PM |
|

Joined: Apr 17, 2006
Posts: 66
Location: Las Vegas
|
|
Thanks guys, Back in business again!!  |
|
|
| |
|
|
|
|
|
Posted: May 14, 2011 - 06:07 PM |
|

Joined: Feb 04, 2006
Posts: 49
|
|
muntablues & bigmessowires,
Many thanks for the help, I reinstalled beta 2 and registered msdbg2.dll and my VS 2008 debugging is working.
Sid. |
|
|
| |
|
|
|
|
|
Posted: May 18, 2011 - 01:52 PM |
|

Joined: Oct 12, 2007
Posts: 8
Location: Ohio, USA
|
|
Had the same issue with XP SP3 and visual studio 8 SP1. Registered the dll and rebooted; now I can debug my Visual Studio projects again. Thanks for the fix.  |
|
|
| |
|
|
|
|
|
Posted: May 19, 2011 - 01:43 PM |
|

Joined: May 19, 2011
Posts: 2
|
|
The same problem with Vista and VS2005 (used for development with Embedded Win CE 6 and Platform Builder).
I uninstalled the AS5 and run a system restore to get my VS2005 back on track (and went back using the old AS4).
Will the regsvr32 trick work for Vista and VS2005?
Thanks
Nahum. |
|
|
| |
|
|
|
|
|
Posted: May 19, 2011 - 03:34 PM |
|

Joined: Nov 30, 2009
Posts: 13
Location: York, UK
|
|
I had the same problem with XP and VS2005.
The regsvr32 trick above solved it.
Thanks. |
|
|
| |
|
|
|
|
|
Posted: May 21, 2011 - 07:31 PM |
|

Joined: May 19, 2011
Posts: 2
|
|
Thanks guys.
Will give it a try and keep you posted. |
|
|
| |
|
|
|
|
|
Posted: May 30, 2011 - 09:30 PM |
|

Joined: Feb 18, 2008
Posts: 29
Location: Toronto, Ontario
|
|
|
bigmessowires wrote:
In the case of Windows 7 64-bit, I think the only DLL that needs registering is C:\Program Files (x86)\Common Files\Microsoft Shared\VS7Debug\msdbg2.dll.
Verified!
Success on Win 7 Pro.
VS2008 was trashed with 80004002 error.
Doing the above fixed the error. Registering any other file had no effect, including those in the /program files/ version (i.e. not x86). |
|
|
| |
|
|
|
|
|
Posted: Jul 25, 2011 - 02:47 PM |
|

Joined: Feb 27, 2009
Posts: 33
|
|
Hi
Im am running VS2005 on Windows7 Pro and tried the regsvr32 thing, but am getting an error:
The module "msdbg2.dll" was loaded but the call to DllRegisterServer failed with error code 0x80070005.
Mm, as im typing this I realised it might be a security issue...will check quick... |
|
|
| |
|
|
|
|
|
Posted: Jul 26, 2011 - 10:15 AM |
|

Joined: Feb 27, 2009
Posts: 33
|
|
| Yip, was administrative stuff! Thanks for the solution! |
|
|
| |
|
|
|
|
|
Posted: Aug 01, 2011 - 01:57 PM |
|


Joined: Feb 28, 2010
Posts: 153
Location: Jacksonville, FL
|
|
Thanks muntablues running Win 7 64-bit and your solution worked great.
But had to do as b00n suggested and run regsvr32 on both directories. |
_________________ Mike
http://www.JaxCoder.com
WinHeist - Windows Electronic Inventory SysTem.
|
| |
|
|
|
|
|
Posted: Aug 02, 2011 - 11:45 PM |
|


Joined: Oct 06, 2004
Posts: 64
Location: Austin, TX
|
|
I had this problem w/AS5. It's my understanding that AS5 is built using MS's VS2010 base. The problem results from a conflict between VS2008 and VS2010.
Its a similar problem that would occur if you installed VS2010 while VS2008 is already installed.
My fix has been to revert back to AS4. It has been working very well with JTAGICE mkii, GCC, and crossing a few bridges.
...Jim |
_________________ Minimize Coupling - Maximize Cohesion
|
| |
|
|
|
|
|
Posted: Aug 02, 2011 - 11:56 PM |
|


Joined: Jul 18, 2005
Posts: 62228
Location: (using avr-gcc in) Finchingfield, Essex, England
|
|
|
Quote:
Its a similar problem that would occur if you installed VS2010 while VS2008 is already installed.
I have that - there's no problems using those two on the same machine. |
_________________
|
| |
|
|
|
|
|
Posted: Aug 03, 2011 - 01:07 AM |
|


Joined: Feb 28, 2010
Posts: 153
Location: Jacksonville, FL
|
|
| I agree with clawson I also have VS2008, VS2010 and AS5 all running on the same machine and with the fix mentioned am having no problems. |
_________________ Mike
http://www.JaxCoder.com
WinHeist - Windows Electronic Inventory SysTem.
|
| |
|
|
|
|
|
Posted: Mar 07, 2012 - 07:57 PM |
|

Joined: Oct 06, 2010
Posts: 5
|
|
Here is the cause of the problem (if you google this line you will get the whole thread of conversation)
"The actual problem lies in InstallShield settings: COM Extract at Build property setting, this property against DebuggerProxy.dll should be set to No(or false etc). See marked answer.
Publisher of Atmel AVR should prevent this from happening."
-Bill |
_________________ -Bill
|
| |
|
|
|
|
|