无法加载文件或程序集'ComponentArt.Web.UI' [英] Could not load file or assembly 'ComponentArt.Web.UI'

查看:148
本文介绍了无法加载文件或程序集'ComponentArt.Web.UI'的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨朋友们,



还有一个查询



当我点击链接时调用网格控件,它显示以下异常



例外:

无法加载文件或程序集'ComponentArt.Web.UI'或其中一个依赖。系统找不到指定的文件。





第1行:<%@     Page    标题  =    语言  =  C#    MasterPageFile   = 〜/ InnerPageMaster.Master    AutoEventWireup   =  true    CodeBehind   =  Events.aspx.cs    Inherits   =  Temple.Web.Events   %>  
第2行:<%@ 注册 TagPrefix = ComponentArt 命名空间 = ComponentArt.Web.UI 程序集 = ComponentArt.Web.UI %>
第3行:<%@ 注册 TagPrefix = Temple TagName = SubMenus Src = 〜/ SubMenus.ascx %>
第4行:< asp:内容 ID = Content1 < span class =code-attribute> ContentPlaceHolderID = cpInnerPageMasterContent runat = server >

源文件:/ Events .aspx行:2

程序集加载跟踪:以下信息有助于确定无法加载程序集ComponentArt.Web.UI的原因。


===预绑定状态信息===
LOG:User = SYSTEM3 \ Tishan Soft
LOG:DisplayName = ComponentArt.Web.UI
(部分)
WRN:为程序集提供了部分绑定信息:
WRN:程序集名称:ComponentArt.Web.UI |域ID:3
WRN:仅提供部分程序集显示名称时发生部分绑定。
WRN:这可能导致活页夹加载错误的程序集。
WRN:建议为程序集提供完全指定的文本标识,
WRN:包含简单名称,版本,文化和公钥标记。
WRN:有关此问题的更多信息和常见解决方案,请参阅白皮书http://go.microsoft.com/fwlink/?LinkId=109270。
日志:Appbase = file:/// D:/ Projects / Temple / Temple V3(最新)/Temple.Web/
日志:初始PrivatePath = D:\Projects \Temple\Temple V3(最新)\ Temple.Web \ bin
调用程序集:(未知)。
===
日志:此绑定在默认加载上下文中启动。
日志:使用应用程序配置文件:D:\Projects \Temple \Temple V3(最新)\Temple.Web \web.config
日志:使用主机配置文件:
日志:使用来自C:\ WindowsPindows \ Microsoft.NET.NET \ Framework \v4.0.30319 \ config \machine.config的计算机配置文件。
日志:此时策略未应用于引用(私有,自定义,部分或基于位置的程序集绑定)。
日期:之前看到过相同的绑定,并且hr = 0x80070002失败。

解决方案

您是否搜索过Google?



FIX:无法加载文件或程序集ComponentArt.Web.UI或其依赖项之一。系统找不到指定的文件 [ ^ ]

Hi Friends,

one more query

when i click link on which is call Grid control, it shows the following exception

Exception:
Could not load file or assembly 'ComponentArt.Web.UI' or one of its dependencies. The system cannot find the file specified.


Line 1:  <%@ Page Title="" Language="C#" MasterPageFile="~/InnerPageMaster.Master" AutoEventWireup="true" CodeBehind="Events.aspx.cs" Inherits="Temple.Web.Events" %>
Line 2:  <%@ Register TagPrefix="ComponentArt" Namespace="ComponentArt.Web.UI" Assembly="ComponentArt.Web.UI" %>
Line 3:  <%@ Register TagPrefix="Temple" TagName="SubMenus" Src="~/SubMenus.ascx" %>
Line 4:  <asp:Content ID="Content1" ContentPlaceHolderID="cpInnerPageMasterContent" runat="server">

Source File: /Events.aspx    Line: 2

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


=== Pre-bind state information ===
LOG: User = SYSTEM3\Tishan Soft
LOG: DisplayName = ComponentArt.Web.UI
 (Partial)
WRN: Partial binding information was supplied for an assembly:
WRN: Assembly Name: ComponentArt.Web.UI | Domain ID: 3
WRN: A partial bind occurs when only part of the assembly display name is provided.
WRN: This might result in the binder loading an incorrect assembly.
WRN: It is recommended to provide a fully specified textual identity for the assembly,
WRN: that consists of the simple name, version, culture, and public key token.
WRN: See whitepaper http://go.microsoft.com/fwlink/?LinkId=109270 for more information and common solutions to this issue.
LOG: Appbase = file:///D:/Projects/Temple/Temple V3(latest)/Temple.Web/
LOG: Initial PrivatePath = D:\Projects\Temple\Temple V3(latest)\Temple.Web\bin
Calling assembly : (Unknown).
===
LOG: This bind starts in default load context.
LOG: Using application configuration file: D:\Projects\Temple\Temple V3(latest)\Temple.Web\web.config
LOG: Using host configuration file:
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v4.0.30319\config\machine.config.
LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
LOG: The same bind was seen before, and was failed with hr = 0x80070002.

解决方案

Did you search Google?

FIX : Could not load file or assembly 'ComponentArt.Web.UI' or one of its dependencies. The system cannot find the file specified[^]


这篇关于无法加载文件或程序集'ComponentArt.Web.UI'的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