DLL/RadControl Directory Problem w/ No Solution

7 posts, 0 answers
  1. Oleg Fridman
    Oleg Fridman avatar
    77 posts
    Member since:
    Jan 2006

    Posted 21 Oct 2006 Link to this post

    Hello,

    I have read countless threads on creating single directories for the dlls and the radcontrols directory but I have yet to hear a solid answer, so I pose the question again.

    Here is my scenario:
    I have about 9 websites on the same server running identical software. By this I mean that the code-behind, dlls, etc are all identical. This is true even for the telerik dll's and RadControls directory.

    When telerik rolls out a new version, and they do so very often (thank you for it, btw), it is a pain to get it out to all 9 sites.

    I have created the vertual directory for the RadControls directory and this works great! However, I have not been able to reporduce this with the dlls. This causes an issue. When I upload the new RadControls directory, the dlls are looking for a different version of the scripts. Is there a way to upload new dlls to a directory shared among all of my sites and have them pick it up? The virtual directory worked great for the RadControls dir but I cannot do this for the dlls.

    Any thoughts?
  2. Robert Swafford
    Robert Swafford avatar
    134 posts
    Member since:
    Jan 2006

    Posted 22 Oct 2006 Link to this post

    Can you use the Global Assembly Cache (GAC) on the server to host the rad Control DLLs?  I haven't tried it, but it seems to be the solution you're looking for.  Maybe someone else can provide more information about how exactly to accomplish this...
  3. Oleg Fridman
    Oleg Fridman avatar
    77 posts
    Member since:
    Jan 2006

    Posted 22 Oct 2006 Link to this post

    Robert,

    Thank you very much for your reply. I will research GAC and see what I can find. If that indeed does the trick, I will post in hopes that it would help someone else.

    Thanks again!

    -Oleg
  4. Mostafa Anoosheh
    Mostafa Anoosheh avatar
    462 posts
    Member since:
    Nov 2005

    Posted 22 Oct 2006 Link to this post

    Hello Oleg,
    I think you can make a unique subdomain(for example http://radcontrols.publicsite.com) and set same  RadControls Location for all webs.
    For DLLs GAC is good idea

    Best regards
    Mostafa Anoosheh
  5. Vassil Petev
    Admin
    Vassil Petev avatar
    1765 posts

    Posted 23 Oct 2006 Link to this post

    Hello Oleg,

    GAC is the solution to your problem. Here is an excerpt from the Working with Assemblies and the Global Assembly Cache MSDN article:

    If you intend to share an assembly among several applications, you can install it into the global assembly cache. Each computer where the common language runtime is installed has this machine-wide code cache. The global assembly cache stores assemblies specifically designated to be shared by several applications on the computer.

    You can find more related topics in this link.

    Good luck!


    Sincerely yours,

    Rob
    the telerik team

  6. Vassil Petev
    Admin
    Vassil Petev avatar
    1765 posts

    Posted 23 Oct 2006 Link to this post

    Just a quick followup, Oleg.

    Once you get familiar with GAC, you can review the following telerik KB article on Adding a control to the GAC (Global Assembly Cache). This information is also available in all help documents which come with our controls.


    Sincerely yours,
    Rob
    the telerik team
  7. Oleg Fridman
    Oleg Fridman avatar
    77 posts
    Member since:
    Jan 2006

    Posted 23 Oct 2006 Link to this post

    Thank you everyone for the great responses. This is indeed what I was hoping for.

    Thanks again!
    -Oleg
Back to Top