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

Question

Question

Repository Access Error - System.ComponentModel.Win32Exception: Unknown error (0x2ef1)

SDK
asked on May 27, 2014 Show version history

I get multiple errors like this emailed from my program every day. It mostly occurs right after a search when the results are being displayed to the user. It seems to be in the HttpRequest.InternalSendRequest subroutine. Here is the full error:

 

Laserfiche.HttpClient.HttpException: General Http error. ---> System.ComponentModel.Win32Exception: Unknown error (0x2ef1)

 

   at Laserfiche.HttpClient.HttpException.TestWin32Error(Int32 win32error)

   at Laserfiche.HttpClient.HttpRequest.InternalSendRequest(Boolean useKerberos, Boolean negotiateAuth)

   at Laserfiche.HttpClient.HttpRequest.SendRequest()

   at Laserfiche.RepositoryAccess.Session.SendRequest(HttpRequest request)

   at Laserfiche.RepositoryAccess.EntryListingBase.GetRowsetData(HttpUrl url, Int32 begin, Int32 count, EntryDepth entryDepth)

   at Laserfiche.RepositoryAccess.SearchResultListing.GetMoreRowData(Int32 rowIndex, Int32 windowSize)

   at Laserfiche.RepositoryAccess.EntryListingBase.PreloadData(Int32 firstRowIndex, Int32 rowCount)

   at Laserfiche.RepositoryAccess.ScrollingCache.GetRowData(Int32 rowIndex)

   at Laserfiche.RepositoryAccess.EntryListingBase.GetDatum(Int32 rowNumber, SystemColumn columnType)

0 0

Answer

SELECTED ANSWER
replied on May 27, 2014

Could there be a proxy interfering with the communication?

 

The WinHTTP error is this:

 

ERROR_WINHTTP_OPERATION_CANCELLED
12017

The operation was canceled, usually because the handle on which the request was operating was closed before the operation completed.

 

 

0 0
replied on May 27, 2014

This was the info I needed to figure out what was going on.

 

If the user initiated a search, but closed the form before the results were displayed it threw the exception. I added a check in the error routine to see if the parent form had been disposed before sending me an email.

 

Thanks so much!

0 0

Replies

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

Sign in to reply to this post.