Project

Profile

Help

Support #4282

Updated by Michael Kay over 5 years ago

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

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

 ~~~ cpp 
 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: 

 
 ~~~ xml 
 <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> 
 ~~~ 

Back