有关使用和DLL的问题 [英] a question about using and DLL

查看:99
本文介绍了有关使用和DLL的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个有关ASP.NET的Web项目.发生的错误是缺少使用或DLL引用.但是,我添加了DLL引用.但是令人惊讶的是,然后我在其他三台计算机上对其进行了测试,一切正常!
请给我一些建议,谢谢.

I have a web project about ASP.NET.An error occurs that lacking of the using or DLL reference.However,I have added DLL reference.But in surprise, then i test it in other three machines and every is ok!
Please give me some advice and Thank You.

推荐答案

这可能是许多事情之一:

This could be one of a number of things:



  1. 如果dll是已安装的第三方,则所有计算机上的路径都相同
  2. 该dll是否安装在全局程序集缓存(GAC)中,如果是,请检查该dll是否已安装在计算机上无效的: http://en.wikipedia.org/wiki/Global_Assembly_Cache [ http://support.microsoft.com/kb/315682 [ http://msdn.microsoft.com/en-us/library/ex0ss12c(VS .80).aspx [ ^ ]
    http://www.codeproject.com/KB/dotnet/demystifygac.aspx [ ^ ]
  3. 如果dll只是一个标准参考(即上述都不是),请在无法运行的计算机上检查您的Assemblys文件夹,并将其与要查看dll丢失的文件夹进行比较.您可以使用比较工具(例如超越Comapre [


  1. If the dll is an installed 3rd party one, is the path the same on all machines
  2. Is the dll installed in the Global Assembly Cache (GAC), if so check it is installed on the machine that isn''t working: http://en.wikipedia.org/wiki/Global_Assembly_Cache[^]
    http://support.microsoft.com/kb/315682[^]
    http://msdn.microsoft.com/en-us/library/ex0ss12c(VS.80).aspx[^]
    http://www.codeproject.com/KB/dotnet/demystifygac.aspx[^]
  3. If the dll is just a standard reference (ie none of the above), check your assemblies folder on the machine that isn''t working and compare it with the ones that are to see if the dll is missing. You could use a compare tool (such as Beyond Comapre[^] to make this easier.



如果这些都不起作用,您可以张贴错误消息吗?



If none of these work, can you post your error message please?


在缺少DLL的一个系统上并且添加该DLL后它可以正常工作.在其他地方,它已经在那里!

此外,它与Web服务器上的dll存在有关.只要在Web服务器上一切正常(或一旦对其进行修复),其他访问它的系统就不会遇到相同的情况.

万一您还有其他要提出的问题或您未能明确提出的其他问题,请使用改善问题"按钮来编辑/更新您的问题.
On one system that DLL was missing and after adding it worked. On others it was already there!

Further, it''s about dll presence on webserver. As long as things are fine on webserver (or once you fix it), other system accessing it would not face the same.

In case, you have something else to put up or has some other issue which you failed to put up clearly then please use ''Improve question'' button to edit/update your question.


这篇关于有关使用和DLL的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