Initializer Exception

Sep 1, 2011 at 5:06 PM

If you see the following exception:

An error has occurred:
The type initializer for 'DacIEServiceCli.DataCenterMapper' threw an exception.

That probably means you extracted the EXE from a zip file you downloaded online.  The ZIP has permissions set on it saying it came from a remote machine.  You can do the following steps on either the exe or the zip.

This is normal Windows behavior to protect you from downloading malicious applications.  It can be annoying at times, but it is there with good reason.  You have to unblock the application before it is allowed to run trusted.

Unblocking a Remote File

Right Click the file in your Windows Explorer and select properties.

You will see a dialog that has a Security section stating "This file came from another computer and might be blocked to help protect this computer.".  Click the Unblock button, then Apply.  Now extract the EXE out of the zip and use it like normal.

 

Sep 14, 2011 at 5:46 AM

Thanks, This did the trick.

After I unblocked the exe and the config file things started to work smoothly.