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

搞了一下午。实在找不到哪里有问题。

错误提示:

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类
  这个文件确实存在的。。。就是不明白问题出在哪里了


弑天下
浏览 3675回答 2
2回答
打开App,查看更多内容
随时随地看视频慕课网APP