From the beginning of my career I developed many reports using crystal reports with VB (4, 5, and 6), ASP.NET (2003, 2008). Recently when I tried to do the same using visual studio 2012 & deployed solution to windows 2012 I face lot of issue. I was getting blank page instead of result. I search a lot & finally find the solution. Here I am going to put all the steps required to make the report in working condition.
- Go to “C:\inetpub\wwwroot\aspnet_client\system_web\4_0_30319” on the web server.
-
Copy “crystalreportviewers13” folder & paste it to the application

- Add Following code to web.config file
<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>
</configSections>
<businessObjects>
<crystalReports>
<rptBuildProvider>
<add embedRptInResource=“true“ />
</rptBuildProvider>
<crystalReportViewer>
<add key=“ResourceUri” value=“~/crystalreportviewers13“ />
</crystalReportViewer>
</crystalReports>
</businessObjects>
Note: Some times “<add key=“ResourceUri” value=“~/crystalreportviewers13“ />” work with ~ & in some cases without ~.
Hopefully this will work for you.
Thanks, you save my life!
thank you
it really helped me 🙂
Thank you so much
Its great help 🙂
It’s helpful!!!
Thank you for saving me from dark. : )
Thanks man, scripts really work.
Amazing it worked for me as well. Keep Rocking
thanks man it was a mess
Thank you, this worked for me. Earlier tried lot other solutions, nothing worked.
Thanks for the post:
I found myself a better workaround: Create a virtual directory named (or aliased) as “aspnet_client” inside your asp.net web site, and pointing to the original aspnet_client path (usually located at c:\inetput\wwwroot\aspnet_client\)
Thank you
Good day!
I am stopped at Step No. 2 because the “C:\inetpub\wwwroot\aspnet_client\system_web\4_0_30319″ has no file in it, i cant find crystalreportviewers13, 2_0_50727 folder does contain a version of crystal report 4. Do i need to reinstall something?
In my case, created the website using Visual Studio 2012, all is working fine in my local. When I deploy in on Windows Server 2008, it doesn’t work at all, stating problem with Crystal Report. On the server, there were already website with crystal report installed and they are working well. Maybe it is because of the upgraded crystal report used on my new website? What should I do?
Hi,
You have to copy crystal report folder “crystalreportviewers13” from your local to your windows server 2008. hopefully it will solve your issue.
Thank you very much. I have not been able to move forward since I ran into this problem. Great work….
this really saved me a lot of trouble.. was going through the exact problem
Thanks alot Finally your post did my work….
Thank You somuch
Thanks it is very much useful !
Save my Life
Your List Line only Helps me
Note: Sometimes “” work with ~ & in some cases without ~.
Im my Case Without ~ Save Me
Thanks very Use full
Thank You… 🙂 ,It has saved my time.
YOU are an angel…thank you soooooooooo much for saving my life
Thank you a great deal for the post… It saved me after a very long traumatic experience
thanks a lot.
Your List Line Helped me when i used without ~ or &
Thank you this helped me
Thank you very much for your help. It’s works!!!
Thank you very much …. It’s cool
nice
Thanks a lot. It works great.
Working with Visual Studio 2015, I get web.config errors for the:
Is the directly under the tag.?
alternatively, you say ” Some times “<add key=“ResourceUri” value=“~/crystalreportviewers13“ ". Where would that go.
Hi Seth, This issue i faced long back but i remember in Visual Studio when i was running report i used with “~” but when i deployed to production IIS reports was not working. After removing the “~” reports was working on production IIS also.
You are the BEST!!!!!
You save our life! Thanks!
Thanks a lot. It works great.
Good job man.. it’s working. I am working on this one since 3 days
Thanks a lot. You are Great…
I have installed VS 2017 Community Edition and CRforVS SP21 both 32 bit and 64 Bit on Windows 10 Platform. I could not find crystal reports files in the VS2017 IDE,
Where is the Issue, How to get crystal reports files gets display in VS 2017 IDE
Crystal Report is acquired by SAP now. You have to download Crystal Report from SAP site.
use below link for information.
https://wiki.scn.sap.com/wiki/display/BOBJ/Crystal+Reports%2C+Developer+for+Visual+Studio+Downloads
dear sir ,
plz help me ,
in my website application crystal report run in my laptop
but in online is not working …..plz help the website is error is ”
500 – Internal server error.
There is a problem with the resource you are looking for, and it cannot be displayed.”
plz help me – the website address is macccs.in
to see the error on page change mode RemoteOnly to Off.
sir
i did that but again its showing error…
Could not load file or assembly ‘CRVsPackageLib, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304’ or one of its dependencies. The system cannot find the file specified.
check in your project reference. all the crystal reports dll copy to bin folder.