When using .net objects with ColdFusion 11 with cfobjects, it sometimes throws the following error:
This following error occurs when .Net framework is not installed on the server or it is corrupted. We need to install an updated version of .Net framework matching the bitness of server i.e. if the server is 32 bit you would need to install .Net framework of 32 bit and if the server is 64 bit then you would need to install 64 bit version of .Net framework. If the .Net framework is installed, try repairing it using the following steps:-
N:\dotnetframework\dotnetfx.exe /t:c:\temp /c:"msiexec.exe /i c:\temp\netfx.msi REINSTALL=ALL ReinstallMODE=vomus"
Note Replace N:\ in this command syntax with
the original installation path.
Important If you do not have a C:\temp folder on your computer, create one before you run this command.
The Microsoft Windows Installer will verify and repair the .NET Framework installation.
After repairing it is very important that you restart the server once. Once the server is restarted and up and running you should be able to run .Net objects as it should.