The type initializer for 'CrystalDecisions.ReportSource.ReportSourceFactory' threw an exception. RRS feed

  • Question

  • I am using visual studio 2008 in c sharp and the windows is 64 bit with operation system windows 7.

    i am getting an error when i am going to open crystal report "The type initializer for 'CrystalDecisions.ReportSource.ReportSourceFactory' threw an exception.".

    other projects are working fine with crystal report the one is not. i am so confused why.

     Can any one please help me.

    • Moved by Min Zhu Friday, May 25, 2012 2:34 AM (From:.NET Base Class Library)
    Wednesday, May 23, 2012 11:35 AM

All replies

  • Hi Honey,

    Solution Explorer -> right click project -> properties -> Build -> General -> Platform target -> x86

    Regards, http://shwetamannjain.blogspot.com or https://shwetalodha.wordpress.com/

    Wednesday, May 23, 2012 1:37 PM
  • thnx for replying sir...but i have done this before....but this is not working
    Wednesday, May 23, 2012 1:49 PM
  • Hi Honey,

    For Crystal report issue, please try this forum: http://forums.sdn.sap.com/forum.jspa?forumID=313 

    Thank you for your understanding and support.

    Best regards,

    Mike Feng
    MSDN Community Support | Feedback to us
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    • Proposed as answer by Mr. Wharty Tuesday, June 5, 2012 11:11 PM
    Thursday, May 24, 2012 11:25 AM