Help!!!!!!!! 请教大家一个dll异常问题

littleken036 2007-05-23 02:44:51
本人公司一台服务器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

/////////////////////////////////////////////////////////////////////////

请问大家这个东西怎样解决呢,我在网上搜了很久,都没有一个好地解决方案。

在这里先谢谢大家了
...全文
126 回复 打赏 收藏 转发到动态 举报
写回复
用AI写文章
回复
切换为时间正序
请发表友善的回复…
发表回复

62,046

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术交流专区
javascript云原生 企业社区
社区管理员
  • ASP.NET
  • .Net开发者社区
  • R小R
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

.NET 社区是一个围绕开源 .NET 的开放、热情、创新、包容的技术社区。社区致力于为广大 .NET 爱好者提供一个良好的知识共享、协同互助的 .NET 技术交流环境。我们尊重不同意见,支持健康理性的辩论和互动,反对歧视和攻击。

希望和大家一起共同营造一个活跃、友好的社区氛围。

试试用AI创作助手写篇文章吧