Visual Studio 2010, Build error, Build (web): Object reference not set to an instance of an object in rpt

Solution:

Find in web config:

<buildProviders>
<add extension=”.rpt” type=”CrystalDecisions.Web.Compilation.RptBuildProvider, CrystalDecisions.Web, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304″/>
</buildProviders>

change to

<buildProviders>
<add extension=”.rpt” type=”CrystalDecisions.Web.Compilation.RptBuildProvider, CrystalDecisions.Web, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304″/>
<remove extension=”.rpt”/>
</buildProviders>

 

Referensi: http://software-works.blogspot.com/2010/05/visual-studio-2010-build-error-build.html