50,126 Members
1 added today
271,899 Resources
17 added today

All Devdex   All Gurus  

Avoid the DLL Hell in .Net
Author: Roni Schuetz
Rating:
Visits: 4816

671_MicrosoftWebUIWebControls.zip
Discuss in Newsgroups

Page:

Each one who works with dll’s in COM times knows about the expression “DLL-Hell”! You can meet even in .Net the same problems. E.g. from MS self, try to install a one of complexes ServerControl for ASP.Net like “TreeView” or “TabStrip”. MS provide those controls but they not support them. How we’ll avoid it this problematic of parallel installed controls?

You can’t install it; because there is already an older version installed. We not allowed now to install our new ServerControls. We have two ways to solve our problem.

Just a Re-Install will help us currently to set up the newer version on our server. We know what happens when we use an explicit reference to the previous version. It’s will crash the Application that use “explicit a previous version” of a control. If it’s our own Solution, we can handle it with by a simple Re-Compilation of our source code that contains now a reference to the newer version. So far so good, but there have to be other ways, then the problem is still alive if we have no access or permissions to change the source code.

The solution to solve it is to install it parallel in the “GAC – Global Assembly Cache” or to copy the old version into all Bin-Folder of used Applications of the previous dll. The GAC option is impossible, because Windows Installer block us. How we get the relevant DLL’s from msi’s (MS Installer File)? I haven’t founded anything possible to do that (if you have a way tell me about it). A possible way to handle our problem is we can keep our previous dll before Un-Install it. We use the Framework Configuration Tool to register both versions.


Next Page >>

Visitor Comments

Anonymous User never heard of gacutil.exe? of course you can a...

 

Rate this Article







	
	
	



ASP.NET Shopping Cart
Unlimited items/categories
Unlimited options/choices
Ecommerce toolkit for .NET!

ASP ArticlesThis category has been added to your weekly newsletter
ASP Web Sites
ADSI & WSH BooksThis category has been added to your weekly newsletter
FREE ComponentsThis category has been added to your weekly newsletter
ASP EventsThis category has been added to your weekly newsletter
ASP HeadlinesThis category has been added to your weekly newsletter

CSharp ArticlesThis category has been added to your weekly newsletter
C# Web SitesThis category has been added to your weekly newsletter

SQL ArticlesThis category has been added to your weekly newsletter
SQL Events
SQL HeadlinesThis category has been added to your weekly newsletter
SQL Jobs

Jobs in CaliforniaThis category has been added to your weekly newsletter

XML ArticlesThis category has been added to your weekly newsletter
XML BooksThis category has been added to your weekly newsletter
XML Web Sites
XML Tutorials

free asp host

"Alex Homer"This search has been added to your weekly newsletter

Edit My Favorites Edit Profile & Favorites

 




Developersdex Home | ASP | C# | SQL | VB | XML | Gurus
Add Your Link | Add Your Code | FAQ | Advertise | Link To Us | Contact Us |
Copyright © 2010 Developersdex™. All rights reserved.