locked
Telerik RRS feed

  • Question

  • User-230184616 posted

    hello

    recently i have install telerik control but it giving me problem...


    Server Error in '/telerik/RadGrid4.6_NET1' Application.

    Could not load file or assembly 'RadGrid.Net2' or one of its dependencies. The system cannot find the file specified.

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

    Exception Details: System.IO.FileNotFoundException: Could not load file or assembly 'RadGrid.Net2' or one of its dependencies. The system cannot find the file specified.

    Source Error: 

    Line 16: 	<div>
    Line 17: 		<span>Latest version:
    Line 18: 			<%= ProductVersion %> (<a href="<%= ReleaseNotesUrl%>" onclick="window.open(this.href, '_blank');return false;" onkeypress="window.open(this.href, '_blank');return false;">Release notes</a>)
    Line 19: 		</span>
    Line 20: 		<br /><br />

    Source File: c:\Program Files\telerik\RadGrid4.6\NET1\Common\InfoPanel.ascx    Line: 18 

    Assembly Load Trace: The following information can be helpful to determine why the assembly 'RadGrid.Net2' could not be loaded.

    WRN: Assembly binding logging is turned OFF.
    To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
    Note: There is some performance penalty associated with assembly bind failure logging.
    To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
    

    Stack Trace: 

    [FileNotFoundException: Could not load file or assembly 'RadGrid.Net2' or one of its dependencies. The system cannot find the file specified.]
       System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) +0
       System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) +43
       System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +127
       System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +142
       System.Reflection.Assembly.Load(String assemblyString) +28
       Telerik.QuickStart.InfoPanel.GetControlAssembly(String assemblyName) +38
       Telerik.QuickStart.InfoPanel.GetProductVersion() +21
       Telerik.QuickStart.InfoPanel.get_ProductVersion() +53
       ASP.common_infopanel_ascx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) in c:\Program Files\telerik\RadGrid4.6\NET1\Common\InfoPanel.ascx:18
       System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +256
       System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +19
       System.Web.UI.Control.Render(HtmlTextWriter writer) +10
       System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27
       System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +99
       System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
       System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +134
       System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +19
       System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer) +8673113
       System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) +32
       System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTextWriter output) +51
       System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27
       System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +99
       System.Web.UI.HtmlControls.HtmlForm.RenderControl(HtmlTextWriter writer) +40
       System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +134
       System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +19
       Telerik.QuickStart.XhtmlPage.RenderChildren(HtmlTextWriter output) +60
       System.Web.UI.Page.Render(HtmlTextWriter writer) +29
       System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27
       System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +99
       System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1266
    


    Version Information: Microsoft .NET Framework Version:2.0.50727.3053; ASP.NET Version:2.0.50727.3053

    Friday, May 14, 2010 6:03 AM

All replies

  • User-9639071 posted

    copy telerik assembly in bin folder then try


    Friday, May 14, 2010 8:07 AM
  • User784690206 posted

    Add Refference telerik.web.UI in Bin directory in tour project. Then buld & run it. You have to use refference 

    <%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI"

    %>

    upon the .aspx page

     

     

    Friday, June 4, 2010 7:54 AM
  • User784690206 posted

    <%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI"

    %>

    You have to add references in bin directory(telerik.web.ui.dll). then add top text upon the page directory level. then build & run it

    Friday, June 4, 2010 7:57 AM
  • User-319574463 posted

    For help with Telerik controls please ask at http://www.telerik.com/community/forums.aspx

    Thursday, July 8, 2010 7:37 AM
  • User1890873615 posted

    It appears you are using a very old version of RadGrid designed for .NET 1.x. If you're are using .NET 2.0 or higher, I'd highly suggest you use a newer version of the Telerik tools. With the newer versions, to use controls you must simply copy the single Telerik.Web.UI.dll to your BIN. Everything needed for the controls is in that single assembly.

    You can get the latest version of the Telerik tools (with RadGrid) here:

    http://www.telerik.com/download

    Hope that helps.

    Tuesday, July 20, 2010 5:45 PM