The first thing to check,is whether the report viewer clientside files are available, I suspect that's your issue (you may find it's silently throwing a javascript error!). In IIS it should have created a virtual directory, if IIS express, then you'll need to move the files the viewer needs manually, the following should work:
Create a folder called crystalreportviewers13 folder in the root your application, copy the contents of the folder C:Program Files (x86)SAP BusinessObjectsCrystal Reports for .NET Framework 4.0CommonCrystal Reports 2011crystalreportviewers into that folder (the source path seems to vary on different machines).
Add this to the configsections of your web.config
<configSections>
<sectionGroup name="businessObjects">
<sectionGroup name="crystalReports">
<section name="rptBuildProvider" type="CrystalDecisions.Shared.RptBuildProviderHandler, CrystalDecisions.Shared, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304, Custom=null" />
<section name="crystalReportViewer" type="System.Configuration.NameValueSectionHandler" />
</sectionGroup>
</sectionGroup>
Then add this into the configuration section of your web.config
<businessObjects>
<crystalReports>
<rptBuildProvider>
<add embedRptInResource="true" />
</rptBuildProvider>
<crystalReportViewer>
<add key="ResourceUri" value="/crystalreportviewers13" />
</crystalReportViewer>
</crystalReports>
</businessObjects>
And it should work....
I'd first download the latest version from here http://scn.sap.com/docs/DOC-7824
If it still doesn't display check your web.config is pointing at the right version. If you've still got problems, then check the doc type in your HTML declaration - as I recall it doesn't work properly with HTML5.
Edit:
In earlier versions of crystal that folder I mentioned above is automatically copied into c:inetpubwwwrootaspnet_clientsystem_web4_0_30319 - if you copy the whole aspnet_client into the root of your application that resolved the issue - in the later versions of crystal I believe that if you don't have IIS running when you install it doesn't create that folder anyway.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…