Skip to content

Images and Parameters Broken in CrystalReportViewer

May 28, 2009

 

I hate Crystal Reports.  I was on the verge of a nervous breakdown today after launching a well tested app and finding my reportviewer with broken images or with a mysterious javascript error saying Object Expected.

CropperCapture[2]

The deal is that Crystal requires the aspnet_client folder that IIS creates in your Default Web Site and is accessable to all the virtual folders that live there.

However if you try to deploy your site to a new website on the server to use a different port or subdomain using host headers you won’t have access to the aspnet_client goodness and your reports will be borked.

 CropperCapture[1]

You can either copy the folder into your application folder or create a virtual folder that points to the aspnet_client folder in the Default site.

CropperCapture[4]

and you’re golden.

CropperCapture[3]

I owe a co-worker with a good memory for putting me on the right scent to figure this out.  Hope this helps someone avoid the anguish this caused me.

Advertisements
4 Comments leave one →
  1. Mark permalink
    April 27, 2010 3:47 am

    Thanks echostorm!!

    I had this issue come up and was totally stomped! If only we had stumbled over your site earlier we would have saved hours of wasted time! 😛

    Thanks again!! excellent solution!
    Mark

  2. April 15, 2013 6:23 am

    Hmm is anyone else encountering problems with the pictures on this
    blog loading? I’m trying to find out if its a problem on my end or if it’s the blog.
    Any suggestions would be greatly appreciated.

    • April 15, 2013 12:06 pm

      Pics are ok. Might be something going on with the site or on your end. Try again later

  3. August 4, 2013 10:16 pm

    Question: My wife and I are thinking about expanding our garage and extending
    the washroom. Large framed mirrors run about
    $50 anywhere you go, although Wal-mart has even better prices on
    some very elegant styles. Remember, you should
    also consider renovating xactimate remodel the exterior.

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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 )

Google+ photo

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

Connecting to %s

%d bloggers like this: