Crystal Report / Toolbar icons do not work when deploying to a web server

I created a web page that contains a Crystal Report built using the Crystal libraries included with Visual Studio 2008.

It ' works on my machine , but when deployed to a web server, the icons (Export, Print, etc.) on the Crystal Report toolbar do not appear or work. Just seeing the “red X” where the button image should be, and clicking does nothing.

I checked that the images on the toolbar are in the place where the web server is being viewed: (C: / Inetpub / Wwwroot / aspnet_client / system_web / 2_0_50727 / CrystalReportWebFormViewer4 / images / panel /)
They are all there.

I checked permissions on the above folder on the web server. Give “full control” to each user to verify it.

I also enabled / ran 'CRRedist2008_x86.msi' on the web server.

Some people mentioned that the "crystalreportviewers115" folder was added to the "\ wwwroot \ aspnet_client \ system_web \ 2_0_50727" folder on the web server, but I could not find "crystalreportviewers115" to copy it.

Appreciate any help or ideas you can offer.

The update is OK, so obviously I didn’t check well enough that the images are in the right place.

+6
visual-studio-2008 deployment crystal-reports
source share
5 answers

Doh! Someone here at work understood this. It was very simple, and I should have sorted it, but hey how it happens sometimes.

Here's the fix:
On the web server, copy the "aspnet_client" folder from "C: \ Inetpub \ wwwroot" to "C: \ Inetpub \ wwwroot \ your-website-name".

That is all we have done, and now it works.

I hope this saves someone from all the fuss that I just went through.

+6
source share

Another solution is to simply create a new virtual directory on your website and point it to "C: / Inetpub / wwwroot / aspnet_client"

+2
source share

Try this On the web server, copy the "aspnet_client" folder from "C: \ Inetpub \ wwwroot" and go inside the folder of your site (where there will be a form folder, an app_data folder, etc.)

+2
source share

I took on the support of some code created by another developer who left and also suffered this problem. In my case, the compiled report looked for images in the crystalreportview115 folder that existed on my local development path and therefore worked locally. The only folder on the destination server was CrystalReportWebFormViewer4 (I assume from a previous server installation or site deployment). Just adding a folder ... 115, this problem was solved for me.

The main reason for us will be the version of Crystal installed on the development machine. Not sure if anyone was helping, but thought I mention it!

0
source share

Download the aspnet_client folder from the c: \ inetpub \ wwwroot folder of your local computer to the httpdocs folder of your web host. Good luck !!!

0
source share

All Articles