Summary
Provisioning of Hosted E-mail service on Microsoft Exchange 2007 reports the following error in Service Queue:
Error: The type initializer for 'Microsoft.Exchange.Management.PowerShell.CmdletConfigurationEntries' threw an exception."
Applies To
MachPanel all versions
Hosted Exchange Extension (HEE)
MachPanel Remote Server
Cause
- Domain administrator permissions not granted properly
- MachPanel Provisioning Service not running
- Exchange related files missing from bin directory
Solution
Please follow the below mentioned steps for rectification of this issue.
Step1:Check domain administrator user’s permission
- Click Start, point to
Settings, click Control Panel, double-click Administrative
Tools, and then double-click Active Directory Users and
Computers.
- In the console tree, click Users.
- In the details pane, right-click the user (administrator2 that was created for MachPanel) and then click
Properties.
- Click on the Member of tab to check that this user (administrator2) has following permissions:
- Domain Admins (Set Primary)
- Domain Users
- Enterprise Admins
- Exchange Servers
- Exchange Organization Administrators
- Group Policy Creator Owners
- Schema Admins
- Click Add button in case any of the above mentioned permission is missing.
- In Enter the object names to select, type the name of the user,
group, as mentioned above then click OK.
Step 2: Also check MachPanel Provisioning Service is running under same user (i.e. administrator2)
- Go to Start >> Run
- Type services.msc and press Enter
- Microsoft Services Window will pop up
- In the right hand pane Click on or Navigate to MachPanel Provisioning Service
- Right click this service and then click Start
Step 3: Verify Exchange related files
Please ensure that Exchange related files in bin directory (i.e. at Program Files\MachSol Inc\MachPanel Remote Server)
(files include: Microsoft.Exchange.Configuration.ObjectModel.dll, Microsoft.Exchange.Data.Directory.dll, Microsoft.Exchange.Data.dll, Microsoft.Exchange.Diagnostics.dll, Microsoft.Exchange.Management.dll)
are same version as that are in “Program Files\Microsoft\Exchange Server\bin” folder.