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

Question

Question

Fail acesss enitity by path in our test system

asked on May 24, 2016

We recent installed 2nd Laserfiche environment as test environment.  We are using LFSO 9.0  we are using vb.net.

I have recompile a production program with connection string for the test system inputting the server name and repository name of the test system.

 

  App = New LFApplication

            Serv = App.GetServerByName("TRANSTESTLF.ticominc.local")
            DB = Serv.GetDatabaseByName("TransTest")
            Conn = New LFConnection
            Conn.UserName = System.Environment.UserName
            Conn.Password = "Phish1ng#"
 

We tested the user name and password by using the Laserfiche client.    We can attach the repository with the client.

 

 

When I attempt to get the entry by the connection,   I get exception 

"The Object is not identified, and cannot be locked or read from"

Inspection of the lfconnection objection also shows

DirectCast(Conn, LFSO90Lib.LFConnectionClass).CertificateInfo:  'DirectCast(Conn, LFSO90Lib.LFConnectionClass).CertificateInfo' threw an exception of type 'System.Runtime.InteropServices.COMException'

 

Is there something still misconfigured?      Is there way to test to see connection is valid?    I have looked at LFConnection.isterminated()  The property did not give a good test.

 

Any suggestions.

 

Thanks

Tim

0 0

Replies

replied on May 24, 2016

You are trying to use domain authentication, but the username/password properties on the LFConnection class are for a Laserfiche user account. To log in with domain authentication as the currently signed in windows user, leave the username/password blank. To log in with domain authentication as a user other than the currently signed in windows user, you need to use impersonation. This is what the desktop client does when you enter a domain account as the username/password.

0 0
replied on May 24, 2016

I have tried not setting the username and password as for domain user.   I have also use LFUser that has admin rights.   I still get the same error.

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

Sign in to reply to this post.