Sunday 8 September 2013

VS 2010 " The Type Initializer for 'Microsoft.Dynamics.BusinessConnector.Session.SessionCache' threw an exception"

Hi all,
While creating  a new SSRS project in VS2012 for AX 2012 , I got the error :

 " The Type Initializer for 'Microsoft.Dynamics.BusinessConnector.Session.SessionCache' threw an exception"


To resolve this error  ,
  • Open CMD , as administrator
  • Run the following command :
             lodctr /r
It helped me to create new Project .