cancel
Showing results for 
Search instead for 
Did you mean: 

VS 2010, Cr For Vs 2010, NetFramework 4.0, images not showing in webcontrol

lorenzo_comastri
Explorer
0 Kudos

Hi,

I've followed all (I think) the hints in various documents on how to set my web.config to show images on a report, but in my dev machine, windows 7 32 bit with iis7, when i try to show a report with images in it, in a crystal web viewer, I cannot see the images (red x), while the images appear correctly when printing to a printer o exporting in pdf format, for example.

In my web.config I have:

</system.web>

<system.webServer>

<handlers>

<add name="CrystalImageHandler.aspx_GET" path="CrystalImageHandler.aspx" verb="GET" type="CrystalDecisions.Web.CrystalImageHandler, CrystalDecisions.Web, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" preCondition="integratedMode,runtimeVersionv4.0" />

</handlers>
<validation validateIntegratedModeConfiguration="false"/>

</system.webServer>

To be honest I don't know which application pool my app is running in, but both DefaultAppPool and Asp.Netv4 use frwk 4.0 and integrated mode Pipeline.

What else should I try/apply to solve this issue?

Accepted Solutions (1)

Accepted Solutions (1)

former_member188030
Active Contributor
0 Kudos

What browser are you suing to view the reports?

Is it the issue with all browsers.

- Bhushan.

lorenzo_comastri
Explorer
0 Kudos

I tried ie9, firefox 11 and chrome 17, and the issue is present in all of them..

Lorenzo

former_member188030
Active Contributor
0 Kudos

Try IE8, or IE9 in compatiblity mode.

lorenzo_comastri
Explorer
0 Kudos

I tried ie9 in compatibility mode, same result: red x instead of images, still the images show up in printed report or pdf

lorenzo_comastri
Explorer
0 Kudos

Sorry Bhushan, I'm not an asp.net configuration specialist...

The first article applies to lower versions of both net framework and CR, the second is not too clear to me.

Above you can see the actual configuration of my iis site, do you see something that's not ok?

lorenzo_comastri
Explorer
0 Kudos

Noone?

Surely I'm missing something or I made some configuration mistakes, but I need to sort this out..

The article Bhushan pointed me to refers to previous versions of CR and the NET Frwk, so I'm not sure it could be of any help...

former_member183750
Active Contributor
0 Kudos

Find out which application pool the app is running under. Then send a screenshot of IIS with that app pool fully exploded.

- Ludek

lorenzo_comastri
Explorer
0 Kudos

Hi Ludek, tell me if it's enough or you need more info...

Lorenzo

former_member183750
Active Contributor
0 Kudos

That is good. Now in the screenshot, you are showing all the apps under the Default app pool. Which of those apps is actually going to runt he report?

- Ludek

lorenzo_comastri
Explorer
0 Kudos

Ludek, the problem happens when I try to launch my app from Visual Studio 2010, not from an installed web app.

I don't think this is shown among the apps running in the default app pool, otherwise I think it's the default application running from inetpub\wwwroot??

lorenzo_comastri
Explorer
0 Kudos

Ludek, or anyone else?

The same thing is happening on another pc with windows 7 Professional 64bit, Visual Studio 2010 and CR for VS 2010.

Launching the app from Visual Studio, images are not appearing, while they appear on pdf-exported file or printed paper.

former_member183750
Active Contributor
0 Kudos

Hmm - OK - my bad. I thought this was in a compiled web app run via IIS as this is where image problems normally happen. soa set of new questions:

How was CRVS2010 installed? Did you use the install exe, or the MSI?

What drive is CRVS2010 installed on?

- Ludek

lorenzo_comastri
Explorer
0 Kudos

I used the msi and it's installed on drive C.

former_member188030
Active Contributor
0 Kudos

Uninstall all the CR 13 components installed on the machine.

Download and install http://downloads.businessobjects.com/akdlm/cr4vs2010/CRforVS_13_0_2.exe on top of VS 2010.

- Bhushan.

lorenzo_comastri
Explorer
0 Kudos

Done, but nothing has changed

I tried it on a 64bit machine, and I installed only the 32bit part, because my app is targeted against x86 machines...

former_member183750
Active Contributor
0 Kudos

Lorenzo, to integrate CRVS2010 into VS 2010, you must run the install exe, not MSI 32 or 64 bit, not the MSM. Just the install exe. Download the latest one from here:

http://downloads.businessobjects.com/akdlm/cr4vs2010/CRforVS_13_0_3.exe

Do not install any other CR "stuff".

- Ludek

lorenzo_comastri
Explorer
0 Kudos

I installed what Bhushan suggested..

Removed all the previous Cr 13 versions installed on this pc, then installed from the exe...

References from my app point to the newly installed path, so I think the installation went ok..

Still, no images shown..

I can try with the lates link from Ludek, which i believe is newer. I will keep you informed..

lorenzo_comastri
Explorer
0 Kudos

Unistalled CRforVS_13_0_2, installed CRforVS_13_0_3,

same result..no images shown on report..

lorenzo_comastri
Explorer
0 Kudos

Now, the same thing is happening on a pc with windows xp, Vs2008 and Crystal Reports 2008, so in a completely different environment.

I need to sort this out, please help me somebody...

Answers (1)

Answers (1)

lorenzo_comastri
Explorer
0 Kudos

Hi again,

resuming all, I have 3 completely different pcs with the same problem: cannot see images in the preview in web control, when I launch my app from inside VS.

2 are with vs 2010 and Cr for vs 2010 (one is windows 7 32 bit, one windows 7 64bit), one is vs 2008 with Cr 2008 and win xp.

Now i'm almost sure it's a configuration problem, but I cannot guess what it is, and I HAVE to solve it.

Can someone point me in the right direction??

lorenzo_comastri
Explorer
0 Kudos

Just to be sure: is this issue worthless of any more help?

I've followed all the hints and suggestions, remove and re-installed what suggested, without success.

As I already said, I'm not a web specialist, but everything I have done works well, apart from this little particular of the images not showing in the CR web control..

I read all the articles, notes, threads I found about this subject and as far as I can see everything is set up correctly, but of course something is NOT correct.

I need to find out what it is, and I think the only place where I can get some help is this one, or am I wrong?

former_member183750
Active Contributor
0 Kudos

Hello Lorenzo

Please remember that these are community forums only, not technical support as such. E.g.; you may get help, you may not. It may be timely, it may not. We try... Also, some issues simply do not lend them selves to a resolution a forum and creating a phone case should be the next step. Phone incident can be created here:

http://store.businessobjects.com/store/bobjamer/en_US/pd/productID.98078100?resid=S6I@hgoHAkEAAGsiyV...

More info re. these forums is here:

http://scn.sap.com/community/crystal-reports-for-visual-studio/blog/2011/04/07/what-are-these-suppor...

- Ludek

lorenzo_comastri
Explorer
0 Kudos

Hi Ludek,

well ok, this is an answer, at the end...

I will search other ways to solve my issue..

Thank you.

Lorenzo