1

I am trying to create a mailbox in Exchange server 2013 using C#

Using this Reference I created a console application to create a mail box. Initially I created Active Directory , using the credintials I tried to create mail box. but the below statment throws exception

Runspace runspace = RunspaceFactory.CreateRunspace(connectionInfo);

throws exception

A first chance exception of type 'System.InvalidProgramException' occurred in Exchange.exe

Additional information: Common Language Runtime detected an invalid program.

Community
  • 1
  • 1
Pintu Paul
  • 389
  • 3
  • 18

0 Answers0