Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I am running Server 2003 x86, and I have PowerShell 2.0 installed. When I type send-MailMessage in PowerShell, I get this error: "Configuration system failed to initialize".

I get a similar error when I type New-Object -typename System.Net.Mail.MailMessage: Exception calling ".ctor" with "0" argument(s): "Configuration system failed to initialize".

share|improve this question

1 Answer 1

up vote 0 down vote accepted

From Googling, I suspected a problem with my .NET configuration. It turned out to be some junk in machine.config. After I cleaned up the file, I restarted PowerShell, all worked.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.