c# - Crystal Reports Graph image not displaying -
i'm running iis 8.5 on windows 2012 r2 using crystal reports vs2010 service pack 9.
no matter cannot image display in viewer... other elements of report fine.
i've tried adding handler seemingly has no effect:
<add verb="get" path="crystalimagehandler.aspx" type="crystaldecisions.web.crystalimagehandler, crystaldecisions.web,version=13.0.2000.0, culture=neutral, publickeytoken=692fbea5521e1304"/>
the site / app pool running under local account , account has full permission c:/windows/temp - network service.
furthermore can see graph image created in c:/windows/temp .... blooming viewer not display it.
the site running virtual directory, parent site has aspnet_client setup virtual directory - why viewer button images etc displayed correctly.
p.s. fiddler4 giving status code of 302 (found?) image too!
any ideas? i'm bit stumped on one.
the issue twofold... crystalimagehandler.aspx not being assigned, , routing in mvc blocking once defined.
the solution specify ignoreroute entry in registerroutes()
routes.ignoreroute("crystalimagehandler.aspx/{*pathinfo}");
and put 2 entries in web.config...
<system.web> <httphandlers> <add verb="get" path="crystalimagehandler.aspx" type="crystaldecisions.web.crystalimagehandler, crystaldecisions.web, version=13.0.2000.0, culture=neutral, publickeytoken=692fbea5521e1304" /> </httphandlers> </system.web>
and
<system.webserver> <handlers> <add name="crystalimagehandler.aspx_get" verb="get" path="crystalimagehandler.aspx" type="crystaldecisions.web.crystalimagehandler, crystaldecisions.web, version=13.0.2000.0, culture=neutral, publickeytoken=692fbea5521e1304" precondition="integratedmode"/> </handlers> </system.webserver>
Comments
Post a Comment