Spire.PDFViewer is a powerful PDF Viewer component for .NET. It allows developers to load PDF document from stream, file and byte array.

Tue Nov 19, 2013 1:07 pm

I am getting the below error of license.licx file. Can you please sugget me solution?

Error Unable to resolve type 'Spire.PdfViewer.Forms.PdfDocumentViewer, Spire.PdfViewer.Forms, Version=2.0.24.6340, Culture=neutral, PublicKeyToken=663f351905198cb3'

sameers
 
Posts: 1
Joined: Tue Nov 19, 2013 10:35 am

Wed Nov 20, 2013 6:42 am

Hello,

Thanks for your interested in our Spire.PDFViewer.
The issue maybe caused by your project missed Spire.PdfViewer.Forms.dll file.
Please kindly ensure that the file has been added into your project.

Please feel free to contact us for further issues.

Best regards,
Amy
E-iceblue support team
User avatar

amy.zhao
 
Posts: 2774
Joined: Wed Jun 27, 2012 8:50 am

Tue Nov 26, 2013 9:07 am

Hello,

Has your issue been resolved?
Thanks for your reply.

Best regards,
Amy
E-iceblue support team
User avatar

amy.zhao
 
Posts: 2774
Joined: Wed Jun 27, 2012 8:50 am

Thu Jun 09, 2016 9:25 am

Hello
When i set *<cc1:PdfViewer ID="PdfViewer1" runat="server"></cc1:PdfViewer>* in my aspx page, i receive the following error

--> cannot load Spire.Pdf.Asp, Version=3.7.6.6040, Culture=neutral, PublicKeyToken=663f351905198cb3

On the other hand, when i add *Spire.Pdf.Asp.dll*, whenever i try to build my website, it producess automatically pire.Pdf and i receive the followin error -->

'Spire.Pdf.PdfDocument' exists both on 'c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\26ad5452\98d42de\assembly\dl3\f49fed76\00bfe2de_e3bed001\Spire.Pdf.DLL' as well as 'c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\26ad5452\98d42de\assembly\dl3\a52ff368\003f7602_6ea7d101\Spire.Pdf.Asp.DLL'

Moreover <%@ Register Assembly="Spire.PdfViewer.Asp" Namespace="Spire.PdfViewer.Asp" TagPrefix="cc1" %> gives me the error

-- > Height can' t be negative, parameter name: value

what am i doing wrong
Thanks in advance

darmenakis
 
Posts: 17
Joined: Sat Jun 04, 2016 5:56 am

Thu Jun 09, 2016 9:36 am

Hello,

Thanks for your response. Please clear the dlls and then add the corresponding references according to your application platform.

Sincerely,
Gary
E-iceblue support team
User avatar

Gary.zhang
 
Posts: 1380
Joined: Thu Apr 04, 2013 1:30 am

Thu Jun 09, 2016 9:46 am

Gary.zhang wrote:Hello,

Thanks for your response. Please clear the dlls and then add the corresponding references according to your application platform.

Sincerely,
Gary
E-iceblue support team



I did clear them all, entered them again, but the problem still remains according to negative height
So then should i add less dll files, but which one's?? I need to use pdfDocument Class, pdfSecurity and pdfViewer.

Thanks for quick reply

darmenakis
 
Posts: 17
Joined: Sat Jun 04, 2016 5:56 am

Fri Jun 10, 2016 6:20 am

Hi,

Thanks for your reply.
Please clear the dlls and then reference all corresponding dlls into your project, e.g. you build a Web applictaion, you need to reference Spire.Pdf.Asp.dll, Spire.License.dll, and Spire.PdfViewer.Asp.dll from same floder( ASP.NET4.0, according to target framework).

Sincerely,
Betsy
E-iceblue support team
User avatar

Betsy
 
Posts: 802
Joined: Mon Jan 19, 2015 6:14 am

Sat Jun 11, 2016 8:41 pm

Betsy wrote:Hi,

Thanks for your reply.
Please clear the dlls and then reference all corresponding dlls into your project, e.g. you build a Web applictaion, you need to reference Spire.Pdf.Asp.dll, Spire.License.dll, and Spire.PdfViewer.Asp.dll from same floder( ASP.NET4.0, according to target framework).

Sincerely,
Betsy
E-iceblue support team


Sorry again for the inconvinience but i just created a webform with only a pdfViewer element inside, adding also the appropriate dll. However when i try to run it, i receive the following error: * Height can't be negative. Parameter name: value *

I stiill don't know what am i doing wrong.

darmenakis
 
Posts: 17
Joined: Sat Jun 04, 2016 5:56 am

Mon Jun 13, 2016 3:29 am

Hello,

Thanks for your response. You have to set the height for it.

Sincerely,
Gary
E-iceblue support team
User avatar

Gary.zhang
 
Posts: 1380
Joined: Thu Apr 04, 2013 1:30 am

Tue Jun 14, 2016 7:52 am

Hi,

How is your issue now ? Has it been resolved ?
Thanks for your feedback.

Sincerely,
Betsy
E-iceblue support team
User avatar

Betsy
 
Posts: 802
Joined: Mon Jan 19, 2015 6:14 am

Tue Jun 14, 2016 8:29 am

Betsy wrote:Hi,

How is your issue now ? Has it been resolved ?
Thanks for your feedback.

Sincerely,
Betsy
E-iceblue support team



Really appreciate your help.
It did worked.

darmenakis
 
Posts: 17
Joined: Sat Jun 04, 2016 5:56 am

Tue Jun 14, 2016 8:35 am

Hi,

Thanks for your feedback.
Welcome to write to us again for further issue.

Sincerely,
Betsy
E-iceblue support team
User avatar

Betsy
 
Posts: 802
Joined: Mon Jan 19, 2015 6:14 am

Wed Jun 15, 2016 6:28 am

There is still another problem reffering to pdfViewer.
I need to install in my project Spire.Doc, Spire.Pdf.Asp.dll and Spire.pdf.dll.

Then if i try to use class *PdfDocument pdf* i receive the error, PdfDocument exists in the above mentioned dll's.
If i delete Spire.pdf.dll from my references then i receive the error

Could not load file or assembly or one of its dependencies Spire.Pdf, Version=3.4.108.54040, Culture=neutral, PublicKeyToken=663f351905198cb3

Can you please help.
Thanks in advance again

darmenakis
 
Posts: 17
Joined: Sat Jun 04, 2016 5:56 am

Wed Jun 15, 2016 6:45 am

Hi,

Thank you for your feedback.
When using two or more Spire's products into same project, it should use the corresponding dlls from Spire.Office package. Please try Spire.Office.

Sincerely,
Caroline
E-iceblue support team
User avatar

caroline.zhang
 
Posts: 291
Joined: Mon Mar 07, 2016 9:22 am

Wed Jun 15, 2016 8:07 am

caroline.zhang wrote:Hi,

Thank you for your feedback.
When using two or more Spire's products into same project, it should use the corresponding dlls from Spire.Office package. Please try Spire.Office.

Sincerely,
Caroline
E-iceblue support team


Thanks for your reply
Using this one fixed error with Spire.pdf and Spire.Asp.Pdf but Spire.doc is not included in Asp.net Folder of Spire.Office.
If i added from another folder, the previous problem appears again. Propably this is something i have misunderstood.

darmenakis
 
Posts: 17
Joined: Sat Jun 04, 2016 5:56 am

Return to Spire.PDFViewer