Welcome to LEAD Support Forum Login | Register | Faq  

    LEAD Support Forum
  Resource to find answers and post technical questions about LEAD products.
Search    
   

Re: Error: Set parameter is not acceptable.
Started by Graddo at 04-10-2008 6:03. Topic has 3 replies.

Print Search « Previous Thread Next Thread »
  04-10-2008, 6:03
Graddo is not online. Last active: 4/15/2008 9:23:41 AM Graddo

Not Ranked
Joined on 04-10-2008
Posts 2
Error: Set parameter is not acceptable.
Reply Quote
Hello.
I using Leadtools v15 Document Suite (Ocr & Pdf).
I have a problem with the ocr engine. Concretely, with the ".startup".
Always display the message "Set parameter is not acceptable". Previously, i had installed "Omnipage capture sdk v.12" from Scansoft, no longer.
What can I do?
Thanks.
   Report 
  04-14-2008, 10:51
GregR is not online. Last active: 9/30/2008 12:26:32 PM GregR



Top 10 Posts
Joined on 05-31-2006
In House
Posts 1,607
Re: Error: Set parameter is not acceptable.
Reply Quote
I've never heard of this error before.

Which LEADTOOLS interface (.NET, API, etc.) are you using?

What is the file version of ltkrn15u.dll and Leadtools.dll that are on your machine?

Does this same error occur with the precompiled OCR demos that ship with the toolkit or only when you make your own project?

Does this work on other machines or only this particular machine that used to have Omnipage capture sdk v12 on it?

Greg Ross
LEADTOOLS Technical Support
   Report 
  04-15-2008, 4:36
Graddo is not online. Last active: 4/15/2008 9:23:41 AM Graddo

Not Ranked
Joined on 04-10-2008
Posts 2
Re: Error: Set parameter is not acceptable.

Attachment: error.JPG
Reply Quote
Hi Greg
It happens with the sample code demos, and our own code too.
In both, VBComOcrDemo.vbp(VB6) and VBOcrDemo.vbproj (DotNet).
It also happens in the IDE, or compiled code.

The file version of ltkrn15u.dll is 15.0.1.0

It happens only  in this  machine (no longer Omnipage), in other one no (never Ominpage) .

Thanks.


   Report 
  04-16-2008, 12:28
GregR is not online. Last active: 9/30/2008 12:26:32 PM GregR



Top 10 Posts
Joined on 05-31-2006
In House
Posts 1,607
Re: Error: Set parameter is not acceptable.
Reply Quote
Unfortunately, I cannot reproduce this problem.  I tried setting up a new machine with Scansoft Omnipage 12.7 and then installing LEADTOOLS v15.  Then remove Omnipage 12.7 and LEADTOOLS still worked just fine.

I'm afraid this is just a problem with your specific computer, Omnipage likely didn't uninstall completely.  Since our SDK uses the Scansoft 12.7 SDK for our OCR engine, if you have a few files and/or registry keys hanging around from the Scansoft SDK that could cause problems like this.

You might be able to resolve the issue by reinstalling the Scansoft SDK, rebooting, then unintsalling the Scansoft SDK again in Windows safe mode to make sure that no other processes that might try to use the SDK are loaded.

Setting the RasterDocumentEngine.EnginePath property might also fix this problem.  However, if there's some bad files leftover in the system32 directory, then Windows will likely still try loading those files first, throwing off the application.

Greg Ross
LEADTOOLS Technical Support
   Report 
Post
LEAD Support Fo... » Developer » OCR » Re: Error: Set parameter is not acceptable.

Powered by Community Server, by Telligent Systems