>>>Yesterday I found that I didn't have Crystal Reports installed with VS 2008. So I tried rerunning the setup. Of course, setup failed numerous times. So this morning I completely uninstalled and reinstaled VS 2008. VOILA! There's Crystal Reports.
>>>
>>>I click Add New Item, then Crystal Report. The report designer opens. I press F6 and get this:
>>>
>>>
>>>Error 1 'CMS.Contact_Single.NewGenerator': no suitable method found to override
>>>
>>>Error 2 'CMS.Contact_Single.FullResourceName': no suitable method found to override
>>>
>>>Error 3 Assembly 'CrystalDecisions.ReportSource, Version=10.5.3700.0, Culture=neutral,
>>> PublicKeyToken=692fbea5521e1304' uses 'CrystalDecisions.CrystalReports.Engine,
>>> Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' which has
>>> a higher version than referenced assembly 'CrystalDecisions.CrystalReports.Engine,
>>> Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304'
>>> c:\Program Files\Business Objects\Common\2.8\managed\CrystalDecisions.ReportSource.dll
>>>
>>>Error 4 Assembly 'CrystalDecisions.ReportSource, Version=10.5.3700.0, Culture=neutral,
>>> PublicKeyToken=692fbea5521e1304' uses 'CrystalDecisions.Shared, Version=10.5.3700.0,
>>> Culture=neutral, PublicKeyToken=692fbea5521e1304' which has a higher version than
>>> referenced assembly 'CrystalDecisions.Shared, Version=10.2.3600.0, Culture=neutral,
>>> PublicKeyToken=692fbea5521e1304'
>>> c:\Program Files\Business Objects\Common\2.8\managed\CrystalDecisions.ReportSource.dll
>>>
>>>
>>>
>>>Mind you now - I didn't do anything to this report. Haven't added data, controls, or anything. My project was compiling fine beforehand.
>>>
>>>In the CS file associated with the report are the following usings:
>>>
>>>
>>>using CrystalDecisions.Shared;
>>>using CrystalDecisions.ReportSource;
>>>using CrystalDecisions.CrystalReports.Engine;
>>>
>>>
>>>So, here I am again stuck because soime stupid MS product doesn't work. Again I have no reporting capability. I'm beginning to long
>>>for VFP.
>>
>>The trick here is to read the error messages:
>>
>>Assembly 'CrystalDecisions.ReportSource uses 'CrystalDecisions.CrystalReports.Engine Version=10.5.3700.0.
>>You are referencing an earlier version (10.2.3600.0)
>>Similar problem with CrystalDecisions.Shared.
>>Should be easy to fix.....
>
>I did read the messages, and I thought " I just installed this. Crystal CAME with VS - what older references could it be talking about???". Since I have no other installation of CR on this PC, then VS installed the wrong assemblies.
I thought you mentioned earlier that you had used Crystal with VS2005 - if so then it's not that VS installed the wrong assemblies - it just failed to install the right ones :-{
FWIW here's a list of all relevant Crystal versions :
http://msdn.microsoft.com/en-us/library/ms225607.aspx