Suggested workaround if .Net objects are corrupt or are not working post install

January 16, 2015
hacked
Staff 4 posts
Followers: 0 people
0

Suggested workaround if .Net objects are corrupt or are not working post install

hacked
Staff 4 posts
Followers: 0 people
January 16, 2015

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:-

  1. Obtain the original installation source. For example,
    if you installed the .NET Framework from a CD-ROM or from a DVD, insert
    that disc. If you downloaded the .NET Framework , download the .NET
    Framework again. Make sure that you click save to disk. If you
    installed the .NET Framework from a network share, reconnect to that
    share.
  2. Click Start, click Run, type
    the following command, and then click OK:

N:dotnetframeworkdotnetfx.exe /t:c:temp /c:”msiexec.exe /i
c:tempnetfx.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. 

Comments (0)
Add your comment