We have 50 odd script libraries and we merge them all into one script library using DXL importer for one of our databases.
While using DXL “importer.process” we get “DXL Importer failed” error. The log says “Syntax error”. However, saving the script lib individually does not throw any error.
What can be the reason? Searched on various topics but was not able to find any solution. In some topics problems with “%REM” has been mentioned. Can this %REM cause the failure.
Thanks for the response. I will try creating the file and using it with firefox.
Meanwhile I have already used dxlimporter.log It shows the only the text “Syntax Error” within the various tags. No other information is shown. Does it show more info? Am I missing something.
Below is the code
Dim importer As NotesDXLImporter
Set importer = session.CreateDXLImporter(stream, db)
importer.ReplaceDBProperties = True
importer.ReplicaRequiredForReplaceOrUpdate = False
importer.ACLImportOption = DXLIMPORTOPTION_REPLACE_ELSE_IGNORE
importer.DesignImportOption = DXLIMPORTOPTION_REPLACE_ELSE_CREATE
Importer.UnknownTokenLogOption =DXLLOGOPTION_ERROR
Call importer.Process
The new script lib created was having “Option declare”. However in one of the script libraries the option was not present and some variables were directly used. Hence the problem.