Could not load file or assembly. VS2008 and Prom. 2007.31218

35 posts, 0 answers
  1. Alex
    Alex avatar
    6 posts
    Member since:
    Jul 2007

    Posted 18 Dec 2007 Link to this post

    Hi. I have a new machine with a fresh install of Vista and VS2008. I just auto-installed Prometheus 2007.31218.

    I start a new Web site in .NET Framework 3.5 and also manually add Telerik.Web.Design.dll from the Bin35 folder to my project's bin folder.

    The Prometheus controls are already in the toolbox from auto-install, so I try to add them to a Web page. For some (RadMenu) I get a 'Failed to create designer' error. For others (RadGrid), I get Could not load file or assembly 'Telerik.Web.UI, Version=2007.3.1218.35'.

    Perhaps there is a step that I overlooked? Please help.
  2. Iurii
    Iurii avatar
    18 posts
    Member since:
    Oct 2006

    Posted 19 Dec 2007 Link to this post

    I am having exactly the same issue
  3. Rainz
    Rainz avatar
    25 posts
    Member since:
    Nov 2005

    Posted 19 Dec 2007 Link to this post

    Similar issue here.

    Pages work fine, but the design view throws an error for each control I drag from the Prometheus toolbox (version 1218) in VS2008:

    Could not load file or assembly 'Telerik.Web.UI, Version=2007.3.1218.35, culture=neutral................. dependencies. The system cannot find the file specified.

    Using VS 2008 and Vista.

    Even tried adding Telerik.Web.Design.dll (from bin35 folder) to the project bin folder, restarted VS, but still getting the same error.
  4. LFA
    LFA avatar
    11 posts
    Member since:
    Mar 2007

    Posted 19 Dec 2007 Link to this post

    I started getting this error today too. It was working yesterday. I have not changed anything in my configuration.
  5. genesplitter
    genesplitter avatar
    25 posts
    Member since:
    Nov 2006

    Posted 19 Dec 2007 Link to this post

    Same issue here. I originally got this message when I first fired up VS 2008 and dragged over a Promethius GridView. I restarted VS 2008 and it went away and I was able to run the project with the gridview successfully. Later in the day I added a Promethius AjaxManager and LoadingPanel and I got the dreaded "Error Creating Control for the AjaxManager and System.IO.FileNotFoundException for the gridview (but not the LoadingPanel).

    Since I manually dragged over Telerik.Web.UI.dll and Telerik.Web.Design.dll and Telerik.Web.UI.XML I know the lastest versions are in fact in the bin folder.

    However I can compile and run the project just fine. Ajax works great too - go figure!

    Restarting didn't help the second time around. Maybe a reboot?

    Visual Studio 2008 and Windows 2003 Server.
  6. Michael McCallum
    Michael McCallum avatar
    14 posts
    Member since:
    Mar 2006

    Posted 19 Dec 2007 Link to this post

    I also had this issue.  I tried many things with test projects in 3.5 .Net.  Non seemed to work.  I was successful in using RadControls in 3.5 projects, but not Prometheus.  I test various different things over the course of 4 hours, including full uninstalls of both Q2 and Q3 Prometheus. 

    I finally hit on the answer, and it has to do with the GAC.  There are two versions of the Telerik.Web.Design installed in GAC, one appears to be for 2.0 and the other for 3.5.  The 2.0 seemed to work correctly in my test projects.  However the 3.5 designer would never load.  It appears that the 3.5 designer cannot find the Telerik.Web.UI.dll.  If however you installed Telerik.Web.UI into the GAC, then all is better.

    Procedure to do that is:
    1. Use the VS 2008 Command Prompt.  If running Vista, right click the icon and run as Administrator.  This will get the directory for the gacutil program into the path statement.
    2. gacutil /i "C:\Program Files\Telerik\RadControls 'Prometheus' for ASPNET Q3 2007\Bin35\Telerik.Web.UI.dll"

    You should get a confirmation that it is installed.

    This was not previously required in Q2, having Telerik.Web.UI in GAC.  Not sure why it is now. 

    You can list out GAC with gacutil /l > c:\temp\gacoutput.txt

    Then you can review what was installed.  With both Q2 and Q3 installed, it should look like this (after the above fix):

      Telerik.Charting, Version=1.6.2.0, Culture=neutral, PublicKeyToken=d14f3dcc8e3e8763, processorArchitecture=MSIL
      Telerik.Charting, Version=1.7.0.0, Culture=neutral, PublicKeyToken=d14f3dcc8e3e8763, processorArchitecture=MSIL
      Telerik.Web.Design, Version=2007.2.1107.0, Culture=neutral, PublicKeyToken=121fae78165ba3d4, processorArchitecture=MSIL
      Telerik.Web.Design, Version=2007.3.1218.20, Culture=neutral, PublicKeyToken=121fae78165ba3d4, processorArchitecture=MSIL
      Telerik.Web.Design, Version=2007.3.1218.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4, processorArchitecture=MSIL
      Telerik.Web.UI, Version=2007.3.1218.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4, processorArchitecture=MSIL

    It is unfortunate that it took so long to figure out.  By the way this is with Visual Studio 2008 running on Vista (x86).

    Hope this helps, Mike

  7. Alex
    Alex avatar
    6 posts
    Member since:
    Jul 2007

    Posted 19 Dec 2007 Link to this post

    This solution worked for me. Thank you, Mike.
  8. genesplitter
    genesplitter avatar
    25 posts
    Member since:
    Nov 2006

    Posted 20 Dec 2007 Link to this post

    Mike's solution worked for me too. I use Windows Server 2003 and VS 2008.
  9. CSurieux
    CSurieux avatar
    465 posts
    Member since:
    Jan 2007

    Posted 27 Dec 2007 Link to this post

    Thanks Mike, it solved my problem.
    Do you think we should install it in the cache on production environment ?
    It is working but it could solve some othe problems with radPanel and TabStrip, I will try.

    Happy new year.
  10. Michael McCallum
    Michael McCallum avatar
    14 posts
    Member since:
    Mar 2006

    Posted 27 Dec 2007 Link to this post

    Christian,
    I would not install it in GAC on the production server.  I would us it in the BIN directory of the web site. 

    The issue related to GAC for development was so the designer knew how to find the DLL.

    HTH,
    Mike
  11. Chris Rathermel
    Chris Rathermel avatar
    28 posts
    Member since:
    Dec 2006

    Posted 27 Dec 2007 Link to this post

    If I was handing out telerik points I would toss Michael McCallum 1 million. 

    Thanks,

    Chris Rathermel
  12. ThomasJ
    ThomasJ avatar
    11 posts
    Member since:
    Dec 2007

    Posted 04 Jan 2008 Link to this post

    I second that
  13. Roger
    Roger avatar
    12 posts
    Member since:
    Feb 2005

    Posted 09 Jan 2008 Link to this post

    Worked for me as well.
    Points to Michael. ;-)
  14. Chuanbo
    Chuanbo avatar
    32 posts
    Member since:
    Jul 2007

    Posted 14 Jan 2008 Link to this post

    now i find the root reason for this issue.
    there are two version of dll both as 2007.3.1218,they are just difference for the last revision number.
    '2007.3.1218.35' is just for .net framework 3.5
    and '2007.3.1218.20' is just for .net framework 2.0 with ajax extension 1.0
    by default, the installed version is 2007.3.1218.20 which just work with .net framework 20 together ajax extension 1.0.

    i assume this is a bug of the telerik setup. the setup should determine the .net version of the enviroment and install the correct revision version of telerik
  15. Goksun
    Goksun avatar
    32 posts
    Member since:
    Aug 2006

    Posted 17 Jan 2008 Link to this post

    Hi All,

    I've followed the steps but this didn't work for me. I've checked GAC and both versions are there. On the ascx file, it looks like version 3.5 is used.

    <%

    @ Register Assembly="Telerik.Web.UI, Version=2007.3.1314.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4"

    Namespace="Telerik.Web.UI" TagPrefix="telerik" %>

    This is pretty annoying. I want to see my page in design mode to make changes. One more thing, I didn't do an automatic installation. I've used the zip file. Maybe I am missing something there?

    Thanks
    Goksun

  16. Helen
    Admin
    Helen avatar
    1052 posts

    Posted 18 Jan 2008 Link to this post

    Hi Alex,

    We agree that this error is rally unacceptable. Our developers put lotс of efforts to avoid it, but they couldn't find an acceptable solution for the present which will not cause other problems. We created a temporary KB article regarding this problem http://www.telerik.com/support/kb/article/b454K-hab-b454T-cgt-b454c-cgt.aspx. Hope it will help you solve the problem.

    Regards,
    Helen
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  17. Goksun
    Goksun avatar
    32 posts
    Member since:
    Aug 2006

    Posted 18 Jan 2008 Link to this post

    Hi Helen,

    I've followed the article and it solved my problem. Thanks for the effort. Actually in case anyone is wondering what I've missed, I forgot to copy the dll in my project's bin folder. Once I did it, I was able to see the page in design view. 

    Thanks
    Goksun 
  18. KevinMc
    KevinMc avatar
    47 posts
    Member since:
    Dec 2006

    Posted 22 Jan 2008 Link to this post

    The knowledgebase article claims this only applies to .net 3.5 but i am also experiencing it in vs 2008 on a site that is targeted to .net 2.0. Do i need to put the telerik.web.ui from the .net 2.0 directory in the gac?
  19. Helen
    Admin
    Helen avatar
    1052 posts

    Posted 23 Jan 2008 Link to this post

    Hi Kevin,

    Could you check what the exact version of Telerik.Web.UI.dll is that you are using(right click on the dll to show the properties from windows explorer)? If it is .net2.0 dll- the version should be 2007.3.1314.20, if it is .net 3.5 - it should be 2007.3.1314.35. Since we didn't reproduce the problem with the .net2.0 version of the dll we are not sure what is the cause of your problem. If you are using the .net2.0 dll of the Telerik.Web.UI you can try placing it in the GAC.


    Greetings,
    Helen
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  20. KevinMc
    KevinMc avatar
    47 posts
    Member since:
    Dec 2006

    Posted 23 Jan 2008 Link to this post

    In my projects bin folder i have:
             telerik.web.design.dll    2007.3.1314.20
             telerik.web.ui.dll           2007.3.1314.20

    In my gac i have:
            telerik.web.design.dll    2007.3.1314.20
            telerik.web.design.dll    2007.3.1314.35

    Neither version of the telerik.web.ui.dll is in the gac currently. I will try putting the .20 ui in the gac and see what happens. Funny thing is this worked after i installed the latest prometheus tools. I think it stopped working after my first system reboot.
  21. KevinMc
    KevinMc avatar
    47 posts
    Member since:
    Dec 2006

    Posted 23 Jan 2008 Link to this post

    I cannot install the .20 Ui dll in the gac. It says assembly cache viewer - install failed Access Is Denied: 'Telerik.Web.UI.Dll'. I am running the explorer instance as administrator( i.e. i right clicked explorer and selected run as administrator) so i think it should not be a privelage issue?
  22. Timothy Lee Russell
    Timothy Lee Russell avatar
    20 posts
    Member since:
    Feb 2003

    Posted 28 Jan 2008 Link to this post

    Thanks Michael!

    Timothy
    http://www.anatone.net
  23. Helen
    Admin
    Helen avatar
    1052 posts

    Posted 29 Jan 2008 Link to this post

    Hi Kevin,

    Could you try to install the Telerik.Web.UI.dll .net2.0 version into GAC with the gacutil? Detailed steps how you can find here: http://www.telerik.com/support/kb/article/b454K-cgk-b454T-a-b454c-a.aspx.

    If you still experience the same problem could you please send us a screenshot of the exact design-time error? It will help us investigate the problem further.


    Regards,
    Helen
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  24. KevinMc
    KevinMc avatar
    47 posts
    Member since:
    Dec 2006

    Posted 29 Jan 2008 Link to this post

    A+ that works. I now have design mode! One small note... you might want to update the adding controls with gacutil to have an instruction for launching the vs command shell with administrator privileges. Right click run as admin...

    Thanks for the help!!!!
    Kevin
  25. Peter
    Admin
    Peter avatar
    6637 posts

    Posted 29 Jan 2008 Link to this post

    Hello Kevin,

    We are glad we were able to help you solve the problem. Also, thank you for the feedback on KB #901. It is now updated as per your suggestion.


    All the best,
    Peter
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  26. dhlennon
    dhlennon avatar
    32 posts
    Member since:
    Oct 2006

    Posted 02 Feb 2008 Link to this post

    can you give step-by-step instructions to those of us unfamiliar with the GAC please.
  27. Helen
    Admin
    Helen avatar
    1052 posts

    Posted 04 Feb 2008 Link to this post

    Hi David,

    As I sent in this forum post previously here are the detailed steps how to use the GAC: http://www.telerik.com/support/kb/article/b454K-cgk-b454T-a-b454c-a.aspx. If this doesn't help, could you please tell us what exactly the problem is that you have experienced? We will be glad to help.


    Regards,
    Helen
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  28. drgorin
    drgorin avatar
    10 posts
    Member since:
    Aug 2012

    Posted 04 Feb 2008 Link to this post

    Stop the clock.   Please stop the clock.

    I have 202 days of support left and cherish everyday since I am a solo developer and find the Telerik product and its associated support cost a luxury.  With that said permit me to vent.

    I am respectfully requesting that my comments be reviewed by all Telerik customers, Telerik corporate administrators, and tech support engineers.
     
    I have a new computer running Windows Vista Business.  I have a fresh install of Visual Studio 2008.  I installed the latest versions of Radcontrols and Prometheus and find that I am experiencing everything that all of the other messages to this thread reveal.

    This is grossly unfair.  Providing your clients with KB articles and expecting them to spend hours attempting to install your product on their dime is just not OK.  Even Microsoft provides free phone based install-assistance when a product refuses to setup properly.

    I call upon all of my fellow developers to plead with Telerik to provide us with a product that installs properly in Visual Studio 2008 on computers hosting OS = Vista Business.

    Our time is no less valuable than the creative genius at Telerik and I know I have spent far too much time attempting to get RadControls and Prometheus installed onto my new computer.

    Please provide your customers with a product that installs right out of the box.  Our customers expect it from us and I know you should be held to the same standard.

    In closing, many of us have VS 200(5) projects that include RadControls and Prometheus.  We need a way to bring these projects over to VS 2008, on computers running vista business,  without reading KB articles and struggling with the forums.  We also need an install than permits new projects built in VS 2008 to function immediately after the install without any annoyances of GAC, etc.

    Thank you for you anticipated cooperation regarding this matter. And…  how about stopping all of the “support days left” clocks until you provide us with an update that addresses these issues.

    drGorin

    drgorin@gorinortho.com 

  29. a
    a avatar
    10 posts
    Member since:
    Feb 2008

    Posted 05 Feb 2008 Link to this post

    I agree, I think there have been enough people with this same problem to warrant at least a specific tutorial on how to fix this problem.  I would really love to use these controls in an upcoming project but will have a hard time shelling out $$$$ for several developers licenses if I can't even get the thing installed.

    Telerik... Please provide a solution to this problem.  A step by step guide that explains it all and how to fix it.
  30. dhlennon
    dhlennon avatar
    32 posts
    Member since:
    Oct 2006

    Posted 05 Feb 2008 Link to this post

    If you only have VWD 2008 Express installed there is not an obvious or easy way to access GACUTIL as I have painfully discovered.

    If you are targetting 3.5 though, just drag and drop the web.ui dll into the windows\assembly directory and you should be fine (there is no machine.config to edit in 3.5)
Back to Top