【问题标题】:Application error:Could not load file or assembly应用程序错误:无法加载文件或程序集
【发布时间】:2012-06-28 11:01:43
【问题描述】:

我在 .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)

【问题讨论】:

    标签: c# asp.net web-config configuration-files config


    【解决方案1】:

    您的 bin 文件夹中缺少 ConfigurationMgr.dll 文件,或者 bin 文件夹中的 ConfigurationMgr.dll 与 Web.config 中指定的版本不同。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2010-10-07
      • 2023-03-05
      • 1970-01-01
      • 1970-01-01
      • 2016-04-18
      • 2013-02-23
      • 2015-09-25
      相关资源
      最近更新 更多