2 Replies Latest reply on May 5, 2009 8:40 AM by Trevor.Benton

    CF 8 and .NET

    Trevor.Benton

      At this point I'm just trying out the CF8 .NET service and I can't get it to find even the base system classes.

       

      <cfscript>
        objEnv = CreateObject("dotnet","System.Environment");  
      </cfscript>

      The above code fails with the generic java.lang.ClassNotFound exception along with any other class I try to access. The CF .Net service IS running. Can someone point me in the right direction to trouble shoot this please.

       

      Thanks

        • 1. Re: CF 8 and .NET
          insuractive Level 3

          I have to admin I haven't done too much in terms of consuming .NET resources in CF, but we used to use a lot of COM objects.  I noticed the documentation had the CreateObject type as ".NET" instead of ".dotnet" - thought maybe that might be causing a problem.  You could also try type of "COM".

          • 2. Re: CF 8 and .NET
            Trevor.Benton Level 1

            I am running multiple CF8 instances and was missing the dotnet_coreproxy.config file in the Jrun4\servers\{CFinstance}\cfusion.ear\cfusion.war\WEB-INF\cfusion\lib directory

             

            all is well now.