Hi. Bingo! I saw the log file you sent me.
You've used the wrong executable. You've used the executable that I sent you on 12th July. This was when we introduced logging because we were getting the returnedStatusCode = -1073741819. So, if you use the same executable again, it will throw the same error!
You must use the newest executable and the config file that I sent to you on 14th July through email. I've also attached those here again.
I think you have parallel versions of the executable and the script. In the log, I also saw the argument: -UseUnfiled going. We removed this already. We also removed -ExportNotebook True. Just for clarity, I've attached the script too.
CheckPrintedPages_Updated.txt (Size: 4.41 KB / Downloads: 101)
What I suggest is that
1. Create a completely new folder for just the conversion utility.
2. Then, download the zip that I've attached with this reply in some location. It contains that 14/07 executable and the config file.
OneNote2PDF-ImprovedAlgo.zip (Size: 22.75 KB / Downloads: 120)
3. Place just the exe, the iTextSharp.dll and the config file in the new folder that you created.
4. Update the value of the variable: pathToConversionUtil in the script so it reflects the full path of the conversion utility that you placed in the new folder (created in step 1).
5. Run the script.
6. Collect the log file from the new folder.
Thanks,
Light.
You've used the wrong executable. You've used the executable that I sent you on 12th July. This was when we introduced logging because we were getting the returnedStatusCode = -1073741819. So, if you use the same executable again, it will throw the same error!
You must use the newest executable and the config file that I sent to you on 14th July through email. I've also attached those here again.
I think you have parallel versions of the executable and the script. In the log, I also saw the argument: -UseUnfiled going. We removed this already. We also removed -ExportNotebook True. Just for clarity, I've attached the script too.
CheckPrintedPages_Updated.txt (Size: 4.41 KB / Downloads: 101)
What I suggest is that
1. Create a completely new folder for just the conversion utility.
2. Then, download the zip that I've attached with this reply in some location. It contains that 14/07 executable and the config file.
OneNote2PDF-ImprovedAlgo.zip (Size: 22.75 KB / Downloads: 120)
3. Place just the exe, the iTextSharp.dll and the config file in the new folder that you created.
4. Update the value of the variable: pathToConversionUtil in the script so it reflects the full path of the conversion utility that you placed in the new folder (created in step 1).
5. Run the script.
6. Collect the log file from the new folder.
Thanks,
Light.