Skip to main content
James Moberg
Inspiring
July 24, 2013
Question

ColdFusion 10 & .NET - Verification & Integration

  • July 24, 2013
  • 2 replies
  • 2395 views

Is there any way to easily verify that .NET services are configured and working in ColdFusion 10?  The settings are not exposed in the "Settings Summary" page and there's no test default "hello world" script.  There is documentation on "installation", but no instructions on verifying that it's installed correctly:

http://help.adobe.com/en_US/ColdFusion/10.0/Installing/WSc3ff6d0ea77859461172e0811cdec18969-7ff1.html

I'm trying to integrate SautinSoft's HtmlToRDF .NET component (with sample code that was provided by other CF developers):

     <cfobject type=".NET" action="Create" class="SautinSoft.HtmlToRtf" name="ConvHTMLObj" assembly="c:\sautinsoft\SautinSoft.HtmlToRtf.dll">

and I keep getting the following error:

     Class SautinSoft.HtmlToRtf not found in the specified assembly list.

     The assembly that contains the class must be provided to the assembly attribute.

I've used .NET with past versions of ColdFusion, but having difficult finding troubleshooting articles for ColdFusion 10.

Again, I want to verify that .NET is properly configured in ColdFusion 10 before I invest any more time only to discover a new undiscovered bug.  Is there any place I can find 10-specific information?

Thanks.

This topic has been closed for replies.

2 replies

Participant
September 20, 2013

It's not something silly like you don't have the correct version of the .Net Framework installed on your cold fusion server is it?

Participating Frequently
September 20, 2013

I reinstalled Codfusion.Net and now it works. Thanks!

John

Participating Frequently
September 16, 2013

Hi Jamo,

I'm about to embark on this same effort, only using SautinSoft.RtfToHtml.dll

Did you get past your issue?

James Moberg
Inspiring
September 17, 2013

No.  No one from the Adobe ColdFusion Community responded and the .NET folks don't offer any support.

I just wish there was an easy way to confirm that integration with .NET is working properly.  There's no included "hello world" script to provide any insights.

I would have really preferred to get this working.  As a document format that's been around since 1987, it'd be beneficial if RTF write support (& read, is possible) was built into ColdFusion (even if its it's a proprietary format) especially since FlashPaper is deprecated.

I finally ended up taking another path.  Since DOCX is a glorified ZIP file, I opted to extract the XML file from a source DOCX file, manually perform replacements and then re-zip.  It works fine so far, but the original DOCX files need to re-saved with autocorrect & grammer checking disabled or parsing is impossible.  Here's an article that discusses the process.
http://www.jensbits.com/2009/06/21/using-coldfusion-to-generate-a-word-document/

(NOTE: My solution is more file-intensive as it genererates new physical RTF file.)

Participating Frequently
September 17, 2013

Actually there, I will send it to you...