当我将我的网站托管到子文件夹时,iTextsharp.dll显示错误。 [英] iTextsharp.dll shows error when I host my website in to sub folder..

查看:131
本文介绍了当我将我的网站托管到子文件夹时,iTextsharp.dll显示错误。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我创建了子域并且它工作正常..当我将每个文件复制到子文件夹然后它无法正常工作..



它显示了这个错误



CS0246:找不到类型或命名空间名称'iTextSharp'(您是否缺少using指令或汇编引用?)



我尝试过:



我添加了itextsharp referencence版本5.5.5.0 ...从bin文件夹

解决方案

你需要为 iTextSharp.dll提供程序集参考



请检查是否已提供参考,然后路径应正确



formore info



如何:使用添加引用对话框添加或删除引用 [ ^ ]

I created sub domain and it was working properly.. when i copied every files in to a sub folder then it is not working..

it shows this error

CS0246: The type or namespace name 'iTextSharp' could not be found (are you missing a using directive or an assembly reference?)

What I have tried:

I added the itextsharp referencence version 5.5.5.0... from bin folder

解决方案

you need to give assembly reference for iTextSharp.dll

Please check if reference already provided then the path should be correct

formore info

How to: Add or Remove References By Using the Add Reference Dialog Box[^]


这篇关于当我将我的网站托管到子文件夹时,iTextsharp.dll显示错误。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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