in Search
 
Home Blogs Forums Marketplace Files
 
 
 

using the Rightfax COM API in asp.net

Last post 07-24-2008, 10:49 PM by reddy. 4 replies.
Sort Posts: Previous Next
  •  04-10-2008, 8:24 AM 13849

    using the Rightfax COM API in asp.net

    I am using the Rightfax Com API in  C# (ASP.NET 2.0). I added a  reference to the rightfax COM API Type Library. RFCOMAPI.dll in my project.  This works fine on my development machine but I don't know how to get this running under IIS.  I get the error message "The type or namespace 'RFCOMAPILib' could not be found (are you missing a user directive or an assembly reference?)"
     
    Can anyone tell me where the dll should be placed on the server and how I can get this to work?
     
     
  •  04-10-2008, 1:00 PM 13850 in reply to 13849

    Re: using the Rightfax COM API in asp.net

    I am new to Rightfax and working with Rightfax COM API in vb.net. I added a right fax reference in   my project.

    1.Private Shared rfapi As RFCOMAPILib.FaxServer

    2. rfapi = New RFCOMAPILib.FaxServer

     I am getting following  error in second line

    Creating an instance of the COM component with CLSID {D7CA3941-DA83-4C87-949A-60DF378DD68E} from the IClassFactory failed due to the following error: 80070485

    What is this error. Is it because of Com Libraury licence error?

     

    thanks

    kthan

     

     

  •  07-16-2008, 3:01 AM 14068 in reply to 13850

    Re: using the Rightfax COM API in asp.net

    did u get any soultion?, I am also having same problem at window 2003 server, working fine with XP box.
  •  07-16-2008, 10:52 AM 14072 in reply to 13850

    Re: using the Rightfax COM API in asp.net

    kthan:

    Creating an instance of the COM component with CLSID {D7CA3941-DA83-4C87-949A-60DF378DD68E} from the IClassFactory failed due to the following error: 80070485

    The CLSID error is due to the API dll not being registered on the system. You should not run into the problem of needing to register the dll's on the actual RightFax server, as they are registered during the server installation process; but when developing on another system, these files need to be manually registered.

    You need to run regsvr32 to register the RFCOMAPI.dll. In addition the following files need to be in the same directory as RFCOMAPI.dll:

    RFI32RPC.ndr

    RFI32smb.ndr

    rfstat.dll

    rfwin32.dll

     

    Erin


    Erin Stone
    OpenText Developer Support Engineer
  •  07-24-2008, 10:49 PM 14107 in reply to 13849

    Re: using the Rightfax COM API in asp.net

    copy Rfi32smb.ndr,rfwin32.dllmrfcomapi.dll   ,Rfi32rpc.ndr

    above 4 files to the complus directory or where your dll sitting, it will solve the problem.

View as RSS news feed in XML
  Privacy    Site Terms   Contact Administrator