简体   繁体   中英

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.

On my local machine, the line "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?)"

I have added the .dll file as a reference, and intellisense even works.

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. ... ceTe. ... by dependency walker .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM