Answered
DotNetExtension not installed
I am trying to set up a new CFMX8 server so that it may use
.Net integration. The Windows 2K3 server has the .Net framework v2
installed, CFMX8 with the .Net integration installed, but when I
try to access an example .cfm per:
http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=dotNet_07.html
<!--- This function pings the specified host. --->
<cffunction name="Ping" returntype="string" output="false">
<cfargument name="host" type="string" required="yes">
<!--- Local vars --->
<cfset var pingClass="">
<cfset var pingReply="">
<!--- Get Ping class --->
<cfobject type=".NET" name="pingClass"
class="System.Net.NetworkInformation.Ping">
<!--- Perform synchronous ping (using defaults) --->
<cfset pingReply=pingClass.Send(Arguments.host)>
<!--- Return result --->
<cfreturn pingReply.Get_Status().ToString()>
</cffunction>
<h3>Ping Test</h3>
<cfoutput>
127.0.0.1: #Ping("127.0.0.1")#<br>
www.adobe.com: #Ping("www.adobe.com")#<br>
</cfoutput>
I get the following error:
"DotNetExtension not installed.
If a dll is specified in the assembly list, DotNetExtension must also be installed."
Can someone shed a little light on this for me? Thank you in advance - Jacques
http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=dotNet_07.html
<!--- This function pings the specified host. --->
<cffunction name="Ping" returntype="string" output="false">
<cfargument name="host" type="string" required="yes">
<!--- Local vars --->
<cfset var pingClass="">
<cfset var pingReply="">
<!--- Get Ping class --->
<cfobject type=".NET" name="pingClass"
class="System.Net.NetworkInformation.Ping">
<!--- Perform synchronous ping (using defaults) --->
<cfset pingReply=pingClass.Send(Arguments.host)>
<!--- Return result --->
<cfreturn pingReply.Get_Status().ToString()>
</cffunction>
<h3>Ping Test</h3>
<cfoutput>
127.0.0.1: #Ping("127.0.0.1")#<br>
www.adobe.com: #Ping("www.adobe.com")#<br>
</cfoutput>
I get the following error:
"DotNetExtension not installed.
If a dll is specified in the assembly list, DotNetExtension must also be installed."
Can someone shed a little light on this for me? Thank you in advance - Jacques
