You are viewing limited content. For full access, please sign in.

Question

Question

Trouble inserting files into Laserfiche with WebAccess

asked on February 14, 2017 Show version history

We recently had WebAccess setup on a different server and the SDK and new dlls were loaded so that we could continue committing files to Laserfiche over the web but a script we had written no longer works with the fresh install and version 10.  With the following code, is there something that could have changed in the DLLs whereby this code would no longer work?  NO ERRORS are generated....but the documents don't appear in Laserfiche.  Any advice would be greatly appreciated!  Thanks.

DocumentInfo docInfo = CreateNewDocumentInfo(
Title, 
docsFolder, 
FileName);

var importer = new DocumentImporter { Document = docInfo };
using (var fileStream = new MemoryStream((byte[])adreviewFile.FileValue))
                importer.ImportEdoc(contentType, fileStream);

 

0 0

Replies

replied on February 14, 2017

Is this code wrapped in a try/catch that would report any exception that is thrown?

1 0
replied on February 28, 2017

Robert,

Yes the code is enclosed in a try-catch, but no exceptions are being reported.

0 0
replied on February 15, 2017

If you didn't use the redistributable sdk package then there's always the chance that some of your dependencies are missing.  Is there nothing in the event viewer?

0 0
replied on February 28, 2017

Hi Brian,

The programmer in question got the SDK package from our VAR, but I'm waiting on him to check for anything in the event viewer.

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.