We help IT Professionals succeed at work.
Get Started

Exchange Console and Shell Not Working

ejefferson213
on
5,719 Views
Last Modified: 2013-09-05
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.
Comment
Watch Question
Technical Architect
CERTIFIED EXPERT
Distinguished Expert 2020
Commented:
This problem has been solved!
Unlock 2 Answers and 9 Comments.
See Answers
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE