How to Send and recieve Fax from ASP.NET
-
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.
-
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.
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[^]
-
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[^]
-
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...