Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET > Ajax > Could not load file or assembly 'Telerik.Web.UI' or one of its dependencies. The system cannot find the file specified.
RadControls for ASP.NET are no longer supported (see this page for reference). In case you have inquiries about the Telerik ASP.NET AJAX controls, post them in the pertinent ASP.NET AJAX forums.

Not answered Could not load file or assembly 'Telerik.Web.UI' or one of its dependencies. The system cannot find the file specified.

Feed from this thread
  • Panks avatar

    Posted on Apr 21, 2010 (permalink)

    I have created web application and using telerik controls. Its working fine at my local environment and even at staging. But when I deployed the app. on server it throws error Could not load file or assembly 'Telerik.Web.UI' or one of its dependencies. The system cannot find the file specified. 

    There is another application on the same server using Telerik controls and it's working fine. But the new application is not. I checked the dll versions of both existing app. and new app. that I deployed and both are same.
    Is this something related to the .Net framework in which you have compiled your application? Please advise

    Can you please help me to figure out what can be the cause or is there anything that I'm missing.
    Attached files

  • Pavlina Pavlina admin's avatar

    Posted on Apr 21, 2010 (permalink)

    Hi Pankaj,

    Please, check if Telerik.Web.UI.dll assembly is located in the bin folder of your web site. If deployed in GAC check your web.config file for a reference of Telerik.Web.UI.dll within the <assemblies> tag. Also make sure the version is correct.

    Greetings,
    Pavlina
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.

  • Lynn avatar

    Posted on Feb 2, 2011 (permalink)

    The ASP.NET website I've developed references the Telerik.Web.UI library, which is located in the bin directory and this site displays correctly. However, there is a separate PHP based application, stored in a subdirectory \blog, which doesn't reference or make use of the Telerik controls, has no bin directory and which displays the error message "Could not load file or assembly 'Telerik.Web.UI' or one of its dependencies. The system cannot find the file specified." when visited. Why would this separate application display the error message when the web.config for it's directory makes no reference to the Telerik library? More importantly, how can I resolve the error?

  • Pavlina Pavlina admin's avatar

    Posted on Feb 3, 2011 (permalink)

    Hi Lynn,

    After the project fails in runtime this means that your web site is not referencing properly the Telerik.Web.UI.dll assembly. You can check if it is located in the bin folder of your web site. If deployed in GAC check your web.config file for a reference of Telerik.Web.UI.dll within the <assemblies> tag. Also make sure the version is correct.

    Kind regards,
    Pavlina
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.

  • Lynn avatar

    Posted on Feb 3, 2011 (permalink)

    No, you're not following my description carefully. The project that displays the error message is not making use of any Telerik products and therefore no reference to Telerik appears in the web.config file. There is no bin directory for this project, it is a PHP based wordpress blog. It should be completely independent of the main application which does properly reference the Telerik library and does not have an error condition.

    Why would using a Telerik library in the main application cause a problem for another application (a blog) which exists in a subdirectory? This should not be happening, and it appears that my only recourse is to discontinue all use of Telerik products in even the main application, unless the Telerik library can be made to behave.

  • Pavlina Pavlina admin's avatar

    Posted on Feb 8, 2011 (permalink)

    Hi Lynn,

    Please, refer to the support ticket post for additional information. To avoid duplicate posts, I suggest that you continue the communication there.

    Greetings,
    Pavlina
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET > Ajax > Could not load file or assembly 'Telerik.Web.UI' or one of its dependencies. The system cannot find the file specified.