[英]Why can't the type or namespace be found on IIS 7 server when it works fine on the local machine?
I am using DynamicPDF creator, Visual Studio 2010, and IIS 7. 我正在使用DynamicPDF Creator,Visual Studio 2010和IIS 7。
On my local machine, the line "using ceTe.DynamicPDF;" 在我的本地计算机上,该行“ using ceTe.DynamicPDF;” and subsequent lines work fine, but when I try to load the page on my server, I get the following error:
和后续行工作正常,但是当我尝试在服务器上加载页面时,出现以下错误:
"Compiler Error Message: CS0246: The type or namespace name 'ceTe' could not be found (are you missing a using directive or an assembly reference?)" “编译器错误消息:CS0246:找不到类型或名称空间名称'ceTe'(您是否缺少using指令或程序集引用?)”
I have added the .dll file as a reference, and intellisense even works. 我已经添加了.dll文件作为参考,并且intellisense甚至可以工作。
I am wondering if it is a problem with assemblies. 我想知道程序集是否有问题。 Any ideas about what I should do to get this working on my server?
关于如何使它在服务器上正常运行的任何想法?
May be you lost some of dlls, you can check dll which contains ceTe. ...
可能是您丢失了一些dll,可以检查包含
ceTe. ...
dll ceTe. ...
ceTe. ...
by dependency walker . ceTe. ...
由依赖沃克 。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.