“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); }
}
}