ReportViewer 9.0 on IIS 7 not rendering-Collection of common programming errors


  • Christopher Rathermel

    I have a reportviewer control that works fine locally and on a iis 6.0 box, but when deployed to the IIS 7 webserver, the control has broken images. The report does return data but the top bar has broken images and buttons.

    Using Fiddler I see that the images requests are returning a 404 or 500 error. I got the 500 after changing some HTTP handler stuff.

    There is a lot of stuff on the web about this error and I have tried them all but w/ no luck.

    Things I have checked

    1. Installed reportViewer 9.0 on the new iis 7 server.
    2. Verified the installed dlls in the GAC.
    3. Added the new http handlers to the web.config (see web.config below). Tried manualy editing the web.config and adding the handler in via IIS 7
    4. I have tried running the application in classic mode vs integrated and it still doesn’t work (some people reported have success running in classic mode).

    Another note is that my broken images look a little different compaired to reports of other users on the web. Not sure if it is just a browser difference or what..

    My Error:

    This is what other people are reporting

    Web.Config

    
    
    
    
    
    
    
        
            
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
            
            
                
            
        
        
            
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
            
            
                
                
                
                
            
        
        
        
        
        
        
        
        
            
            
            
            
            
            
            
            
            
            
            
        
        
            
        
    
    
        
            
                
                
            
            
                
                
                
            
        
    
    
    
        
        
            
            
        
        
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
        
    
    
        
            
                
                
            
            
                
                
            
        
    
    

  • Christopher Rathermel

    I actually fixed this issue by coping some of the asp_client files from the root to my specific web application.

    Example:

    Take this content: C:\inetpub\wwwroot\aspnet_client\system_web\2_0_50727\CrystalReportWebFormViewer4

    And copy to here: C:\inetpub\wwwroot\WebAppFolderName\aspnet_client\system_web\2_0_50727\CrystalReportWebFormViewer4


  • Raj Kaimal

    From your trace, it looks like you are using Crystal Reports. You may need to install the Crystal Reports runtime on your server.

    http://resources.businessobjects.com/support/additional_downloads/runtime.asp

    –update–

    try this handler instead