.net 不在同一个解决方案中的 Dll 文件引用
木房尘埃 2010-11-01 08:22:46 在一个网站中引用了另外一个小网站中的所以Dll 在本地代码测试没有问题
在服务器上访问的Using 项目名称
但是无法访问到项目下的类型
错误提示如下:
Server Error in '/eProcess' Application.
--------------------------------------------------------------------------------
Could not load file or assembly 'System.Data.SqlServerCe, Version=9.0.242.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its dependencies. The system cannot find the file specified.
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 'System.Data.SqlServerCe, Version=9.0.242.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its dependencies. The system cannot find the file specified.
Source Error:
Line 312: protected void btnLogin_Click(object sender, EventArgs e)
Line 313: {//MediaSystem 中的密码验证
Line 314: Apply.DoLogin login = new Apply.DoLogin();
Line 315: string straccount = this.txtAccount.Text.Trim();
Line 316:
Source File: c:\Program Files\Dltech\LiveFlowNet V5.3\WebSite\LiveFlowWeb\LoginNoAD.aspx.cs Line: 314
Assembly Load Trace: The following information can be helpful to determine why the assembly 'System.Data.SqlServerCe, Version=9.0.242.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' could not be loaded.
WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].