I'm trying to make use of Windows Search by using java Jacob library. but I'm having troubles to specify the maxRecords option to limit the number of rows get back.
What am I doing wrong?
There's no error on compilation but on executing I get this message:
com.jacob.com.ComFailException: A COM exception has been encountered:
At Invoke of: MaxRecords
Description: 80020007 / No named arguments.
...
Internal Server Error (500) - The server encountered an unexpected condition which prevented it from fulfilling the request
And this one when accessing through my restful by URL:
Internal Server Error
The server encountered an unexpected condition which prevented it from fulfilling the request
You can get technical details here.
Please continue your visit at our home page.
Everything works fine without that line.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm trying to make use of Windows Search by using java Jacob library. but I'm having troubles to specify the
maxRecords
option to limit the number of rows get back.I'm trying to do it by using this line:
After setting up the connection:
What am I doing wrong?
There's no error on compilation but on executing I get this message:
And this one when accessing through my restful by URL:
Everything works fine without that line.