Microsoft Developer Network > Página Inicial dos Fóruns > Visual Studio Setup and Installation > Installing VS.Net 2008 Professional with SP1 on a Windows Vista Home Premium 64 Bit
Fazer uma PerguntaFazer uma Pergunta
 

RespondidoInstalling VS.Net 2008 Professional with SP1 on a Windows Vista Home Premium 64 Bit

  • quarta-feira, 1 de abril de 2009 18:08Karthikeyan R Medalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuário
     
    Hi I have a Windows Vista Home Premium 64 Bit OS and i have installed VS.Net 2008 Professional with SP1.
    When i do a  "Run as Administrator" it gives me a error message "The Application cannot start".

    I dont find any useful resolutions to this problem as without this some of my projects do not work.

    Can anyone guide me to the right place

    Regards
    Karthik
    Karthikeyan R

Respostas

  • quarta-feira, 15 de abril de 2009 19:16Karthikeyan R Medalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuário
     Respondido
    Hi,
    I did the following
    - Copied Common7 From "C:\Program Files (x86)\Microsoft Visual Studio 9.0" to "C:\Program Files (x86)\Microsoft Visual Studio 8"
    - Copied Common7 From "C:\Program Files (x86)\Microsoft Visual Studio 9.0" to "C:\Program Files\Microsoft Visual Studio 9.0"

    I have reinstalled the VS.Net 2008
    Now it is working fine for me. I am able to open the VS.Net as administrator

    Regards
    Karthikeyan R

    Karthikeyan R

Todas as Respostas

  • quinta-feira, 2 de abril de 2009 9:54YiChun ChenMSFT, ModeradorMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuário
     
    Hi Karthikeyan,

    More clarification with you. Have you successfully installed VS2008 Professional SP1? When did you get this error message?

    If it occurred when you started VS2008, here is a useful document that can help you to eliminate the possible causes.
    See: http://msdn.microsoft.com/en-us/library/ect3fzs0.aspx

    If it doesn't work, please feel free to let me know.

    Thanks
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
  • segunda-feira, 6 de abril de 2009 14:24Karthikeyan R Medalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuário
     
    Hi YuChen,
    yes i have successfully installed VS.Net 2008 professional with SP1. But the point is that i am not able to run it using the "Run as administrator" option.

    I have tried the option mentioned by you

    Regards
    Karthikeyan R

    Karthikeyan R
  • quarta-feira, 8 de abril de 2009 2:10YiChun ChenMSFT, ModeradorMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuário
     
    Hi Karthikeyan,

    More clarification with you. Does it work after you've tried the option? If it doesn't work, please let me know.

    Thanks
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
  • quarta-feira, 8 de abril de 2009 13:52Karthikeyan R Medalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuário
     
    No i have tried all the options. But still running as a administrator fails.
    I am just trying to run it normally. without the option run as administrator

    Regards
    Karthik

    Karthikeyan R
  • quinta-feira, 9 de abril de 2009 2:33YiChun ChenMSFT, ModeradorMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuário
     
    Hi Karthikeyan,

    In order to Run as Administrator on Vista, it is not sufficient to just be an administrator, you must right-click and select "Run as administrator". If Visual Studio IDE is not opened by "Run as administrator" in Vista, this will cause a UAC prompt, which you should accept. So I suggest you to open IDE via "Run as administrator".

    Please help me to check out and try turning off anti-Virus software if there is any.
    Here is someone who had similar issue that Visual Studio 2008 reported this error "The Application Cannot Start" on startup when "Run as Administrator".
    See: http://blogs.msdn.com/pandrew/archive/2009/02/25/the-application-cannot-start-thanks-alex-riley.aspx
    Please try the method by using procmon to track what was happening to in VS.NET when you opened it.

    Thanks

    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
  • segunda-feira, 13 de abril de 2009 2:47YiChun ChenMSFT, ModeradorMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuário
     
    Hi Karthikeyan,

    We are changing the issue type to “Comment” because you have not followed up with the necessary information. If you have more time to look at the issue and provide more information, please feel free to change the issue type back to “Question” by editing your initial post and changing the radio button at the top of the post editor window. If the issue is resolved, we will appreciate it if you can share the solution so that the answer can be found and used by other community members having similar questions.

    Thank you!
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
  • terça-feira, 14 de abril de 2009 20:42Karthikeyan R Medalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuário
     
    Hi I tried Copying the Folder 
    - Copied Common7 From "C:\Program Files (x86)\Microsoft Visual Studio 9.0" to "C:\Program Files (x86)\Microsoft Visual Studio 8"

    Still i am getting the Same Error.
    When i run ProcMon i see that the normal VS.Net (devenv) runs in the path C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\devenv.exe
    When i run it as Administrator i see the Devenv's path as NA

    i am not sure what is happening

    - Karthik

    Karthikeyan R
  • quarta-feira, 15 de abril de 2009 19:16Karthikeyan R Medalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuário
     Respondido
    Hi,
    I did the following
    - Copied Common7 From "C:\Program Files (x86)\Microsoft Visual Studio 9.0" to "C:\Program Files (x86)\Microsoft Visual Studio 8"
    - Copied Common7 From "C:\Program Files (x86)\Microsoft Visual Studio 9.0" to "C:\Program Files\Microsoft Visual Studio 9.0"

    I have reinstalled the VS.Net 2008
    Now it is working fine for me. I am able to open the VS.Net as administrator

    Regards
    Karthikeyan R

    Karthikeyan R
  • sexta-feira, 3 de julho de 2009 13:12Rich Hanbidge MSFTModeradorMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuário
     

    I'm glad you got this working, and thanks for going through the effort to resolve this issue!  It saved me tons of time trying to debug through it.

    Looking through some other posts, I found what seems to be the root cause.  The dte*.olb files aren't getting registered.  If you dig through this posting, you can find it:
    http://support.microsoft.com/kb/306905
    It seems that option 3 is the root cause here (at least for my machine).  Unfortunately, it's a bit hard to find.

    In the future, you might want to try to register the dte*.olb files if you run into this problem again.  Here's what I did, which resolved the issue:
    C:\Program Files (x86)\Common Files\microsoft shared\MSEnv>regsvr32 dte80.olb

    C:\Program Files (x86)\Common Files\microsoft shared\MSEnv>regsvr32 dte80a.olb

    C:\Program Files (x86)\Common Files\microsoft shared\MSEnv>regsvr32 dte90a.olb

    C:\Program Files (x86)\Common Files\microsoft shared\MSEnv>regsvr32 dte90.olb

    Of course, copying the files over work as well, but this option might be a bit more surgical.  Again, thanks for figuring this out!

    Regards,