“DefaultDomain”: 已加载“c:\winnt\microsoft.net\framework\v1.1.4322\mscorlib.dll”,未加载符号。
“ConfigTool”: 已加载“E:\zhcp\ConfigTool\bin\Debug\ConfigTool.exe”,符号已加载。
“ConfigTool.exe”: 已加载“e:\zhcp\configtool\bin\debug\bll.dll”,符号已加载。
“ConfigTool.exe”: 已加载“e:\zhcp\configtool\bin\debug\model.dll”,符号已加载。
“ConfigTool.exe”: 已加载“c:\winnt\assembly\gac\system\1.0.5000.0__b77a5c561934e089\system.dll”,未加载符号。
“ConfigTool.exe”: 已加载“c:\winnt\assembly\gac\system.xml\1.0.5000.0__b77a5c561934e089\system.xml.dll”,未加载符号。
“ConfigTool.exe”: 已加载“c:\winnt\assembly\gac\mscorlib.resources\1.0.5000.0_zh-chs_b77a5c561934e089\mscorlib.resources.dll”,未加载符号。
“ConfigTool.exe”: 已加载“e:\zhcp\configtool\bin\debug\dalfactory.dll”,符号已加载。
“ConfigTool.exe”: 已加载“e:\zhcp\configtool\bin\debug\idal.dll”,符号已加载。
未处理的“System.IO.FileNotFoundException”类型的异常出现在 mscorlib.dll 中。其他信息: 找不到文件或程序集名称“Zhcp.SQLServerDAL”,或找不到它的一个依赖项。//相关源码using System;
using System.Reflection;
using System.Configuration;namespace Zhcp.DALFactory
{
/// <summary>
/// Class1 的摘要说明。
/// </summary>
public class Cphz
{
public static Zhcp.IDAL.ICphz Create()
{
/// Look up the DAL implementation we should be using
string path = System.Configuration.ConfigurationSettings.AppSettings["WebDAL"];
string className = path + ".Cphz";
// Using the evidence given in the config file load the appropriate assembly and class
return (Zhcp.IDAL.ICphz) Assembly.Load(path).CreateInstance(className); }
}
}
“ConfigTool”: 已加载“E:\zhcp\ConfigTool\bin\Debug\ConfigTool.exe”,符号已加载。
“ConfigTool.exe”: 已加载“e:\zhcp\configtool\bin\debug\bll.dll”,符号已加载。
“ConfigTool.exe”: 已加载“e:\zhcp\configtool\bin\debug\model.dll”,符号已加载。
“ConfigTool.exe”: 已加载“c:\winnt\assembly\gac\system\1.0.5000.0__b77a5c561934e089\system.dll”,未加载符号。
“ConfigTool.exe”: 已加载“c:\winnt\assembly\gac\system.xml\1.0.5000.0__b77a5c561934e089\system.xml.dll”,未加载符号。
“ConfigTool.exe”: 已加载“c:\winnt\assembly\gac\mscorlib.resources\1.0.5000.0_zh-chs_b77a5c561934e089\mscorlib.resources.dll”,未加载符号。
“ConfigTool.exe”: 已加载“e:\zhcp\configtool\bin\debug\dalfactory.dll”,符号已加载。
“ConfigTool.exe”: 已加载“e:\zhcp\configtool\bin\debug\idal.dll”,符号已加载。
未处理的“System.IO.FileNotFoundException”类型的异常出现在 mscorlib.dll 中。其他信息: 找不到文件或程序集名称“Zhcp.SQLServerDAL”,或找不到它的一个依赖项。//相关源码using System;
using System.Reflection;
using System.Configuration;namespace Zhcp.DALFactory
{
/// <summary>
/// Class1 的摘要说明。
/// </summary>
public class Cphz
{
public static Zhcp.IDAL.ICphz Create()
{
/// Look up the DAL implementation we should be using
string path = System.Configuration.ConfigurationSettings.AppSettings["WebDAL"];
string className = path + ".Cphz";
// Using the evidence given in the config file load the appropriate assembly and class
return (Zhcp.IDAL.ICphz) Assembly.Load(path).CreateInstance(className); }
}
}
解决方案 »
- FormView中的提交Button更新数据库
- 服务器端控件调用java脚本(来者有分)
- 一个关于动态增加textbox和dropdownlist的问题
- window.showModelessDialog里怎么消除对话框里的标题拦啊?
- 急急!!!!我现在要把OA 和一个WEB 应用程序集到一起 怎么去实现档案web系统自动的登陆。
- 讨论:ASP.NET空间开通访问上级目录的权限(本虚拟目录内)会造成什么样的安全隐患?
- 为什么我的代码放到空间根目录下正常运行,如果移到文件夹下就不可以了?
- 如何读取一个字段的不同记录到一个DropDownList?
- 常说的.net组件是什么东西?
- 一个关于HttpModule的问题,请大家帮忙看看:)
- 怎样取得上网方式?
- 如何通过一个页面刷新另一个页面?
-------------
这是一个组件或其他控件吧,要对它进行引用
右键点击"文件资源管理器里面的"引用",添加引用,找到此控件,添加进来即可.
Zhcp.SQLServerDAL是我做的类库
是模仿petshop的分层结构做的return (Zhcp.IDAL.ICphz) Assembly.Load(path).CreateInstance(className);使用Assembly.Load时就会出现
找不到文件或程序集名称
错误