MSMVPS.COM
The Ultimate Destination for Blogs by Current and Former Microsoft Most Valuable Professionals.

Dte.olb could not be loaded.Please re-run setup and repair your installation

When i startup vs.net IDE after install Whidbey ,i had gotten a error message ,”Dte.olb could not be loaded.Please re-run setup and repair your installation”.

Then I searched the “DTE.olb” file in local disk,I found it located in “X:\Program Files\Common Files\Microsoft Shared\MSEnv”

Reference to MSDN the dte.olb is the COM Object model  of EnvDTE namespace .So if it hadn't registered successfully, the VS.net IDE would can't work well.

As the file is a COM Object ,so i registered it with regsvr32 function.such as:

regsvr32 c:\Program Files\Common Files\Microsoft Shared\MSEnv\dte.olb

Commonly it can resolve the “Dte.olb could not be loaded“ error when starup the VS.net IDE

MSDN Article:

PRB: Visual IDE Does Not Open When Started or Application Cannot Start Error Message

Correlative samples of DTE Download:

Visual Studio .NET 2003 Automation Samples

 


Posted Apr 27 2004, 08:29 AM by ch21st

Comments

ch21st wrote re: Dte.olb could not be loaded.Please re-run setup and repair your installation
on 06-27-2004 3:17
Awesome. Thanks for the help.
ch21st wrote re: Dte.olb could not be loaded.Please re-run setup and repair your installation
on 07-02-2004 2:24
Thanks, you fixed my problem! I thought I was going to have to reinstall :)
ch21st wrote re: Dte.olb could not be loaded.Please re-run setup and repair your installation
on 07-06-2004 16:29
thank you very much.
ch21st wrote re: Dte.olb could not be loaded.Please re-run setup and repair your installation
on 07-07-2004 2:48
Hmm, when I try it, i get the error:

LoadLibrary("c:\program") Failed - The specified module could not be found.

Any thoughts? I am executing 'regsvr32 c:\Program Files\Common Files\Microsoft Shared\MSEnv\dte.olb' by going START->RUN in windows.
ch21st wrote re: Dte.olb could not be loaded.Please re-run setup and repair your installation
on 07-07-2004 15:58
I had noticed the error message"LoadLibrary("c:\program") Failed - The specified module could not be found. "

the file that LoadLibrary function try to load isn't 'c:\Program Files\Common Files\Microsoft Shared\MSEnv\dte.olb' but "c:\program"


it make clear that the 'regsvr32 command can't parse long file name
you can:
instead short filename of long file name,such as regsvr32 c:\progra~1\......
2.change the current directory to c:\Program Files\Common Files\Microsoft Shared\MSEnv,then run:regsvr32 dte.olb
ch21st wrote re: Dte.olb could not be loaded.Please re-run setup and repair your installation
on 07-08-2004 2:55
Thank you for the response shannon, it's true that I couldn't use long filenames. I'm getting a new error after running regsvr32, now that I have the correct path:

DllRegisterServer in C:\Progra~1\Common~1\Micros~1\MSEnv\dte.olb failed.
Return code was: 0x8002801c

Thank you for your help.
TrackBack wrote Impossible de charger DTE.olb
on 07-12-2004 11:52
ch21st wrote re: Dte.olb could not be loaded.Please re-run setup and repair your installation
on 07-12-2004 19:13
Hello!

Use qoutation marks instead. Example:

regsvr32.exe "c:\Program Files\Common Files\Microsoft Shared\MSEnv\dte.olb"

Worked for me...
ch21st wrote re: Dte.olb could not be loaded.Please re-run setup and repair your installation
on 07-12-2004 22:49
Thanks so much for the REGSVR32 solution to the DTE.OLB problem - it helped me tremendously!
ch21st wrote re: Dte.olb could not be loaded.Please re-run setup and repair your installation
on 07-13-2004 17:55
to nic:
The error value ‘0x8002801c’ means ‘Error accessing the OLE registry’.
It is likely that permissions on part of the registry have been changed to deny you access. You will need to be a local administrator to register the COM object.

ch21st wrote re: Dte.olb could not be loaded.Please re-run setup and repair your installation
on 07-18-2004 0:08
Yep, fixed my issues as well, thank you, big time.
(change the current directory to c:\Program Files\Common Files\Microsoft Shared\MSEnv,then run:regsvr32 dte.olb )
ch21st wrote re: Dte.olb could not be loaded.Please re-run setup and repair your installation
on 07-20-2004 3:00
Hi, I don't have admin permission in my machine and I can't run the program. Error message is the same as above, but the administrator was able to run the program. When I try to run regsvr32, I have the '0x8002801c' error. Is there a way I can fix it without getting admin permission? thanks!
ch21st wrote re: Dte.olb could not be loaded.Please re-run setup and repair your installation
on 07-27-2004 11:18
Thank you, I had this problem right after a fres hinstall.

