You need to create a virtual directory to the C:\Inetpub\aspnet_client folder naming it "aspnet_client". This is happening because you do not have the correct virtual directory setup in your website that your application is running off of. Found the path to the missing images in the browser view source, then made a folder in my web project to mimic it (e.g., /aspnet_client/System_Web/2_0_50727/CrystalReportWebFormViewer3/images/toolbar/). Deployed from a setup.exe and everything worked but the images were still missing.Ģ. Made a setup project that included Crystal as a "prerequisite". But when I copy/paste deploy to another webserver the images are missing.ġ. If I run it locally, I get all of the crystal navigation images (next, prev, etc.). I have a VS2005 web project with a crystalreportviewer control in it.
I've seen a few posts here about this pesky problem but none of them solve my exact problem. Posted: Crystal Reports for Visual Studio, crystalreportviewer toolbar images missing Index ‹ Visual Studio ‹ Crystal Reports for Visual Studio Please refere to my old post here: This may not be related to 2003 Server, but to the client viewer in the client because if I host the report with asp.net using webservice asmx url, it works fine.Crystalreportviewer toolbar images missing " Object reference not set to an instance of an object" Realy I which I could skip this error with no luck since three months. but my problem is that still I do not have a solution to my older problem tell now (even ASP.Net crystal report viewer is working perfectly), still I'm getting this error when I use crystal reports as a webservice + parameters. Then it works fine and the images are shown and no js scripts errors in vista or xp. Run a Registery Cleaner > Here is the solution I think. Hard delete all folders related to Bussines Objects. I decided to start from scratch: - Remove all crystal reports versions. I went to Add Remove Programs, then I found that there is an installation of older Crystal Reports comes with some software. It worked fine, but I did not agree to this solution. I used filemon as explained in this forum and follow all the passes that AllInOne.JS and other JS look for then I hard copied the js files and the dhtmlimages folder to what it wants to be. This is a total hack, the Crystal Reports folks at Business Objects should be embarrassed. Once you have this folder structure, COPY the images folder you found locally out to the folder structure that you set up on your deployment web server. This aspnet_client folder MUST be at the same level as the bin folder in the virtual directory.
The folder structure in the virtual directory has to be at the same level in IIS as the rest of the asp.net code.įor example, if your asp.net application is called MyApp, then under the virtual directory where MyApp resides, you must make the following folder structure:
Next, add a hard-wired folder structure within the virtual directory on the web server you are deploying to. If you're using an earlier version of the Framework, adjust the path above (e.g., try v).
If you're using Framework 2.0, I'm guessing they're sitting in:Ĭ:\WINDOWS\Microsoft.NET\Framework\v7\ASP.NETClientFiles\CrystalReportWebFormViewer3\Images\ToolBar Just in case that fails, this is what I did.įirst locate the missing images on your development box.