.net integration with windows server 2008 -cf8/cf9
I can't seem to get .net integration working with cf8 or cf9 on a windows server 2008 standard box. It installs without any errors in the logs but things tend to go down hill from there.
When I have cf8 installed it can find a dll and get dump the properties but when I try to instantiate the object I get an error. So this works:
<cfobject type=".NET"
name="sidiClass"
class="System.IO.DriveInfo">
<cfdump var="#sidiClass#" />
but this gives an error:
<cfset drives = sidiClass.GetDrives() />
specifically:
Object Instantiation Exception.An exception occurred while instantiating a Java object. The class must not be an interface or an abstract class. If the class has a constructor that accepts an argument, you must call the constructor explicitly using the init(args) method.
When I execute the same code on cf9 it doesn't get anywhere and just gives me the error:
DotNet Side does not seem to be running.
Ensure that the DotNet agent is running and you have provided the correct host and port information
I've been able to get things working on an old XP desktop. I've read the installation documentation but it just says things should just work for a basic install on a windows machine. I've tried to enable all though .net options in the application server roles as well, but I could have missed something.
Has anyone run into this before, is there something really obvious I'm just missing?
Thanks
