Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. How to Send and recieve Fax from ASP.NET

How to Send and recieve Fax from ASP.NET

Scheduled Pinned Locked Moved ASP.NET
csharpasp-nethelptutorial
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    sureshvb
    wrote on last edited by
    #1

    Hi All, My application is using "Faxcom.dll" which is included in Win 2000 to send the Fax. My system is connected with Modem and Fax service is running on my system. But when Iam trying to connect to FaxServer at runtime, the application is giving the error. System.Runtime.InteropServices.COMException: Unspecified error Thanks in Advance. Suresh.

    W 1 Reply Last reply
    0
    • S sureshvb

      Hi All, My application is using "Faxcom.dll" which is included in Win 2000 to send the Fax. My system is connected with Modem and Fax service is running on my system. But when Iam trying to connect to FaxServer at runtime, the application is giving the error. System.Runtime.InteropServices.COMException: Unspecified error Thanks in Advance. Suresh.

      W Offline
      W Offline
      whit98c
      wrote on last edited by
      #2

      This has to do with thread compatibility. ASP.NET is multithreaded by default, whereas most COM objects run as a single thread. You can add a page directive to allow you to run the object, by making it "asp compatible". See also: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconcomcomponentcompatibility.asp[^]

      S 1 Reply Last reply
      0
      • W whit98c

        This has to do with thread compatibility. ASP.NET is multithreaded by default, whereas most COM objects run as a single thread. You can add a page directive to allow you to run the object, by making it "asp compatible". See also: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconcomcomponentcompatibility.asp[^]

        S Offline
        S Offline
        sureshvb
        wrote on last edited by
        #3

        Thanks whit98c, but it didn't worked. Still I'm getting the same error.

        D 1 Reply Last reply
        0
        • S sureshvb

          Thanks whit98c, but it didn't worked. Still I'm getting the same error.

          D Offline
          D Offline
          deanofharvard
          wrote on last edited by
          #4

          Personally, I think this is better suited to a windows app. You could probably have people upload a gif or jpeg that you can put in a folder, the number in a DB, and have your app run on a schedule to send off the faxes... Or have an app that takes the faxes, and saves images in a folder (in Win2k you can have the installed fax server save images to a folder...) and have people look the images up... Sorry I couldn't help...

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups