Quantcast
Channel: Exchange Server Development forum
Viewing all articles
Browse latest Browse all 7132

c# - remote power shell to exch 2010. Getting FileNotFoundException: Could not load file or assembly 'Microsoft.Exchange.Data, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'

$
0
0

Hi All,

I have a c# application where in I connect to Exchange server 2010 SP1 using remote powershell. I get mailboxes by executing a powershell command (get-mailbox).

For this mailbox user, I need to get all properties including MultiValued Properties. For this, I have used classes like Microsoft.Exchange.Data.MultiValuedProperty.

As soon as the control goes here, I get

System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.Exchange.Data, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
File name: 'Microsoft.Exchange.Data, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'

My c# app is running is on another machine part of same domain as that of exchange server. This machine has exchange management tools installed.

Please let me know what could be the issue. Please help. Thanks!


/M


Viewing all articles
Browse latest Browse all 7132

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>