Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0DLL HellDLL Hell
Previous
 
Next
New Post
10/12/2007 10:22 AM
 

Is there a solution to DLL Hell for DotNetNuke?

Module 1 running version 1 of a third party vendors grid.

Module 2 is installed running version 3 of the same third party vendors control. Now Module 1 fails.

Is is possible to put such controls into DesktopModules\MyModule\bin and refer to them there? If so how?

-d

 


 
New Post
10/12/2007 10:53 AM
 

The answer to .dll hell is to use dynamic compilation (WSP - Web Site Projects). The only problem is you can't hide the source code, However you shoud never buy a module without the source code.

It is not posible to use "DesktopModules\MyModule\bin". An application can have only one /bin directory.



Michael Washington
http://ADefWebserver.com
www.ADefHelpDesk.com
A Free Open Source DotNetNuke Help Desk Module
 
New Post
10/12/2007 11:37 AM
 

How would this resolve the possible clash of using Telerik or Component One grids or any other 3rd party component in modules.

If for example vendor X used Telerik RadGrid version 4 and I subsequently purchase a module from vendor Y who happens to use Telerik RadGrid version 5, I have a problem. Ver 5 will overwrite ver 4 in the bin folder thus, most likely, rendering the module from vendor X useless!!!

This problem must also apply to ASP.Net applications. If so there must be some solution otherwise anytime a vendor releases an update to a control the complete application (all modules using the control) would need to be recompiled. This is not always desireable in a large-ish suite of modules. Dynamic compilation is not necessarily a desired solution and does not overcome the 3rd party controls issue.

Am I missing something fundamental?

Declan


 
New Post
10/12/2007 11:44 AM
 

This problem occurs using Infragistics NetAdvantage.  Each control is specific to the toolset version. 

Example:
Infragistics2.WebUI.Shared.v7.3.dll                (must be placed in the DNN \bin folder)
Infragistics2.WebUI.UltraWebGrid.v7.3.dll    (GAC or DNN \bin folder)

You cannot mix toolset versions.  VOL2 controls cannot be used with VOL3 controls.  The Infragistics2.WebUI.Shared.v7.3.dll throws an error.

This is only the case when running in an environment like DNN where all .dll files are placed in the \bin folder.  Running multiple standard ASP.NET applications works fine using different versions of the toolset since each uses its own \bin folder.

We have not used any of the other toolsets, Telerik, ComponentOne, etc to know if the same issues are present.

Infragistics is an excellent toolset provided you have full control over your DNN development.  Upgrading from one version to another is done using the "upgrade utility" supplied with each toolset.  It does require that all your modules are upgraded at the same time.

Anyone familiar with Telerik or ComponentOne?

mikez

 

 
New Post
10/12/2007 11:51 AM
 

If the component uses dynamic compilation it does solve the problem.

Modules should not use shared components because they cannot control the DotNetNuke environment. If you want to use the latest greatest grid control you need to get the source code and compile the grid code inside your module in the namespace of your module or use dynamic compilation. Otherwise don't use it.

I am guilty of this myself. I made a module:

http://www.adefwebserver.com/DotNetNukeHELP/Misc/DynamicForms.htm

That uses "DBauer.Web.UI.WebControls.DynamicControlsPlaceholder.dll". However I have the source code for this control and I should have used it. I recently used this for a paying client and I realized that I was about to put this client into .dll hell. So I put the code in the app_code directory as dynamic code.



Michael Washington
http://ADefWebserver.com
www.ADefHelpDesk.com
A Free Open Source DotNetNuke Help Desk Module
 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0DLL HellDLL Hell


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out