Atalasoft
Welcome to Atalasoft Community Sign in | Join | Help
in

Vista issues

Last post 19 Aug 2008, 4:11 PM by Lars-Erik Roald. 5 replies.
Sort Posts: Previous Next
  •  18 Aug 2008, 7:01 AM 15276

    Vista issues

    After upgrading to dottwain 6.0 I have BIG trouble with scanners.

    So far, I have only trouble on Vista machines.

    I get the following error when scanning with CANON DR3080C II or  when scanning with the virtual scanner, XPCTWAIN TIFF/JPEG SCANNER:

    -general failure in response to DAT_PENDINGXFER. DG DAT MSG is out of expected sequence.

     

    I have spent weeks on this error. Everything worked fine before upgrading from dotwain 2 to 6.

    My customers are frustrated.

    Please help.

  •  18 Aug 2008, 12:45 PM 15280 in reply to 15276

    Re: Vista issues

    I have now found out that the error happens when running AtalaImage.FromBitmap(e.Image) in the imageacquired event.

    I receive an "TypeInitializationException: the type initializer for Atalasoft.Imaging.AtalaImage threw an exception. ---> System.IO.FileLoadException: Could not load file or assembly Atalasoft.dotImage.Lib Version 6.0.3140.24140..."....."System.Runtime.InterOpServices.COMException".....

    then an error message follows in norwegian. It complains something about side-by-side configuration error. (Sorry It's not possible to get this error message in english on Vista. )

  •  18 Aug 2008, 9:16 PM 15288 in reply to 15280

    Re: Argument Prompt cannot be converted to type String

    Are you directly referencing the Atalasoft.dotImage.Lib.dll and Atalasoft.Shared.dll in your project?

    Verify that the assembly versions are all 6.0.3140.xxxxx (except for Atalasoft.Shared and DotTwain).


    Glenn Chittenden Jr.
    Atalasoft Development Team
  •  19 Aug 2008, 2:21 AM 15292 in reply to 15288

    Re: Vista issues

    Yes, I am directly referencing Atalasoft.dotImage.Lib.dll and Atalasoft.Shared.dll.

    Assembly versions are 6.0.3140 for all except Atalasoft.Shared which is Assembly version 3.0.0.2 and Product version 3.0.3134.18260, and Dottwain is assembly version 6.0.3139.19141.

    Why differ assembly version and product version for Atalsoft.Shared ?

     I checked the event log and got the following:

    "Generering av aktiveringskontekst mislyktes for T:\uq\dotnet\2_0\bin\acqdemo\Atalasoft.dotImage.Lib.dll. Finner ikke den avhengige samlingen Microsoft.VC80.CRT,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="8.0.50727.762". Bruk sxstrace.exe for detaljert diagnostisering."

    .. In english it complains about failed activation context for ...dotImage.Lib.dll. Cannot find the independend collection Microsoft.VC80.CRT.processorArchitecture....

     I only have this issue on Vista and on certian versions of win2003

    Is dotImage.Lib.dll referencing some shared DLL that dont exist on vista ? Take a look at this link: http://tydbits.org/This-application-has-failed-to-start-because-the-application-configuration-is-incorrect

  •  19 Aug 2008, 10:34 AM 15296 in reply to 15292

    Re: Argument Prompt cannot be converted to type String

    Have you tried installing the C++ runtimes?  Here is a download to try:  http://www.microsoft.com/downloads/details.aspx?familyid=32BC1BEE-A3F9-4C13-9C99-220B62A191EE&displaylang=en
    Glenn Chittenden Jr.
    Atalasoft Development Team
  •  19 Aug 2008, 4:11 PM 15299 in reply to 15296

    Re: Vista issues

    That didn't work. But I installed this Visual c++ SP1 redist instead. That worked like charm!

    http://www.microsoft.com/downloads/thankyou.aspx?familyId=200b2fd9-ae1a-4a14-984d-389c36f85647&displayLang=en

View as RSS news feed in XML