Help!!!!!!!! 请教大家一个dll异常问题
本人公司一台服务器A上面写了一个小的web ui程序,该程序调用了另外一个程序的dll, 然后在A服务器上面运行一切正常。 现在把该ui程序和所依赖的dll文件等所有环境一摸一样的copy到另外一台服务器B上面去,但是运行的时候,关于调用dll的程序部分就跑出异常了, 异常情况如下:
/////////////////////////////////////////////////////////////////////////
Server Error in '/QSQC' Application.
-------------------------------------------------------------------------
Unable to load DLL 'D:\zsli\YPEngine\Code\MsraIREngine\bin\GeoQueryClassifier.dll': This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem. (Exception from HRESULT: 0x800736B1)
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.DllNotFoundException: Unable to load DLL 'D:\zsli\YPEngine\Code\MsraIREngine\bin\GeoQueryClassifier.dll': This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem. (Exception from HRESULT: 0x800736B1)
Source Error:
Line 176: // </categorylist>
Line 177: // </querycategory>"
Line 178: ret = GetCategories(p, text);
Line 179:
Line 180: return ret;
Source File: d:\yjwu\QSQC\App_Code\QueryClassifier.cs Line: 178
Stack Trace:
[DllNotFoundException: Unable to load DLL 'D:\zsli\YPEngine\Code\MsraIREngine\bin\GeoQueryClassifier.dll': This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem. (Exception from HRESULT: 0x800736B1)]
Columbus.QueryClaasifier.Classifier.GetCategories(IntPtr p, String text) +0
Columbus.QueryClaasifier.Classifier.GetCategoryResultString(String text) in d:\yjwu\QSQC\App_Code\QueryClassifier.cs:178
Columbus.QueryClaasifier.Classifier.ClassifyQuery(String query) in d:\yjwu\QSQC\App_Code\QueryClassifier.cs:58
QueryClassifier.Default.QueryClassiferExecute(String cString) in d:\yjwu\QSQC\Default.aspx.cs:47
QueryClassifier.Default.Page_Load(Object sender, EventArgs e) in d:\yjwu\QSQC\Default.aspx.cs:85
System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +13
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +45
System.Web.UI.Control.OnLoad(EventArgs e) +80
System.Web.UI.Control.LoadRecursive() +49
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3745
--------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.210
/////////////////////////////////////////////////////////////////////////
请问大家这个东西怎样解决呢,我在网上搜了很久,都没有一个好地解决方案。
在这里先谢谢大家了