Gustav Brock
Gustav at cactus.dk
Mon Mar 2 15:28:42 CST 2009
Hi Michael That is because Shamil has referenced the 2005 ReportViewer and not the 2008 (version 9.0.0.0). You can install that as well (that is what I have, that's why I didn't see any errors) but I think you should await a comment from Shamil. /gustav >>> mmattys at rochester.rr.com 02-03-2009 20:11 >>> I installed all Windows Update stuff missed since December Also installed Visual C# SP1 and VWD SP1 (Includes SQLS2008) Continued installing VWD_RV_Addon_enu.exe and ReportViewer.exe. Shamil's solution will run in Debugging but Build give me these errors: Error 1 The type or namespace name 'Reporting' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?) C:\ ... nwnet\NorthWind.NET.VS2008\NorthWind.NET.FE\Reports\SalesByCategoryReport.Designer.cs [Line] 73 [Column] 27 NorthWind.NET.FE Warning 2 Could not resolve this reference. Could not locate the assembly "Microsoft.ReportViewer.Common, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors. NorthWind.NET.FE Warning 3 Could not resolve this reference. Could not locate the assembly "Microsoft.ReportViewer.WinForms, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors. NorthWind.NET.FE Warning 4 Could not find type 'Microsoft.Reporting.WinForms.ReportViewer'. Please make sure that the assembly that contains this type is referenced. If this type is a part of your development project, make sure that the project has been successfully built. 0 0 Warning 5 The variable 'reportViewer1' is either undeclared or was never assigned. C:\Documents and Settings\Michael\My Documents\Net Team\nwnet\NorthWind.NET.VS2008\NorthWind.NET.FE\Reports\SalesByCategoryReport.Designer.cs 59 0 Warning 6 The referenced component 'Microsoft.ReportViewer.Common' could not be found. Warning 7 The referenced component 'Microsoft.ReportViewer.WinForms' could not be found. Doesn't look too serious! :) - Michael R Mattys MapPoint and Database Dev www.mattysconsulting.com - ----- Original Message ----- From: "Mike Mattys" <mmattys at rochester.rr.com> To: "Discussion concerning Visual Basic and related programming issues." <dba-vb at databaseadvisors.com> Sent: Monday, March 02, 2009 9:51 AM Subject: Re: [dba-VB] ReportViewer and report design > Well, some of this day will be spent on -> > Windows Update > Express SP1 > > - > Michael R Mattys > MapPoint and Database Dev > www.mattysconsulting.com > - > ----- Original Message ----- > From: "Gustav Brock" <Gustav at cactus.dk> > To: <dba-vb at databaseadvisors.com> > Sent: Monday, March 02, 2009 9:29 AM > Subject: [dba-VB] ReportViewer and report design > > >> Hi Shamil et al >> >> Here (great site, bookmark that): >> >> http://www.gotreportviewer.com/ >> >> it is stated that the ReportViewer is a separate download for the Express >> versions. >> The 2008 version can be found here: >> >> http://www.microsoft.com/downloads/details.aspx?familyid=CC96C246-61E5-4D9E-BB5F-416D75A1B9EF&displaylang=en >> >> However, I'm not sure, if this allows for _design_ of reports in the >> Express versions. >> According to this: >> >> http://blogs.microsoft.co.il/blogs/adlaim/archive/2008/12/27/report-viewer-for-visual-web-developer-express.aspx >> >> the Web edition does, and the report designer can be downloaded here: >> >> http://www.microsoft.com/downloads/details.aspx?FamilyID=b67b9445-c206-4ff7-8716-a8129370fa1d&DisplayLang=en >> >> but nothing is stated for the C# Express Developer for WinForms. >> >> Could someone please check this out? >> >> /gustav >> >> >>>>> Gustav at cactus.dk 02-03-2009 08:40:26 >>> >> Hi Shamil >> >> They both do here on WinXP. Will try later at home where Vista is running >> but as I use the two machines quite a lot with VS and reports, I would be >> highly surprised if your sample would fail. >> >> /gustav >> >> >>>>> mcp2004 at mail.ru 02-03-2009 07:38 >>> >> >> If VS2005 and VS2008 Standard Edition compile well the following sample >> solutions >> >> http://smsconsulting.spb.ru/download/scrum/nwnet.zip (~400KB) >> >> and allow to use .NET ReportViewer control in design mode they also >> qualify as development evnironment. >>