I get the following error when trying to load the HelloWorld.aspx example from my test website.
Server Error in '/' Application.
--------------------------------------------------------------------------------
Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: BC30002: Type 'ceTe.DynamicPDF.Document' is not defined.
Source Error:
Line 23: Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Line 24: 'Create a MyDocument and set it's properties
Line 25: Dim MyDocument As ceTe.DynamicPDF.Document = New ceTe.DynamicPDF.Document
Line 26: MyDocument.Creator = "HelloWorld.aspx"
Line 27: MyDocument.Author = "Your Name"
Source File: f:\inetpub\wwwroot\HelloWorld.aspx.vb Line: 25
error loading HelloWorld.aspx
Re: error loading HelloWorld.aspx
Support · Aug 27, 2008Hello,
This is probably happening because the ceTe.DynamicPDF assembly is not in your bin folder. Please make sure the assembly is in your bin folder and let us know if you have any further issues.
Thanks,
ceTe Software Support Team
Re: error loading HelloWorld.aspx
Forum member · Aug 28, 2008I have the ceTe.DynamicPDF.20.dll in the bin folder. That should be the one I use with ASP.Net 2.0, right?
Re: error loading HelloWorld.aspx
Support · Aug 28, 2008Hello,
Yes, you will have to use the ceTe.DynamicPDF.20.dll when using the .NET framework v2.0. Please try deleting the existing references from your application and make new reference to this dll and this should work.
Thanks,
ceTe Software Support Team.
Re: error loading HelloWorld.aspx
Forum member · Aug 28, 2008I'm still learning the whole ASP.Net thing. What do you mean by delete the references and make new ones.
Also, does anything need to be added to my website besides the ceTe.DynamicPDF.20.dll?
Thanks.
Re: error loading HelloWorld.aspx
Support · Aug 28, 2008Hello,
In the solution explorer of your application you can see the References section. If you have our dll in this, then remove the dll and add a new reference to the ceTe.DynamicPDF.20.dll file located in the Bin folder of the installtion path of our product. You can add reference by right clicking the References in the solution explorer. You can also place the ceTe.DynamicPDF.20.dll in the Bin folder of your application and this will work.
Thanks,
ceTe Software Support Team.
Re: error loading HelloWorld.aspx
Forum member · Apr 9, 2011Hello,
I am also facing a similar issue. when I try it on my local machine the samples work just fine.
However when I upload the same code via ftp on the server it gives me the error - "Type 'ceTe.DynamicPDF.Document' is not defined.
"
Also can please someone help me regarding converting html code directly to PDF.
Regards,
Himanshu
Re: error loading HelloWorld.aspx
Support · Apr 11, 2011Hello Himanshu,
You have to build the project and upload the contents of the bin folder which contains DynamicPDF dll along with the web pages to the server.
Regarding converting HTML to PDF, this product DynamicPDF Generator has limited support for HTML to PDF generation. We have a different product called DynamicPDF Converter for .NET
that supports conversion of HTML string to PDF document.
Thanks,
ceTe Software Support Team.