We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

Problem about HttpReadType.Save

while a tranfer current html page to pdf,it occur an erro that I don't know how to deal with it.
the erro message here:
CS0433: The type 'Syncfusion.Pdf.HttpReadType' exists in both 'c:\WINNT\assembly\GAC_MSIL\Syncfusion.Pdf.Base\5.202.0.25__3d67ed1f87d44c89\Syncfusion.Pdf.Base.dll' and 'c:\WINNT\assembly\GAC_MSIL\Syncfusion.Pdf.Legacy.Base\5.202.0.25__3d67ed1f87d44c89\Syncfusion.Pdf.Legacy.Base.dll'



doc.Save(path, Response, HttpReadType.Save);



1 Reply

YG Yavanaarasi G Syncfusion Team December 27, 2007 01:14 PM UTC

Hi Strife,

Sorry for the delay in responding.

Normally this error occurs, if you use Syncfusion.Pdf.Base and Syncfusion.Pdf.Legacy.Base in same application. If you are converting html page to pdf using our new library, please use Syncfusion.Pdf.Base alone in your application and if you are converting html page to pdf using our old library, please use Syncfusion.Pdf.Legacy.Base alone. Kindly don’t use both the references in the same application.

Please let me know if you have any other questions.

Regards,
Yavana.G




Loader.
Live Chat Icon For mobile
Up arrow icon