When I try to run the 4.01 Merge PDF smple, it display the following error :
Server Error in '/DynamicPDF401forNETCommEd' 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: CS0433: The type 'ceTe.DynamicPDF.Document' exists in both 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dynamicpdf401fornetcommed\ee460241\4aa80b4d\assembly\dl3\1696036e\00384890_9ee2c601\ceTe.DynamicPDF.10.DLL' and 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dynamicpdf401fornetcommed\ee460241\4aa80b4d\assembly\dl3\5e8c81ca\0040f7bf_9ee2c601\ceTe.DynamicPDF.20.DLL'
Source Error:
Line 10: {
Line 11: // Create a document and set it's properties
Line 12: ceTe.DynamicPDF.Document document = new ceTe.DynamicPDF.Document();
Line 13: document.Creator = "HelloWorld.aspx";
Line 14: document.Author = "Your Name";
Source File: c:\Program Files\ceTe Software\DynamicPDF v4.0.1 for .NET Community Edition\Examples\NonVisualStudio\Web_CSharp\GeneratorExamples\HelloWorld.aspx.cs Line: 12
Please help!
Thanks!
Sample error
Re: Sample error
Support · Oct 2, 2006Hello,
The reason you are getting this error is because the bin folder inside the Examples folder has both ceTe.DynamicPDF.10.DLL and ceTe.DynamicPDF.20.DLL DLL files. Please remove ceTe.DynamicPDF.20.DLL DLL file from the bin folder inside the Examples folder and this will solve your problem.
We will be creating new MSI files today that will address this issue.
Thanks,
ceTe Software Support Team
Re: Sample error
Forum member · Apr 12, 2011
please let me know what is the reason behind the problem whch i am gettin like this.I am using the ceTe.DynamicPDF.20.DLL in my code but it's not working and generating error like given below: please reply me ASAP:
Compiler Error Message: CS0433: The type 'ceTe.DynamicPDF.Document' exists in both 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\reportproject\73dfb95a\5553be84\assembly\dl3\a8166eab\c43d221c_e7f8cb01\ceTe.DynamicPDF.20.DLL' and 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\reportproject\73dfb95a\5553be84\assembly\dl3\27e9ac24\30a0241c_e7f8cb01\ceTe.DynamicPDF.DLL'
Re: Sample error
Support · Apr 12, 2011Hello,
The error which you are getting is most likely because the bin folder inside the Examples folder has both ceTe.DynamicPDF.DLL and ceTe.DynamicPDF.20.DLL files. Please remove ceTe.DynamicPDF.DLL file from the bin folder inside the Examples folder and this will solve your problem.
Also please uninstall the current DynamicPDF product from your system and download the latest version 4 DynamicPDF product MSI by logging into our CustomerArea: http://www.DynamicPDF.com/CustomerArea
using your version 4 product serial number and install the product using this downloaded product MSI. Remove the reference for the old dll file and reference the latest dll file in your application and this should work for you.
Thanks,
ceTe Software Support Team.