The main issue is that the dll is not being found. I am getting the error: 

"Class FMSMQ.MSMQWriter not found in the specified assembly list.

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

The IIS virtual directory is serving up content from the same root level 
directory on the Network Storage. 

The page I'm calling, is trying to create the class object, and then call a 
single method. 

<cfscript>

    variables.assemblyPath = 
"\\NETWORK_STORAGE_DRV\PRD\DMV\Assemblies\Feeds\FMSMQ.dll";

    objVar = CreateObject(".NET", "FMSMQ.MSMQWriter", variables.assemblyPath);

    rc = FMSMQ.Write(variables.INPUTXML);
    //WriteOutput(rc);

</cfscript>

So, both IIS and Coldfusion are installed on the same server, but the actual 
web content resides elsewhere. Coldfusion is running under a local account 
that's synced to an account for the Network Storage, so it has access to the 
pages it needs. As far as I can see, there should be no problem accessing 
assembly, since it resides under the same share.



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347462
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to