one would think that te installer would finish its job.......
ch21st wrote re: Dte.olb could not be loaded.Please re-run setup and repair your installation
on 08-17-2004 13:45
L-E Eriksson,

In reply to your suggestion to use quotes around the path and file for the .dll 7/12/2004 7:13 PM. Yes this works, thanks. I too have this problem but the whole truncated file and folders is causing problems elsewhere. For instance in VB when I reference .dll's in projects and check this code into a code server the references are still truncated. This problem has arisen ever since I reinstalled Windows XP prof.

The build I used to reinstall was quite standard. XP prof. sp1. I have Visual studio 6.0, Visual Studio .Net, SQL Server 2000, Office 2003 and some other bits and pieces.

Do you know how I can configure my build to recognise long file names rather than 8.3 format?

Any suggetions will be grateful and put an end to this last weeks frustration :-)

Paul
ch21st wrote re: Dte.olb could not be loaded.Please re-run setup and repair your installation
on 09-06-2004 6:54
Thank you very much. Before finding thi help I've thought about foemating my HDD...
TrackBack wrote Dte.olb could not be loaded
on 09-13-2004 10:12
ch21st wrote re: Dte.olb could not be loaded.Please re-run setup and repair your installation
on 09-22-2004 4:00
i was planning a tedious formatting this time...
you saved me a lot of time so thank u very much
ch21st wrote Awesome...
on 10-14-2004 5:40
Use quotation marks and it works like magic....Thanks guys...
ch21st wrote re: Dte.olb could not be loaded.Please re-run setup and repair your installation
on 10-17-2004 22:27
Thanks a lot !!!
ch21st wrote re: Dte.olb could not be loaded.Please re-run setup and repair your installation
on 10-18-2004 13:26
Hi
Thanks a lot.I was going to re install it..But u save my time..
Using Quotation mark solved the long filename problem.But...
I faced a different problem.DTE.olb file was not available in location "c:\Program Files\Common Files\Microsoft Shared\MSEnv". Then I copied it from different computer.But still I don't know why it occured.
ch21st wrote re: Dte.olb could not be loaded.Please re-run setup and repair your installation
on 10-21-2004 9:55
thank you!!
ch21st wrote re: Dte.olb could not be loaded.Please re-run setup and repair your installation
on 10-21-2004 9:55
thank you!!
ch21st wrote re: Dte.olb could not be loaded.Please re-run setup and repair your installation
on 10-24-2004 7:02
thanks
ch21st wrote re: Dte.olb could not be loaded.Please re-run setup and repair your installation
on 10-28-2004 22:40
Thankyou very much, it worked with all the files that had problems. Started, works fine. Cheers :-)))))
ch21st wrote re: Dte.olb could not be loaded.Please re-run setup and repair your installation
on 10-30-2004 10:50
It seems that registering dte.olb solves the problem. However, I can't find DTE.olb on my machine. Where can I download it from since I have Visual Studio.net Enterprise?
Henrick
ch21st wrote re: Dte.olb could not be loaded.Please re-run setup and repair your installation
on 10-30-2004 11:18
Oops, I found DTE.olb and registering it seemed to indeed solve the problem. However I still have the "ms development environment has not been installed" error. Does anyone have any idea on how to get past that hurdle?
ch21st wrote re: Dte.olb could not be loaded.Please re-run setup and repair your installation
on 11-02-2004 14:53
I also had the same problem and your suggestion helped me solve the problem very quickly. Thank you for your great advice.

AJ
ch21st wrote re: Dte.olb could not be loaded.Please re-run setup and repair your installation
on 11-06-2004 13:41
Awesome! Thanks! And yes, you must put the quotes around the path, because it has spaces in it.
ch21st wrote re: Dte.olb could not be loaded.Please re-run setup and repair your installation
on 11-08-2004 21:07
Thanks, you fixed my problem!
ch21st wrote re: Dte.olb could not be loaded.Please re-run setup and repair your installation
on 11-16-2004 18:08
For the record, I had this problem when loading .NET on a Virtual Machine. Registering the DLL did the trick.

