Crystal Report icons/toolbar not working when deployed on web server

crystal-reportsdeploymentvisual-studio-2008

I have built a web page which contains a Crystal Report built using the Crystal libraries included in Visual Studio 2008.

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

I have checked that the toolbar images are actually in the location being looked at on the web server:
(C:/Inetpub/wwwroot/aspnet_client/system_web/2_0_50727/CrystalReportWebFormViewer4/images/toolbar/)
They are all there.

I have checked the permissions on the above mentioned folder on the web server.
Gave 'full control' to every user just to test it.

I have also intalled/run the 'CRRedist2008_x86.msi' on the web server.

Some people have mentioned ensuring that 'crystalreportviewers115' folder is added to my '\wwwroot\aspnet_client\system_web\2_0_50727' folder on the web server but I have been unable to find the 'crystalreportviewers115' to copy it.

Appreciate any help or ideas you may be able to offer.

Update – OK, so obviously I hadn't checked well enough that the images were in the correct location.

Best Answer

Doh! Someone else here at work figured this out. It was really simple and I should have been able to sort it, but hey, that's how it goes sometimes.

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

That's all we did and it's now working.

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