MSDN > 論壇首頁 > Visual Studio Setup and Installation > Installing VS.Net 2008 Professional with SP1 on a Windows Vista Home Premium 64 Bit
發問發問
 

已答覆Installing VS.Net 2008 Professional with SP1 on a Windows Vista Home Premium 64 Bit

  • 2009年4月1日 下午 06:08Karthikeyan R 使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     
    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

解答

  • 2009年4月15日 下午 07:16Karthikeyan R 使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     已答覆
    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

所有回覆

  • 2009年4月2日 上午 09:54YiChun ChenMSFT, 版主使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     
    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.
  • 2009年4月6日 下午 02:24Karthikeyan R 使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     
    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
  • 2009年4月8日 上午 02:10YiChun ChenMSFT, 版主使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     
    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.
  • 2009年4月8日 下午 01:52Karthikeyan R 使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     
    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
  • 2009年4月9日 上午 02:33YiChun ChenMSFT, 版主使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     
    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.
  • 2009年4月13日 上午 02:47YiChun ChenMSFT, 版主使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     
    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.
  • 2009年4月14日 下午 08:42Karthikeyan R 使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     
    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
  • 2009年4月15日 下午 07:16Karthikeyan R 使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     已答覆
    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
  • 2009年7月3日 下午 01:12Rich Hanbidge MSFT版主使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     

    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,