none
Still trying to get .NET 2.0/VS2005 working post-aborted .NET 3.5 install RRS feed

  • Question

  • Our story so far: VS2008 and .NET 3.5 RTM install failure, .NET 2.0 broken

    What little help was forthcoming in that thread petered out half a month ago.I thought I had scraped everything clean and had a mostly successfull reinstall of IIS, .NET 1.1, Visual Studio 2003, .NET 2.0, Visual Studio 2005 and SQL Server 2005. (Sounds painful, doesn't it? Yes, it was. Very.)


    But I find that I don't. I've run into the "even though you've never touched and hardly heard of J#, and we didn't make it a required part of the installation, you really do need it" design decisions, and so I need to install that redistributable. I guess.


    But when I go to [Change/Remove] Visual Studio 2005 from "Add or Remove Programs," I get this:

    An error occurred while trying to remove [sic] Microsoft Visual Studio  2005 Standard Edition - ENU. It may have already been uninstalled.  Would you like to remove Microsoft Visual Studio 2005 Standard Edition  - ENU from the Add or Remove programs list?


    Is there some way to fix that error, and get to where I can get access to the VS2005 install/repair interface from here?

    Friday, January 4, 2008 7:54 PM

Answers

  • Something else to also consider, is that in Visual Studio 2005 & 2008, we have 2 ways to repair the installation.

    1. ARP repair, which you get to via add remove programs.  You seem to have difficulty with that scenario.

    2. Media repair, which you get to if you rerun setup off the installation media.

    - This should allow you repair the installed version of Visual Studio using the components on the media.  You should reapply any updates not included with the media, which you've installed on your system.

     

    Monday, January 7, 2008 5:49 PM
    Moderator

All replies

  • Hi Tom 

     

    Are you OK to install VS 2008 now?

     

    So what you want to do is to remove VS 2005 from your machine, right?

    You can remove the VS 2005 manually if the ARP doesn't work: How to remove Visual Studio 2005:  http://support.microsoft.com/kb/907965

    If I failed to got you here, please feel free to point it out.

     

    Thanks

    Monday, January 7, 2008 6:02 AM
  • Something else to also consider, is that in Visual Studio 2005 & 2008, we have 2 ways to repair the installation.

    1. ARP repair, which you get to via add remove programs.  You seem to have difficulty with that scenario.

    2. Media repair, which you get to if you rerun setup off the installation media.

    - This should allow you repair the installed version of Visual Studio using the components on the media.  You should reapply any updates not included with the media, which you've installed on your system.

     

    Monday, January 7, 2008 5:49 PM
    Moderator
  • "Difficulties," yes indeed. As you suggested, I did go ahead with the "media repair" approach, and aside from a couple of warnings that didn't seem critical (but that I didn't quite understand), it seemed to go OK. After doing the maintenance/update on VS2005, I reapplied SP1.

    Upon restarting now, I STILL get the error "This operation [i.e. VS2005 STARTUP] cannot complete because a compatible version of Microsoft Visual J# .NET Redistributable Package is not installed."

    That's more than a little annoying; I went through the whole maintenance process specifically to install that package, but in spite of my intention and best effort, I failed. Looking back at the 4 error messages, they are all of the form:

    [01/05/08,10:20:45] VS70pgui: [2] CComponentTree:Tongue TiedetGrayedCheckboxStates(): Default statement for nRootState reached; value: 0

    which makes me wonder if I failed to discern the magic combination of things to check and/or uncheck in order to get the J# package.

    In response to Figo's question, are you ready to install VS2008 yet? words fail me in formulating a reply.

    I'm ready to SCREAM BLOODY MURDER at the continuing problems I'm having overcoming the UTTER HOSE JOB from the first attempt at installing VS2008. I need to get some work done, eh? My infrastructure has been BROKEN FOR A MONTH thanks to the combination of defects I've described here. Just this most recent episode, not quite 2 hours start to finish to attempt a "Media repair" on Saturday, and when I get done, I find I have the same problem as when I started.

    It's maddening.
    Monday, January 7, 2008 6:45 PM
  • Figo asks: Are you OK to install VS 2008 now?

    In a word, no. I am trying to get VS2005 *repaired* to the point that it was before the VS2008 debacle, so that I can do some development work that was interrupted on Dec. 10, 2007, by the attempt to install VS2008 that went horribly wrong.

    Today's challenge is to install the J# package which is somehow essential to the functioning of VS2005, but which I have never used directly.

    Aaron responded to the specific question I asked here -- can I fix ARP's inability to deal with VS2005? -- by saying I could use the original media installer directly. I did do that, on Saturday, but apparently not accomplishing what I sought to do.

    I looked through the install log for lines with J# in them, and found these:

    [01/05/08,10:20:35] Microsoft Visual J# 2.0 Redistributable Package: Return type:
    [01/05/08,10:20:35] Microsoft Visual J# 2.0 Redistributable Package: NetRtReturnCheck
    ...
    [01/05/08,10:21:40] Setup.exe: Microsoft Visual J# 2.0 Redistributable Package will not be installed.
    ...
    [01/05/08,10:21:41] Setup.exe: Visual J# [{33C9FCB9-75A7-4FA0-87FB-FB1A29F74702}]
    ...
    [01/05/08,10:21:41] Setup.exe: Visual J# [{33C9FCB9-75A7-4FA0-87FB-FB1A29F74702}]
    ...
    [01/05/08,10:21:42] Setup.exe: Visual J# [{33C9FCB9-75A7-4FA0-87FB-FB1A29F74702}]
    ...
    [01/05/08,10:21:43] Setup.exe: Visual J# [{33C9FCB9-75A7-4FA0-87FB-FB1A29F74702}]
    ...
    [01/05/08,10:21:45] Setup.exe: Visual J# [{33C9FCB9-75A7-4FA0-87FB-FB1A29F74702}]
    ...
    [01/05/08,10:38:23] Setup.exe: Visual J# [{33C9FCB9-75A7-4FA0-87FB-FB1A29F74702}]
    ...

    So, I see from the get-go that it wasn't going to be installed, even though I don't understand why. I can go through this 2 hour exercise again, and hope that I don't overlook the checkbox I apparently missed... but is there some other reason this might have happened? And why does Setup.exe keep logging the same thing over and over?

    Monday, January 7, 2008 7:21 PM
  • Going through the VS2005 Maintenance Mode to add/remove features, as I did on Saturday, I see that the first screen has me select features to install. I did select Visual J#, and Smart Device Programmability, above which it says "..Visual J# will also be installed."

    But I may have confused "Visual J#" with "Visual J# 2.0 Redistributable Package"?!

    They sound pretty similar, but maybe they're not the same thing?!

    When I was rebuilding from the ground up, for reinstallation of .NET 1.1, I'd unselected J# (and C++), and my notes say that I wasn't asked about them when I reinstalled .NET 2.0; making it appear that the 2.0 installer takes some configuration from an existing 1.1 installation.


    I backed out of "add or remove features," and went forward into repair/reinstall, thinking it would give me some configuration options to look at before proceeding, but no, it's now launched into "Installing components" of
        Installing Microsoft .NET Framework 2.0...
        Microsoft Document Explorer 2005
        Microsoft Visual Studio 2005
        .NET Compact Framework 1.0 SP3
        .NET Compact Framework 2.0
        Microsoft Device Emulator version 1.0

    Maybe I'll have the next chapter in this saga available tomorrow....

    This is so sad...

    Monday, January 7, 2008 8:00 PM