OleView freezes / hangs forever on Windows Vista

If you are working with COM and using OleView.exe on Windows Vista to view type libraries, you may notice that the tool hangs forever when trying to open a type library from a file or resource in a DLL.  I've encountered this problem myself on every Vista box I've tried it on, and have seen people complaining about it elsewhere.

Just a few days ago, I finally searched for this issue online and came up with a Microsoft KB on the topic.  This was truly a DUHH moment since I have neglected to search for it up to this point and could have had this fixed a long time ago instead of working without OleView.

Basically, the problem has to do with the registration of OleVIew's utility COM object in iviewers.dll.  It should be located side by side with OleView.exe (typically installed by Visual Studio to its tools directory, or if you are like me, in your private tools directory).  Re-register Iviewers.dll to fix it:

> regsvr32 Iviewers.dll

Once this is done, OleView should be back to normal so you can view your precious type libraries.

Also, this issue may happen on other OS if you are copying OleView / iviewers.dll around and the CLSID registration for iviewers.dll becomes incorrect.

This is also described in the KB here: http://support.microsoft.com/kb/176938.

Thanks,

Mike

Published 21 July 07 10:41 by Mike Volodarsky
Filed under: ,

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

# Mike Volodarsky's WebLog said on July 21, 2007 7:39 PM:

If you are working with COM and using OleView.exe on Windows Vista to view type libraries, you may notice

# Noticias externas said on July 21, 2007 8:29 PM:

If you are working with COM and using OleView.exe on Windows Vista to view type libraries, you may notice

# alman said on August 13, 2008 9:49 AM:
I have run regsvr32 Iviewers.dll and successfully register dll Unfortunately OleView.exe still freezes
# Mat said on September 4, 2008 11:34 AM:
Works for me! I couldn't find what path the Visual Studio 9.0 command prompt was using though - it doesn't put oleview.exe anywhere in it's tree - so I just used a direct shortcut instead, works fine.
# said on April 29, 2011 4:44 AM:

Chaussures Nike Sale: http://www.maxpascher.com

Leave a Comment

(required) 
(optional)
(required) 
Enter the code you see below


About Mike Volodarsky

For the past 5 years, I was the core Program Manager for Microsoft ASP.NET 2.0 and IIS 7.0 products. I drove the design and development of the IIS 7.0 web server core, the IIS FastCGI support, the AppCmd command line tool, the ASP.NET Integrated pipeline, and other special projects around server security, performance, and scalability. Now, I am working on my own on cutting edge web server tech on top of the Microsoft IIS platform, and continue blogging about it here.

About me



Until 2008, I was the core server Program Manager for the IIS 7.0 and ASP.NET 2.0 products at Microsoft.


View Michael Volodarsky's profile on LinkedIn


This is my company. We build expert performance and scalability tech for web applications on the Windows Server stack.
LeanServer Sentinel: Explore and instantly diagnose your production ASP.NET applications Sentinel beta starts on August 3rd! Register now!


Writings



TechNet Magazine
>Top 10 Performance Improvements in IIS 7.0

MSDN Magazine
>IIS 7.0: Build Web Server Solutions with End-To-End Extensibility
>IIS 7.0: Enhance Your Apps with the Integrated ASP.NET Pipeline
>IIS 7.0: Explore The Web Server For Windows Vista And Beyond
>Design and Deploy Secure Web Apps with ASP.NET 2.0 and IIS 6.0
>Fast, Scalable, and Secure Session State Management for Your Web Applications


Tools and Modules

LeechGuard
IconHandler 2.0
DirectoryListing
HttpRedirection
IIS Auth for Wordpress
iisschema.exe
PortCheck.exe v2.0

Popular Posts

- ASP.NET 2.0 Breaking Changes on IIS 7.0
- Develop IIS7 modules and handlers with .NET
- Troubleshoot IIS7 errors like a pro
- Troubleshooting 503 / "service unavailable" errors
- Troubleshooting "server not found" errors
- Create IIS7 sites, applications, and virtual directories
- Run Ruby on Rails with IIS FastCGI
- VS Debugging of ASP.NET applications on Windows Vista
- Stop hot-linking with IIS and ASP.NET

Tags

Search

Go

This Blog

Archives

Good IIS Blogs

Disclaimer

These postings are provided as is with no warranties, and confer no rights. The views expressed in this blog are entirely my own.

Syndication