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

21,036

Solution 1

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.

Solution 2

Try this
On the web server, copy the 'aspnet_client' folder from 'C:\Inetpub\wwwroot' and past inside your website folder.(where form folder,app_data folder etc will be there)

Solution 3

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

Share:
21,036
Dhaust
Author by

Dhaust

To live is to fall. To survive is to find meaning in the falling. And I'm finding a lot of meaning!

Updated on July 09, 2022

Comments

  • Dhaust
    Dhaust almost 2 years

    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.