Free Support Forum -

Compilation Error when moving code to web server :: Cannot find Aspose references


I am evaluating both Aspose Words and Aspose.Pdf.Kit for a ASP.NET web project I am currently working on. I seem to have everything working great on my local machine running Visual Studio 2008. However, when I copy my code to my web server and try to navigate to the .aspx page I get a compilation error. I get the following:

Compiler Error Message: CS0246: The type or namespace name ‘Aspose’ could
not be found (are you missing a using directive or an assembly reference?)

I have both the Aspose.Words.dll and the Aspose.Pdf.Kit.dll in my Bin folder and do not understand why the code cannot find these .dll’s. What am I missing?



<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thanks for your request. I think in this case you should just remove old reference from you project and add new reference again.

Hope this helps.

Best regards,