Rob
ch21st wrote re: Dte.olb could not be loaded.Please re-run setup and repair your installation
on 11-17-2004 6:55
you !!! Works flawlessly now. I couldn;t understand why .NET 2k3 wasn't installing properly (it was *JUST* installed before I rebooted)
ch21st wrote re: Dte.olb could not be loaded.Please re-run setup and repair your installation
on 12-18-2004 0:18
I get the message 'LoadLibrary("dte.old") failed - The specified module could not be found.' Any ideas on what is wrong? I have tried to re-install VS, but that did not help. I can actually open VS, and it mostly works ok, but I can not add atl classes in C++.
ch21st wrote texas hold em poker
on 01-18-2005 5:32
You can also check out some helpful info about internet poker http://internet-poker.fidelityfunding.net/
party poker http://poker-party.fidelityfunding.net/
poker tournament http://poker-tournament.fidelityfunding.net/
poker rooms http://poker-rooms.fidelityfunding.net/
texas hold em poker http://texas-hold-em-poker.fidelityfunding.net/
no limit texas hold em http://no-limit-texas-hold-em.fidelityfunding.net/
holdem http://holdem.fidelityfunding.net/
play poker http://play-poker.fidelityfunding.net/
absolute poker http://absolute-poker.fidelityfunding.net/
holdem poker http://holdem-poker.fidelityfunding.net/
poker game http://poker-game.fidelityfunding.net/
three card poker http://three-card-poker.fidelityfunding.net/
pai gow poker http://pai-gow-poker.fidelityfunding.net/
online poker rooms http://online-poker-rooms.fidelityfunding.net/
paradise poker http://paradise-poker.fidelityfunding.net/
online poker games http://online-poker-games.fidelityfunding.net/
texas poker http://texas-poker.fidelityfunding.net/
celebrity poker http://celebrity-poker.fidelityfunding.net/
learn to play poker http://learn-to-play-poker.fidelityfunding.net/
online video poker http://online-video-poker.fidelityfunding.net/
hold em poker http://hold-em-poker.fidelityfunding.net/
online poker game http://online-poker-game.fidelityfunding.net/
on line poker http://on-line-poker.fidelityfunding.net/
casino poker http://casino-poker.fidelityfunding.net/
texas hold em online http://texas-hold-em-online.fidelityfunding.net/
free texas hold em http://free-texas-hold-em.fidelityfunding.net/
free online texas hold em http://free-online-texas-hold-em.fidelityfunding.net/
free texas hold em poker games http://free-texas-hold-em-poker-games.fidelityfunding.net/
free texas hold em online play http://free-texas-hold-em-online-play.fidelityfunding.net/
hold em http://hold-em.fidelityfunding.net/
texas hold em poker game http://texas-hold-em-poker-game.fidelityfunding.net/
texas holdem online http://texas-holdem-online.fidelityfunding.net/
free online texas holdem http://free-online-texas-holdem.fidelityfunding.net/
texas holdem poker game http://texas-holdem-poker-game.fidelityfunding.net/
play texas holdem http://play-texas-holdem.fidelityfunding.net/
- Tons of interesdting stuff!!!
TrackBack wrote re:Dte.olb could not be loaded.Please re-run setup and repair your installation
on 04-15-2005 13:43
^_^,Pretty Good!
ch21st wrote re: Dte.olb could not be loaded.Please re-run setup and repair your installation
on 05-16-2005 6:12
Thanks for this. I was having issues installing VS2003. I tried and re-tried over a dozen times with the same result. I re-registered the olb file and re-tried...BINGO!!!

Thanks a million!
TrackBack wrote re:Dte.olb could not be loaded.Please re-run setup and repair your installation
on 05-18-2005 6:10
^_~,pretty good!csharpsseeoo
TrackBack wrote re:Dte.olb could not be loaded.Please re-run setup and repair your installation
on 06-15-2005 13:27
Dte.olb could not be loaded.Please re-run setup and repair your installationooeess
TrackBack wrote re:Dte.olb could not be loaded.Please re-run setup and repair your installation
on 07-17-2005 1:44
Dte.olb could not be loaded.Please re-run setup and repair your installationooeess
TrackBack wrote re:Dte.olb could not be loaded.Please re-run setup and repair your installation
on 07-31-2005 22:20
Dte.olb could not be loaded.Please re-run setup and repair your installationooeess

Add a Comment

(required)  
(optional)
(required)  
Remember Me?


Copyright © is the original authors. Blog site is an independent site not sponsored by Microsoft. The Yoda blog server and the Brianna SQL server would like to thank www.ownwebnow.com and www.exchangedefender.com. They wouldn't be here and broadcasting without the generosity of Vlad Mazek and his companies.

Powered by Community Server (Commercial Edition), by Telligent Systems