应用程序错误:无法加载文件或程序集

问题描述:

我正在处理.net,当我运行我的应用程序时出现此错误。谁能帮我?应用程序错误:无法加载文件或程序集

Application Error - 
MESSAGE: Could not load file or assembly 'ConfigurationMgr, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified. 
SOURCE: BusinessLayer 
TARGETSITE: Void .ctor() 
STACKTRACE: 
    at BusinessLayer.BL..ctor() 
    at Marketing_BulkSMS..ctor() 
    at ASP.marketing_bulksms_aspx..ctor() 
    at __ASP.FastObjectFactory_app_web_q3yaaskd.Create_ASP_marketing_bulksms_aspx() 
    at System.Web.Compilation.BuildResultCompiledType.CreateInstance() 
    at System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp, Boolean noAssert) 
    at System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) 
    at System.Web.UI.PageHandlerFactory.System.Web.IHttpHandlerFactory2.GetHandler(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) 
    at System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig) 

要么你缺少你的bin文件夹一个ConfigurationMgr.dll文件,或ConfigurationMgr.dll在你的bin文件夹是不同的版本比你的web.config中指定的一个。