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

Question

Question

SDK - LFImageEnable.Search and 9035 error

SDK
asked on October 10, 2014

I have a customer that has an SDK app that they have run for years in LF8.1(United). They are now testing this app still utilizing SDK 8.1 but the server and client are Avante 9.1.  The app runs fine but after 10-12 searches they now receive the error “The current request could not be performed because there are too many existing operations running. [9035]”. For some reason with server and client 9.1 the connection is not being terminated when the user closes the client.

How this SDK app works is that it runs a search and opens the document for the end user. The end user then reviews the document for 2-5 minutes. Then the user closes the document (client and search results). Then they run the app again to pull up the next document.

Below is a screenshot of the section of the code causing the issue.

Any suggestions?

0 0

Replies

replied on October 10, 2014

Below is a more complete section of the code:

Try

            'set the default values

            sServerName = "LF-Server-VM"

            sDatabase = "LF9"

            sBook = "TR"

            sYear = "15"

            sArtid = "07478"

 

            'set my counter

            If lbcount.Text = 0 Then

                lbcount.Text = 1

            Else

                lbcount.Text = lbcount.Text + 1

            End If

 

 

            LFImageEnable.LoadLaserFiche(False)

            LFImageEnable.Login(sDatabase, sServerName, "", "", 2)

 

            'create the search

            sSearch = "{[Artwork]:[Book (2)]=" + sBook + " , [Year (2)]=" + sYear + " , [Art ID]=" + sArtid + "}"

 

            'create the search string

            LFImageEnable.Search(sSearch)

 

 

        Catch ex As Exception

        Finally

            LFImageEnable = Nothing

        End Try

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

Sign in to reply to this post.