TechTalkz.com Logo

Go Back   TechTalkz.com Technology & Computer Troubleshooting Forums > Software World > Programming

Notices

Exchange 2007- Invoke method Exception while executing Enable-MailUser Command.

Programming


Reply
 
Thread Tools Display Modes
Old 30-10-2009, 03:26 PM   #1
Junior Member (25+)
 
Join Date: Jan 2009
Posts: 48
Thanks: 13
Thanked 0 Times in 0 Posts
Rep Power: 0 amit_27 is an unknown quantity at this point


OS: Windows NT / Windows 2000


Exchange 2007- Invoke method Exception while executing Enable-MailUser Command.

Hi,

I am trying to add NewUser entry in Exchange. I have written a code to execute command Enable-MailUser.

I have set all commands parameter as Identity, ExternalMail.

But it is giving me exception when I execiute Invoke method on pipeline.

The exception is :

System.Management.Automation.CmdletInvocationExcep tion: Method not found: 'System.String Microsoft.Exchange.Configuration.Tasks.RecipientOb jectActionTask`2.get_RusServer()'. ---> System.MissingMethodException: Method not found: 'System.String Microsoft.Exchange.Configuration.Tasks.RecipientOb jectActionTask`2.get_RusServer()'.
at Microsoft.Exchange.Management.RecipientTasks.Enabl eRecipientObjectTask`2.get_UseRusServer()
at Microsoft.Exchange.Management.RecipientTasks.Enabl eRecipientObjectTask`2.PrepareDataObject()
at Microsoft.Exchange.Configuration.Tasks.SetTaskBase `1.InternalValidate()
at Microsoft.Exchange.Configuration.Tasks.ObjectActio nTask`2.InternalValidate()
at Microsoft.Exchange.Configuration.Tasks.RecipientOb jectActionTask`2.InternalValidate()
at Microsoft.Exchange.Configuration.Tasks.Task.Proces sRecord()
at System.Management.Automation.Cmdlet.DoProcessRecor d()
at System.Management.Automation.CommandProcessor.Proc essRecord()
--- End of inner exception stack trace ---
at System.Management.Automation.Internal.PipelineProc essor.Synchronou***ecuteEnumerate(Object input, Hashtable errorResults, Boolean enumerate)
at System.Management.Automation.Internal.PipelineProc essor.Execute(Array input)
at System.Management.Automation.Runspaces.LocalPipeli ne.InvokeHelper()
at System.Management.Automation.Runspaces.LocalPipeli ne.InvokeThreadProc()


Can you please suggest me the way to proceed?
amit_27 is offline   Reply With Quote
Reply

Thread Tools
Display Modes



< Windows Help - MS Office Help - Hardware Support >


New To Site? Need Help?

All times are GMT +5.5. The time now is 07:43 AM.


vBulletin, Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO
Copyright © 2005-2009, TechTalkz.com. All Rights Reserved - Privacy Policy
Valid XHTML 1.0 Transitional