简体   繁体   English

当在本地计算机上正常运行时,为什么在IIS 7服务器上找不到类型或名称空间?

[英]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.

相关问题 Ajax自动完成CSS在iis和服务器上工作正常,但在本地计算机上工作不正常 - Ajax Auto complete Css works fine in iis and the server but not in local machine WebApplication 在 IIS Express 上运行良好,但在本地 IIS 上不起作用 - WebApplication works fine on IIS Express but it doesn't on Local IIS 找不到命名空间或类型 - Namespace or type can't be found ASP.NET 项目在 VS 运行时在本地运行,但不在本地计算机或服务器上的 IIS 上运行 - ASP.NET project works locally on build when VS is running but not on IIS on my local machine or my server 代码在本地机器上工作,但在 IIS 上不工作 - Code Works On Local Machine But Not On IIS 无法连接到远程计算机上的IIS服务器 - Can't connect to IIS server on remote machine IIS7上的ASP.NEt MVC 2应用程序错误在本地计算机上正常运行 - ASP.NEt MVC 2 application error on IIS7 works fine on local machine 我的asmx服务在我的本地机器的iis上运行正常,即win10。 但不适用于Windows Server 2008 r2 - my asmx service works fine on my local machine's iis which is win10. but does not work on windows server 2008 r2 使用C#.net应用程序访问活动目录中的不同域在本地计算机上工作,但在IIS服务器中托管时不能 - Access to different domain in active directory using C# .net application works in local machine but not when hosted in IIS server 找不到类型或名称空间名称“ IGraphResult”。 但是它在那里,在其他地方也可以正常工作 - The type or namespace name `IGraphResult` could not be found. But it's there and it works fine elsewhere
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM