troubleshooting Question

Exchange Console and Shell Not Working

Avatar of ejefferson213
ejefferson213 asked on
Exchange
9 Comments2 Solutions5733 ViewsLast Modified:
Running Exchange 2010 with SP1 under Windows Server 2008 R2.  After recently installing Exchange SP1 (no rollups installed), I cannot start my EMC nor run any Exchange commands from the PowerShell.  When I try executing a command, I get:

Exception calling "GetSteppablePipeline" with "1" argument(s): "The type initializer for Microsoft.Exchange.Configuration.Tasks.Task' threw an exception."
    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
    + FullyQualifiedErrorId : DotNetMethodException

When I try opening my EMC, I get an unhandled exception.
Within my application event log, I’m seeing event ID 1001 (which may or may not be related) to this:

Version=1
EventType=PowerShell
EventTime=129500350497950880
ReportType=1
Consent=1
ReportIdentifier=33623620-7fd5-11e0-9bed-000c29316fd9
Response.type=4
Sig[0].Name=NameOfExe
Sig[0].Value=powershell.exe
Sig[1].Name=FileVersionOfSystemManagementAutomation
Sig[1].Value=6.1.7600.16385
Sig[2].Name=InnermostExceptionType
Sig[2].Value=System.InvalidCastException
Sig[3].Name=OutermostExceptionType
Sig[3].Value=System.TypeInitializationException
Sig[4].Name=DeepestPowerShellFrame
Sig[4].Value=unknown
Sig[5].Name=DeepestFrame
Sig[5].Value=crosoft.Exchange.Configuration.Tasks.Task.Finalize
Sig[6].Name=ThreadName
Sig[6].Value=unknown
DynamicSig[1].Name=OS Version
DynamicSig[1].Value=6.1.7600.2.0.0.274.10
DynamicSig[2].Name=Locale ID
DynamicSig[2].Value=1033
FriendlyEventName=PowerShell
ConsentKey=PowerShell
AppName=powershell
AppPath=C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe

Is this a known bug?  Is it fixed in a roll-up?  Are there services I should restart? I’ve looked at other articles but nothing seems to fit.  One spoke of ADWS not running (on the domain controllers) but it is; even still, restarting it hasn’t helped.  This looks like a programming issue (invalid cast exception) under the covers.
ASKER CERTIFIED SOLUTION
Pete Long
Solutions Architect
Join our community to see this answer!
Unlock 2 Answers and 9 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 2 Answers and 9 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros