为了账号安全,请及时绑定邮箱和手机立即绑定

关于Could not load file or assembly 错误的问题

关于Could not load file or assembly 错误的问题

弑天下 2018-11-06 07:06:06
搞了一下午。实在找不到哪里有问题。错误提示:Server Error in '/' Application.Could not load file or assembly 'WebSite.Core.AccessDAL' or one of its dependencies. 系统找不到指定的文件。Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.IO.FileNotFoundException: Could not load file or assembly 'WebSite.Core.AccessDAL' or one of its dependencies. 系统找不到指定的文件。Source Error: Line 13:         { Line 14:             string className = path + ".SiteConfig"; Line 15:             return (WebSite.Core.IDAL.ISiteConfig)Assembly.Load(path).CreateInstance(className); Line 16:         } Line 17:     }Source File: E:\Web\ChnValve\Site.Core\DALFactory\DataAccess.cs    Line: 15 上面:path值为:WebSite.Core.AccessDAL,下有一个siteconfig类  这个文件确实存在的。。。就是不明白问题出在哪里了
查看完整描述

2 回答

  • 2 回答
  • 0 关注
  • 3674 浏览

添加回答

举报

0/150
提交
取消
意见反馈 帮助中心 APP下载
官方微信