locked
could not load assembly RRS feed

  • Question

  • Server Error in '/' Application.

    Parser Error

    Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

    Parser Error Message: Could not load file or assembly 'SmartControls' or one of its dependencies. The system cannot find the file specified.

    Source Error:

    Line 1: <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Mailbox.aspx.cs" Inherits="Mailbox" %>
    Line 2: <%@ Register Assembly="SmartControls" Namespace="SmartControls.Web" TagPrefix="cc1" %>
    Line 3:
    Line 4: <%@ Import Namespace="System.Data" %>

    Source File: /pmsdev/eik_asp_pms/user/Mailbox.aspx    Line: 2

    Assembly Load Trace: The following information can be helpful to determine why the assembly 'SmartControls' 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].


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

    Wednesday, July 21, 2010 1:17 PM

Answers

  • Error says that you have not added reference to dll containing SmartControl. Adding reference to that dll will solve this error.

    Also as your question is related to ASP.NET, you can post it on ASP.NET Forum for better support


    Gaurav Khanna
    • Marked as answer by Aland Li Tuesday, July 27, 2010 4:14 PM
    Thursday, July 22, 2010 6:15 PM