Forum Menu




 


Log in Problems?
New User? Sign Up!
AVR Freaks Forum Index

Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
sidprice
PostPosted: May 08, 2011 - 05:36 PM
Rookie


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.
 
 View user's profile Send private message  
Reply with quote Back to top
Zbig_T
PostPosted: May 08, 2011 - 10:16 PM
Newbie


Joined: Apr 02, 2011
Posts: 19


I'm pretty sure there's something just about that in the Studio 5 Beta2 release notes.
 
 View user's profile Send private message  
Reply with quote Back to top
vstana
PostPosted: May 09, 2011 - 06:52 AM
Wannabe


Joined: Mar 25, 2003
Posts: 91


do you have the SP1 for VS2008 installed?
 
 View user's profile Send private message  
Reply with quote Back to top
sidprice
PostPosted: May 09, 2011 - 05:51 PM
Rookie


Joined: Feb 04, 2006
Posts: 49


Yes I have VS 2008 Pro Sp1 installed.
Sid.
 
 View user's profile Send private message  
Reply with quote Back to top
b00n
PostPosted: May 12, 2011 - 03:33 AM
Newbie


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.
 
 View user's profile Send private message  
Reply with quote Back to top
stevewitz
PostPosted: May 12, 2011 - 04:40 AM
Wannabe


Joined: Apr 17, 2006
Posts: 66
Location: Las Vegas

Same issue here. Win 7 Ultimate x64.
 
 View user's profile Send private message Visit poster's website 
Reply with quote Back to top
sidprice
PostPosted: May 12, 2011 - 09:08 PM
Rookie


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.
 
 View user's profile Send private message  
Reply with quote Back to top
muntablues
PostPosted: May 13, 2011 - 09:03 AM
Newbie


Joined: Aug 11, 2008
Posts: 2


try something like this, should fix VS2008... Wink

regsvr32 "C:\Program Files\Common Files\Microsoft Shared\VS7Debug\msdbg2.dll"
 
 View user's profile Send private message  
Reply with quote Back to top
b00n
PostPosted: May 13, 2011 - 02:46 PM
Newbie


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.
 
 View user's profile Send private message  
Reply with quote Back to top
bigmessowires
PostPosted: May 13, 2011 - 07:28 PM
Newbie


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.
 
 View user's profile Send private message  
Reply with quote Back to top
bigmessowires
PostPosted: May 13, 2011 - 07:33 PM
Newbie


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.
 
 View user's profile Send private message  
Reply with quote Back to top
stevewitz
PostPosted: May 13, 2011 - 10:05 PM
Wannabe


Joined: Apr 17, 2006
Posts: 66
Location: Las Vegas

Thanks guys, Back in business again!! Very Happy
 
 View user's profile Send private message Visit poster's website 
Reply with quote Back to top
sidprice
PostPosted: May 14, 2011 - 06:07 PM
Rookie


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.
 
 View user's profile Send private message  
Reply with quote Back to top
sss3141592
PostPosted: May 18, 2011 - 01:52 PM
Newbie


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. Smile
 
 View user's profile Send private message  
Reply with quote Back to top
nahumb
PostPosted: May 19, 2011 - 01:43 PM
Newbie


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 Smile

Nahum.
 
 View user's profile Send private message  
Reply with quote Back to top
mp_york
PostPosted: May 19, 2011 - 03:34 PM
Newbie


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.
 
 View user's profile Send private message  
Reply with quote Back to top
nahumb
PostPosted: May 21, 2011 - 07:31 PM
Newbie


Joined: May 19, 2011
Posts: 2


Thanks guys.
Will give it a try and keep you posted.
 
 View user's profile Send private message  
Reply with quote Back to top
electrowizard
PostPosted: May 30, 2011 - 09:30 PM
Rookie


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).
 
 View user's profile Send private message  
Reply with quote Back to top
tterblan
PostPosted: Jul 25, 2011 - 02:47 PM
Rookie


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...
 
 View user's profile Send private message  
Reply with quote Back to top
tterblan
PostPosted: Jul 26, 2011 - 10:15 AM
Rookie


Joined: Feb 27, 2009
Posts: 33


Yip, was administrative stuff! Thanks for the solution!
 
 View user's profile Send private message  
Reply with quote Back to top
mike32217
PostPosted: Aug 01, 2011 - 01:57 PM
Hangaround


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.
 
 View user's profile Send private message Visit poster's website 
Reply with quote Back to top
Jim Hughen
PostPosted: Aug 02, 2011 - 11:45 PM
Wannabe


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
 
 View user's profile Send private message Send e-mail Visit poster's website 
Reply with quote Back to top
clawson
PostPosted: Aug 02, 2011 - 11:56 PM
10k+ Postman


Joined: Jul 18, 2005
Posts: 62944
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.

_________________
 
 View user's profile Send private message  
Reply with quote Back to top
mike32217
PostPosted: Aug 03, 2011 - 01:07 AM
Hangaround


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.
 
 View user's profile Send private message Visit poster's website 
Reply with quote Back to top
williamjsell
PostPosted: Mar 07, 2012 - 07:57 PM
Newbie


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
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT + 1 Hour
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2006 The PNphpBB Group
Credits