In Crystal Report Web Viewer, image button icons do not appear in a new web site other than the Default web site in IIS.

Why Can Fail?!

You have created a web based Crystal Report Viewer in the IIS default web site. Everything looks fine. However, when you move it to a different web site under a different application pool, the crystal report viewer button icons all goes missing, becoming red “x”s.

Why Like That?!

This is because the image icons for Crystal Report viewer actually reside in aspnet_client folder, rather than the application directory. It is already included in the default web site, (C:\inetpub\wwwroot\), so the buttons will appear with no issues. If you move it to a different web site without a reference to the aspnet_client directory, the crystal report viewer will be unable to find the images and display red “x”s.


What To Do?!

In your newly created web site, create a virtual directory reference called “aspnet_client” and point it to the original folder path (C:\inetpub\wwwroot\aspnet_client), with the same permissions.

Where Got Say?!
The solution is inferred from a few sources, which mentions copying the aspnet_client image files to your application directory. (Not a good idea IMO). Still, credit goes to them for figuring out the cause of the issue.

2 references are stated here


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: