Monday, April 30, 2012

Error when running .NET Application that is consuming CRM 2011 Services

Hi All,

I was trying to run a .NET application that consumes CRM 2011 WCF Services and i was getting this exception:

Could not load file or assembly 'Microsoft.IdentityModel, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.

The cause of this issue is to due to missing dlls in your machine for Microsoft Identity framework that is required to have to run your application.

Install Microsoft Identity Framework in your computer that is compatible with your operating system.

For Windows 7 & Windows 2008 R2 you need to install Version 6.1

After you install this update re-run your application and will run with no exceptions!

Note: Make sure to stop your development web sever before rerun your application to reload all required assemblies.

**Download link:
http://www.microsoft.com/en-us/download/details.aspx?id=17331

Hope this helps!


Thursday, April 19, 2012

How to connect to Linux from Windows

Hi Folks,

I was looking into connecting from Windows to a Linux Server, After asking a coworker he advised me to use WinSCP. A free GUI tool to connect to Linux from windows.

WinSCP download link: http://winscp.net/eng/download.php

The tool is easy to install and use, once you install it it requires you to connect using your username/password and IP same as RDP in Windows.


You just need to write server IP,username and password.

Once you log in, you will have 2 panes in the Tool, one on the left is your local files and the one on the right the remote machine file systems.


Then you will be able to move files from the local to your remote sever.

Hope this helps.

Wednesday, April 18, 2012

Port your .NET projects into Linux

Folks,

I was searching for a tool i can use to port all my code i'm building on windows OS to linux. Since VS 2010 IDE doesn't provide this feature so i was looking for a tool or IDE to allow me to write,test and compile my code to be running in a Linux server.

I found this nice IDE called "MonoDevelop" and thought would be useful for all who are thinking to deploy .NET projects into Linux.

Read more about the tool in their website:  http://monodevelop.com/

Download link:  http://monodevelop.com/Download

You need to install GDK# before installing the IDE on your development box.

Have fun with MonoDevelop!