in

Archived Data Techniques Forums

FMF creation issue

Last post 01-25-2010 12:22 PM by support. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 01-22-2010 2:42 PM

    FMF creation issue

     

    I get this when running my .net faxman program on a server (tried on both Windows2003 / 32-bit and Windows2008 / 64-bit)

    My program successfully renders a TIFF file, then even pauses for 2.5 seconds to make sure all handles are released...

    But when i make the call

    FaxMan1.ImportFiles(xfileTIFF, xfileFMF, 0)     *Note both file params are set to unique files in the same directory

    I get this sequence of errors:

     1st error

    second error

     

    I saw another post of a similar issue and here's what i've tried:

     

    Stop and uninstall FaxMan4 service.

    Install FaxMan4 service from command propmt.

    Set the FaxMan4 service Log On as Administrator

    Start the FaxMan4 service

    Directory for the .TIFF and .FMF files is "everyone -> full control"

    Start My program 

    Modem auto-detect succesfully (also i ensure FaxMan4 service is still running)

    I populate the pending queue from my SQL database, and the program continues execution to send all pending faxes

     

    The funny thing is, it runs FINE on my development pc (XP Pro), both debugging and in standalone mode.

    Any Ideas?

     

     

  • 01-22-2010 4:23 PM In reply to

    Re: FMF creation issue

    Hello,

    First, the ImportFiles code is strictly code that runs in your client process so it has nothing to do with ther faxman4.exe configuration. 

    How are you creating the TIFF files you are passing into the  ImportFiles method ?

    Hardcoded delays are always worrisome as they can change behavior on faster/slower machines.

    The Bad Import File error is coming from calling the SendFax method and the fax file doesnt exist. If the Import fails then calling SendFax wil likely fail as well since the fax files doesnt exist.

     Have you confirmed that the TIFF file actually exists and can be viewed ?

     

    Sean
    Data Techniques Online Support
  • 01-22-2010 5:01 PM In reply to

    Re: FMF creation issue

    hi, thanks for the reply -

     we utilize ActiveReports for report generation within our software, and also use one of its functions to render the .TIFF file.

    I can indeed open the .TIFF and view it in Windows Imaging.

    So check this out -

    I commented out my code so that the .TIFF never gets deleted.

    I've even added code to NOT create the TIFF if it exists - so i performed that in such a sequence to 

    allow my program to create the .TIFF, stop the program, comment out .TIFF creation, start the program,

    and the .TIFF definatetly exists and is viewable, but i still get the same error.

     

    FYI - both of the paths sent to ImporFiles are hardcoded absolute paths.

    eg:

     dim myTiffPath as string = "c:\temp\" & myTiffFile

    dim myFMFPath as string = "c:\temp\" & myFMFFile

    ...ImportFiles(myTiffPath, myFMFPath, 0)

     

     

  • 01-25-2010 12:22 PM In reply to

    Re: FMF creation issue

    Hi,

    Can you please email us one of the files to support@data-tech.com.

     

    Sean
    Data Techniques Online Support
Page 1 of 1 (4 items)
Copyright 2009 Data Techniques, Inc. All Rights Reserved.