Spire.Doc is a professional Word .NET library specifically designed for developers to create, read, write, convert and print Word document files. Get free and professional technical support for Spire.Doc for .NET, Java, Android, C++, Python.

Fri Jan 22, 2016 3:08 pm

Hi, I just purchased a license from you for Spire.Doc and applying it to my web application project, it is not removing the "watermark" paragraph Spire inserts while using it in trial mode. I've followed the directions to apply as an Embedded Resource as well as just copying the license.elic.xml file into the bin directory and neither option works. I've also run

Spire.License.LicenseProvider.SetLicenseFileName("license.elic.xml");

in my Global.asax to no avail. What am I missing?

brendan.sullivan@cdlweb.net
 
Posts: 2
Joined: Mon Jan 11, 2016 2:38 pm

Fri Jan 22, 2016 3:17 pm

Downloaded the Hotfix and it seemed to start working....

brendan.sullivan@cdlweb.net
 
Posts: 2
Joined: Mon Jan 11, 2016 2:38 pm

Mon Jan 25, 2016 2:30 am

Hi,

For web application project, I recommend you to use SetLicenseKey() method to apply your license.
First add Global.asax into your project and then add this code below into the Application_Start method.
Code: Select all
Spire.License.LicenseProvider.SetLicenseKey("your license key");


Best Regards,
Amy
E-iceblue support team
User avatar

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

Sat Jan 30, 2016 5:15 pm

OK, I've switched from a "web site" to a full project, porting my code over. As you suggested, I've placed that license key line into the global.asax so it runs on start of the application. At least in Visual Studio 2015 when I run my project I'm still getting the Evaluation watermark. Should that be happening? I haven't uploaded the code to the server yet.

Art

akrumsee
 
Posts: 3
Joined: Thu Jan 28, 2016 4:06 pm

Sat Jan 30, 2016 8:07 pm

Hi

Same happend to me.

License: Spire.Doc Standard Edition Developer Subscription

- Visual Studio 2010
- .Net 2.0
- Web Project
- Spire.Doc V. 5.6.3 (Hotfix)
- Added license key via Global.asax ApplicationStart and just before i create the first document object in the code

What am I doing wrong? Is there any solution?

chili
 
Posts: 4
Joined: Wed Oct 21, 2015 6:39 am

Mon Feb 01, 2016 2:26 am

Hi akrumsee,

Thanks for your posting.
I checked your code in your another posted(compilation-error-t5825.html). You are using our Spire.PDF component, but your purchased license is for Spire.PDFConverter. Spire.PDFConverter just is a simple tool for converting to PDF and it cannot be used in program. So please contact our sales team(sales@e-iceblue.com) to change your license to a license for Spire.PDF component.

Best Regards,
Amy
E-iceblue support team
User avatar

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

Mon Feb 01, 2016 2:33 am

Hi chili,

Thanks for your posting.
Spire.Doc V. 5.6.3 (Hotfix) is Pack Edition. Please use Spire.Doc for .NET Standard(hotfix) Version:5.5.30.

Best Regards,
Amy
E-iceblue support team
User avatar

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

Thu Feb 04, 2016 8:47 am

Hi,

Has your issue been resolved?
Thanks for your feedback.

Best Regards,
Amy
E-iceblue support team
User avatar

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

Thu Feb 04, 2016 10:52 am

Hi amy

Thank you. I used Spire.Doc for .NET Standard(hotfix) Version:5.5.30.

The Problem now is some functions (AppendHTML and InsertTextFromFile) are not recognized anymore?

See:
Fehler 11 "AppendHTML" ist kein Member von "Spire.Doc.Documents.Paragraph". D:\Visual Studio 2010\Projects\AdjumedAnalyze2012\AdjumedAnalyze2012\Web\Controls\Auswertung_CustomControl_Word.ascx.vb 355 21 AdjumedAnalyze2012
Fehler 25 "InsertTextFromFile" ist kein Member von "Spire.Doc.Document". D:\Visual Studio 2010\Projects\AdjumedAnalyze2012\AdjumedAnalyzeClassLibrary\cAbrechnung.vb 1450 13 AdjumedAnalyzeClassLibrary
Fehler 26 "InsertTextFromFile" ist kein Member von "Spire.Doc.Document". D:\Visual Studio 2010\Projects\AdjumedAnalyze2012\AdjumedAnalyzeClassLibrary\cAbrechnung.vb 1456 13 AdjumedAnalyzeClassLibrary
Fehler 27 "InsertTextFromFile" ist kein Member von "Spire.Doc.Document". D:\Visual Studio 2010\Projects\AdjumedAnalyze2012\AdjumedAnalyzeClassLibrary\cAbrechnung.vb 1462 13 AdjumedAnalyzeClassLibrary

How can I solve it?

Regards

chili
 
Posts: 4
Joined: Wed Oct 21, 2015 6:39 am

Fri Feb 05, 2016 2:19 am

Hi,

Thanks for your posting.
Please kindly note that Standard Edition doesn't support AppendHTML and InsertTextFromFile functions. If you want these two functions, please use Pack Edition, and you also need to contact our sales team(sales@e-iceblue.com) to upgrade your license to Pack Edition.

Welcome to feel free to write to us if you have any problems.

Best Regards,
Amy
E-iceblue support team
User avatar

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

Return to Spire.Doc

cron