Hello,
I am wondering if anyone has experience with connecting to Laserfiche server securely (over TCP 443) using LFConnection.Create() method. We thought that setting the Secure property to True would do the trick, but it didn't. The application reported time-out (at Create) as soon as port 80 was closed on the fw.
public static conn CreateConnectionObject(LFDatabase lfdb) { LFConnection conn = null; conn = new LFConnection(); conn.UserName = "LFUser"; conn.Password = "LFPass"; conn.Shared = true; //Enables secure connection conn.Secure = true; try { conn.Create(lfdb); Console.WriteLine("Created connection to Laserfiche server (GUID={0})", conn.GUID); } catch (Exception ex) { Console.WriteLine("Exception calling conn.Create(LFDB) : {0}", ex); throw; } return conn; }
Rewriting using RepositoryRegistration and Session is a better way. But we want to find out if we can make secured connection with LFConnection or not?
Any suggestion or tip is appreciated. Thank you.