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



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


  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”.


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”.


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


wrote Aug 13, 2009 at 10:13 AM

Fixed the reference paths

wrote Sep 24, 2009 at 7:36 AM

Verified on Sample build 90908.

wrote Nov 24, 2009 at 7:49 AM

Repro on KJ 10.50.1352.12 and Sample build 91118.

xaviza wrote Jul 12, 2010 at 1: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:


wrote Feb 22, 2013 at 1:18 AM