0
Vote

FormsAuthentication Sample: Build failed for useless reference on AMD64 platform.

description

Environment:

  1. Win2k3 SP2  AMD64
  2. SQL Server 10.0.1600.22
  3. SQL Samples 90728
     

Steps:

  1. Locate to “...\Samples\Reporting Services\Extension Samples\FormsAuthentication Sample\cs”.
  2. Double click “CustomSecurity.sln” to open the solution.
  3. Right click the “CustomSecurity” project and then “Build”.
     

Expectation:

There are 0 error and 0 warning in the built result.
 

Actual results:

There are 19 error and 2 warnings in the built result.
Please see the attached file “Errors.txt”.
 

Comments:

Build failed by not found the assembly: “Microsoft.ReportingServices.Interfaces”.
This issue repro on the following samples:
1.   ActiveDirectory Sample
2.   FsiDataExtension Sample
3.   PolygonsCustomReportItem
4.   PrinterDelivery Sample

file attachments

comments

wrote Aug 13, 2009 at 9:13 AM

Fixed the reference paths

wrote Sep 24, 2009 at 6:36 AM

Verified on Sample build 90908.

wrote Nov 24, 2009 at 6:49 AM

Repro on KJ 10.50.1352.12 and Sample build 91118.

xaviza wrote Jul 12, 2010 at 12:48 PM

you need to add a reference to the Microsoft.ReportingServices.Interfaces before build. This dll you can found in the folder
<reportserver installation>/ReportServer/bin/.

Later maybe you need generate the keys. To try this sample you can read this article:

http://msdn.microsoft.com/es-es/library/ms160724.aspx