Project

Profile

Help

Support #4282

closed

Failed to process license at C:\\...\\...\\...\\...\\App_Data\\licenses\\saxon-license.lic

Added by Kevon Hayes over 5 years ago. Updated about 5 years ago.

Status:
Closed
Priority:
High
Assignee:
Category:
.NET API
Sprint/Milestone:
Start date:
2019-08-14
Due date:
% Done:

0%

Estimated time:
Legacy ID:
Applies to branch:
9.9
Fix Committed on Branch:
Fixed in Maintenance Release:
Platforms:

Description

Upon initializing a Processor with my config I get the following exception:

{"Failed to process license at C:\...\...\...\...\App_Data\licenses\saxon-license.lic"}

var saxonConfigPath = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "App_Data\\licenses\\COMPLY365-SAXON.config");
var saxonConfigFile = new FileStream(saxonConfigPath, FileMode.Open, FileAccess.Write, FileShare.ReadWrite);

// Initialize Saxon Processor with config
_processor = new Processor(saxonConfigFile, new Uri(saxonConfigPath));

// My Config file look like this:

<configuration xmlns="http://saxon.sf.net/ns/configuration"
               edition="PE"
               licenseFileLocation="C:\...\...\...\...\App_Data\licenses\saxon-license.lic"
               label="Comply365.Saxon.Configuration.v0.0.1">
</configuration>

Please register to edit this issue

Also available in: Atom PDF