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

Question

Question

error reading laserfiche client version

asked on March 13, 2018 Show version history

im using client automation tool to integrate laserfiche with another vb.net business application, unfortunately when it reaches to a method LaunchClient, it throws an error "error reading laserfiche client version", the client and server version are all the same and compatible, i wonder whats the problem

 

THE CODES:

   Public Shared Sub viewLFdocs()
    
        Try
            Using lfclient As New ClientManager
                Dim options As New LaunchOptions
                options.ServerName = "server"
                options.RepositoryName = "repname"
                options.UserName = "username"
                options.Password = "pass"
               
                Dim singleLFexe As ClientInstance
                singleLFexe = lfclient.LaunchClient(options)
                Dim openwindows As IEnumerable(Of ClientWindow) = singleLFexe.GetAllClientWindows
                For Each folderBrowser As MainWindow In openwindows
                    Dim openDoc As New OpenOptions
                    openDoc.OpenStyle = DocumentOpenType.DocumentViewer
                    openDoc.Position = New WindowPosition(100, 100, 1000, 1000, False)
                    folderBrowser.OpenDocumentById(mydoc, openDoc)
                Next
            End Using

        Catch ex As Exception
            MsgBox(ex.Message)
        End Try

    End Sub

0 0

Replies

replied on March 14, 2018

Post the related code showing how you are calling into CAT and producing the error.  Then maybe someone can provide an answer.  Without knowing what and how you are coding, there is no way to assist.

1 0
replied on March 15, 2018

Thanks for your response

Public Shared Sub viewLFdocs()
    
        Try
            Using lfclient As New ClientManager
                Dim options As New LaunchOptions
                options.ServerName = "server"
                options.RepositoryName = "repname"
                options.UserName = "username"
                options.Password = "pass"
               
                Dim singleLFexe As ClientInstance
                singleLFexe = lfclient.LaunchClient(options)
                Dim openwindows As IEnumerable(Of ClientWindow) = singleLFexe.GetAllClientWindows
                For Each folderBrowser As MainWindow In openwindows
                    Dim openDoc As New OpenOptions
                    openDoc.OpenStyle = DocumentOpenType.DocumentViewer
                    openDoc.Position = New WindowPosition(100, 100, 1000, 1000, False)
                    folderBrowser.OpenDocumentById(mydoc, openDoc)
                Next
            End Using

        Catch ex As Exception
            MsgBox(ex.Message)
        End Try

End Sub

 

 

replied on March 15, 2018

Thanks for your response

Public Shared Sub viewLFdocs()
    
        Try
            Using lfclient As New ClientManager
                Dim options As New LaunchOptions
                options.ServerName = "server"
                options.RepositoryName = "repname"
                options.UserName = "username"
                options.Password = "pass"
               
                Dim singleLFexe As ClientInstance
                singleLFexe = lfclient.LaunchClient(options)
                Dim openwindows As IEnumerable(Of ClientWindow) = singleLFexe.GetAllClientWindows
                For Each folderBrowser As MainWindow In openwindows
                    Dim openDoc As New OpenOptions
                    openDoc.OpenStyle = DocumentOpenType.DocumentViewer
                    openDoc.Position = New WindowPosition(100, 100, 1000, 1000, False)
                    folderBrowser.OpenDocumentById(mydoc, openDoc)
                Next
            End Using

        Catch ex As Exception
            MsgBox(ex.Message)
        End Try

End Sub

 

 

0 0
replied on March 15, 2018 Show version history

Your code does not throw any errors for me.  In my program, I am using ClientAutomation 10.0 and my local installed LF client is 10.2.1

0 0
replied on March 15, 2018 Show version history

i have tried with another windows user account to log in into my computer and tried to do it, it works,no error, now im wondering whats wrong with my windows user account!
only some user accounts works, some throws the error!
is there may be some troubles in the user HKLM registry or whats the problem...

thanks

0 0
replied on March 15, 2018

Since it does not happen with all your users, I would say you need to contact your VAR to open a support case.

0 0
replied on March 15, 2018

ok thanks....
or can u help me with this....
where in the system or file or any dll or in the registry does laserfiche acquire or reads the client version before it is being launched? may be i can figure it out from there before contacting the VAR
 

0 0
replied on August 21, 2018

Hi,

Apart from recreating the windows profile, was there ever a resolution to this?

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

Sign in to reply to this post.