Installing VS.Net 2008 Professional with SP1 on a Windows Vista Home Premium 64 Bit
- 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- Tipo AlteradoYiChun ChenMSFT, Moderadorquinta-feira, 16 de abril de 2009 3:57Follow up
- Tipo AlteradoYiChun ChenMSFT, Moderadorsegunda-feira, 13 de abril de 2009 2:47Do not follow up
Respostas
- 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 2008Now it is working fine for me. I am able to open the VS.Net as administratorRegardsKarthikeyan R
Karthikeyan R- Marcado como RespostaYiChun ChenMSFT, Moderadorquinta-feira, 16 de abril de 2009 3:57
Todas as Respostas
- 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. - 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 youRegardsKarthikeyan R
Karthikeyan R - 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. - 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 administratorRegardsKarthik
Karthikeyan R - 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. - 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. - 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.exeWhen i run it as Administrator i see the Devenv's path as NAi am not sure what is happening- Karthik
Karthikeyan 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 2008Now it is working fine for me. I am able to open the VS.Net as administratorRegardsKarthikeyan R
Karthikeyan R- Marcado como RespostaYiChun ChenMSFT, Moderadorquinta-feira, 16 de abril de 2009 3:57
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.olbC:\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,

