Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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.

like image 456
Dhaust Avatar asked Sep 10 '08 02:09

Dhaust


3 Answers

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.

like image 86
Dhaust Avatar answered Sep 24 '22 01:09

Dhaust


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

like image 41
Emad Gabriel Avatar answered Sep 22 '22 01:09

Emad Gabriel


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)

like image 28
shine jose Avatar answered Sep 21 '22 01:09

shine jose