SQL report image not showing
When generating a SQL report, external images from a Sharepoint image library are not shown (red X).
An unattended execution account is set correctly, the image exists. I have tried with setting the UseSessionCookies to true/false. nothing seems to work.
Anyone any ideas wath else I can try?
Where you able to solve it . Same thing is happening to me.
Thanks
Similar Messages
-
Crystal Report Images Not Showing - JSP inside /WEB-INF folder
Hi Experts,
I am using Crystal report for Eclipse and also using Struts2 and tiles framework combination.
The problem is when viewing the report all I've got is red X on all images and the graph image also not showing. This is when I use tiles and my jsp is inside the web-inf folder.
This is my struts link: href="s:url value='/report/reportOpen.action?report=1'
I've checked that the path to the viewer generated HTML is not correct. see code below.
src="../../../crystalreportviewers/js/crviewerinclude.js"
But when I test to access a simple jsp viewer that resides on the web root folder, this works fine but of course this is not what I want to have. I need to have my banner and menus on top of the report page (using tiles)
This is my jsp link: href="s:url value='/ReportViewer.jsp?report=1'
Viewer generated HTML below.
src="crystalreportviewers/js/crviewerinclude.js"
This might be a common problem and that you can share to me your solution.
Note: I removed the script tags because I can't submit this entry.
Thank you in advance,
Regards,
Rulix Batistil
Crystal Report Images Not Showing - JSP inside /WEB-INF folderHi Saravana,
After a few experimentation from your idea i was able to figure out the problem and now it is working.
I don't have to copy the folder to where my jsp resides but still maintains it in the root location: web/crystalreportviewers
The changes should always be in web.xml.
1st: change the crystal_image_uri value to ../crystalreportviewers
2nd: change crystal_image_use_relative value to "web"
Change to "web" instead of webapp because that is what I named my web root folder.
<context-param>
<param-name>crystal_image_uri</param-name>
<param-value>../crystalreportviewers</param-value>
</context-param>
<context-param>
<param-name>crystal_image_use_relative</param-name>
<param-value>web</param-value>
</context-param>
Thank you. You showed me the way on how to solve the 3 day problem.
BTW, my next problem is when clicking on any buttons prev/next/print/export, I got this error HTTP Status 404.
Well, at least for now I can view my initial report. I just need to figure out the next issue and with the help of the great people here in the forum.
Thanks a lot.
Regards,
Rulix
Edited by: Rulix Batistil on Nov 26, 2008 7:27 AM -
Crystal Report images not showing up.
Post Author: cfloss
CA Forum: JAVA
I am displaying reports in my web application
using the Viewers SDK. The reports are being displayed with a frame
where the image would be and a small red X in the corner. I have
entries in my web.xml (shown below) that control where the graphic
files are put, and I see the files show up that match the name I see
when I do a view source (shown below), but still no image. The folder
C:\Temp\CrystalReportsImages contains the file crystal63812.png along
with serveral other .png files with a similar naming pattern. Does
anyone have any ideas? web.xml fragment
<context-param>
<param-name>crystal_image_uri</param-name>
<param-value>crystalreportviewers115</param-value>
</context-param>
<context-param>
<param-name>crystal_image_dir</param-name>
<param-value>C:/Temp/CrystalReportsImages/</param-value>
</context-param>
<context-param>
<param-name>crystal_image_no_delete</param-name>
<param-value>true</param-value>
</context-param>
<context-param>
<param-name>CrystalEnableLogging</param-name>
<param-value>true</param-value>
</context-param>
<context-param>
<param-name>CrystalExceptionInfo</param-name>
<param-value>long</param-value>
</context-param>
<context-param>
<param-name>CrystalExceptionLogFile</param-name>
<param-value>C:/temp/CrystalReports.log</param-value>
</context-param>
<context-param>
<param-name>CrystalGenerateEPFDebug</param-name>
<param-value>1</param-value>
</context-param>
html source fragment
<div class="ad1209040389468-0" nowrap="true" style="top:8px;left:9px;width:53px;height:54px;">
<img src="crystalreportviewers115/crystalimagehandler.jsp?dynamicimage=crystal63812.png"
border="0" width="53px" height="54px">
</div>Post Author: Ted Ueda
CA Forum: JAVA
Right-click on the "Red X", copy the complete URL, paste it into the web browser address field where the viewer is displayed, then go.
Do you get an error message?
Is the crystalreportviewers115 folder where it's expected? Is the crystalimagehander.jsp file where it's expected? Ensure you've placed the crystalreportviewers115 folder in the expected location.
Do you happen to have crystalreportivewers115 in a different web app? You can try FileMon:
http://www.microsoft.com/technet/sysinternals/systeminformation/filemon.mspx
to ensure that the web app process is trying to retrieve the image from the correct location.
Sincerely,
Ted Ueda -
I have come across something strange today that I've not seen before. I'm running LR 4.0 under Win7 64-bit. I usually use Photoshop CS6 beta as my external editor, but invoke CS5 when I have to use some tools that don't support the beta. Here is the scenario:
* I have CS5 open
* I externally edit an image in CS5 and Save it from CS5 when I'm done
* The edited image does not show up in LR
* I close LR and reopen it
* There is the edited image!
I have duplicated this many times this evening. I don't think I've seen it when I've used CS6 beta.Something strange is going on because I had the behavior reported of edited image not showing up after using another filter, Nik Silver Efex Pro 2.
-
WT reporter does not show split for tax authorities!
Dear all:
I need to report for all employees some WTs of taxes, but wt reporter does not show the splits for them (to distinguish federal from statal authorities payments), it is like summarises all the same WTs... I tried payroll recon. report but this one does not output the data in ALV format (im in 4.6 version) so it is not useful to run in bulk
Do you have any work around for this?
I would appreciate any tip or workaround on this,
Thank you!Hi
1. Allocated costs are always treated as Fixed costs, unless you have booked the expenses in FI using Activity Type as Aux Account assignment object
2. Check whether these costs are included in Inventory valuation in your Cost Comp Str in OKTZ... If not relevant for inv valuation, these costs wont show up for Variance calculations
br, Ajay M -
BI publisher report is not showing all the data
Hi All,
I have created a report using BI Publisher in R12. The report is not showing all the records.
I have checked the result XML it is also not having all the data. My query returns 846 rows but my report only has 662 rows.
what might be the issue.please give me some idea to resolve this issue.
Thanks in advance.
Regards,
P.KalidossHi Arun,
In the following code: public SelectItem[] getAllPrinters() {
if (allPrinters == null) { // allPrinters is not defined. what type of object it is
PrintService[] printers = PrintServiceLookup.lookupPrintServices(null, null);
allPrinters = new SelectItem[printers.length];
for (int i = 0; i < printers.length; i++) {
SelectItem printer =
new SelectItem(printers.getName(), printers[i].getName());
allPrinters[i] = printer;
return allPrinters;;;
Variable allPrinters is not defined. what type of object it is?
And also the same variable is referenced here <af:selectOneChoice label="Available Printers" partialTriggers="cb1"
value="#{pageFlowScope.applicationPrinterBean.selectedPrinter}"
id="soc1"
autoSubmit="true">
<f:selectItems value="#{pageFlowScope.applicationPrinterBean.allPrinters}" id="si1"/>
</af:selectOneChoice>.
Thanks. -
Crystal report Viewer Not Showing Control Bar Button Icons
Hi
I am using Crystal report along with .net 2003 in web application.
While executing, the report its not showing any errors,but the control bar buttons(print, export, next page last page, previous page, first page, etc ) are showing without there icons.
These invisible buttons can be found by placing the mouse over the specified area, then it shows the tool tip like print etc.
Please give me solution.Would you like to have a look at these:
[1.|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bip/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333233303336333633373339%7D.do]
[2.|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_erq/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333133383333333933313333%7D.do]
[3.|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_dev/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333233303332333533323337%7D.do]
[4.|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_dev/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333233313338333733363334%7D.do]
[5.|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_dev/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333233313336333333303335%7D.do]
[6.|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bip/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333133393338333833393338%7D.do]
Hope this helps!
AG. -
BLOB image not shows in JSP page!!
Hi Dear all,
I had tried to configure how to show BLOB image to jsp page . The code are works fine and servlet works ok but image can not show only. can you help me that what need to be added. Please help me.
Can any experts help me? BLOB image not shows in JSP page. I am using ADF11g/DB 10gR2.
My as Code follows:
_1. Servlet Config_
<servlet>
<servlet-name>images</servlet-name>
<servlet-class>his.model.ClsImage</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>images</servlet-name>
<url-pattern>/render_images</url-pattern>
</servlet-mapping>
3. class code
package his.model;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.util.Iterator;
import java.util.Map;
import javax.servlet.ServletConfig;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import oracle.jbo.ApplicationModule;
import oracle.jbo.Row;
import oracle.jbo.ViewObject;
import oracle.jbo.client.Configuration;
import oracle.jbo.domain.BlobDomain;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
public class ClsImage extends HttpServlet
//private static final Log LOG = LogFactory.getLog(ImageServlet.class);
private static final Log LOG = LogFactory.getLog(ClsImage.class);
public void init(ServletConfig config)
throws ServletException
super.init(config);
public void doGet(HttpServletRequest request,
HttpServletResponse response)
throws ServletException, IOException
System.out.println("GET---From servlet============= !!!");
String appModuleName = "his.model.ModuleAssetMgt";//this.getServletConfig().getInitParameter("ApplicationModuleName");
String appModuleConfig = "TempModuleAssetMgt";//this.getServletConfig().getInitParameter("ApplicationModuleConfig");
String voQuery ="select ITEM_IMAGE from MM_ITEMIMAGE where IMAGE_NO = 'P1000000000006'" ;// 'P1000000000006' this.getServletConfig().getInitParameter("ImageViewObjectQuery");
String mimeType = "jpg";//this.getServletConfig().getInitParameter("gif");
//?IMAGE_NO='P1000000000006'
//TODO: throw exception if mandatory parameter not set
ApplicationModule am =
Configuration.createRootApplicationModule(appModuleName, appModuleConfig);
ViewObject vo = am.createViewObjectFromQueryStmt("TempView2", voQuery);
Map paramMap = request.getParameterMap();
Iterator paramValues = paramMap.values().iterator();
int i=0;
while (paramValues.hasNext())
// Only one value for a parameter is expected.
// TODO: If more then 1 parameter is supplied make sure the value is bound to the right bind
// variable in the query! Maybe use named variables instead.
String[] paramValue = (String[])paramValues.next();
vo.setWhereClauseParam(i, paramValue[0]);
i++;
System.out.println("before run============= !!!");
// Run the query
vo.executeQuery();
// Get the result (only the first row is taken into account
System.out.println("after run============= !!!");
Row product = vo.first();
//System.out.println("============"+(BlobDomain)product.getAttribute(0));
BlobDomain image = null;
// Check if a row has been found
if (product != null)
System.out.println("onside product============= !!!");
// We assume the Blob to be the first a field
image = (BlobDomain) product.getAttribute(0);
//System.out.println("onside run product============= !!!"+image.toString() +"======="+image );
// Check if there are more fields returned. If so, the second one
// is considered to hold the mime type
if ( product.getAttributeCount()> 1 )
mimeType = (String)product.getAttribute(1);
else
//LOG.warn("No row found to get image from !!!");
LOG.warn("No row found to get image from !!!");
return;
System.out.println("Set Image============= !!!");
// Set the content-type. Only images are taken into account
response.setContentType("image/"+ mimeType+ "; charset=windows-1252");
OutputStream os = response.getOutputStream();
InputStream is = image.getInputStream();
// copy blob to output
byte[] buffer = new byte[4096];
int nread;
while ((nread = is.read(buffer)) != -1)
os.write(buffer, 0, nread);
//System.out.println("Set Image============= loop!!!"+(is.read(buffer)));
os.close();
// Remove the temporary viewobject
vo.remove();
// Release the appModule
Configuration.releaseRootApplicationModule(am, false);
} 3 . Jsp Tag
<af:image source="/render_images" shortDesc="Item"/> Thanks.
zakir
====
Edited by: Zakir Hossain on Apr 23, 2009 11:19 AMHi here is solution,
later I will put a project for this solution, right now I am really busy with ADF implementation.
core changes is to solve my problem:
byte[] buffer = new byte[image.getBufferSize()];
int nread;
vo.remove();
while ((nread = is.read(buffer)) != -1) {
os.write(buffer);
}All code as below:
Servlet Code*
public void doGet(HttpServletRequest request,
HttpServletResponse response) throws ServletException,
IOException {
String appModuleName =
"his.model.ModuleAssetMgt";
String appModuleConfig =
"TempModuleAssetMgt";
String imgno = request.getParameter("imgno");
if (imgno == null || imgno.equals(""))
return;
String voQuery =
"select ITEM_IMAGE from MM_ITEMIMAGE where IMAGE_NO = '" + imgno + "'";
String mimeType = "gif";
ApplicationModule am =
Configuration.createRootApplicationModule(appModuleName,
appModuleConfig);
am.clearVOCaches("TempView2", true);
ViewObject vo = null;
String s;
vo = am.createViewObjectFromQueryStmt("TempView2", voQuery);
// Run the query
vo.executeQuery();
// Get the result (only the first row is taken into account
Row product = vo.first();
BlobDomain image = null;
// Check if a row has been found
if (product != null) {
// We assume the Blob to be the first a field
image = (BlobDomain)product.getAttribute(0);
// Check if there are more fields returned. If so, the second one
// is considered to hold the mime type
if (product.getAttributeCount() > 1) {
mimeType = (String)product.getAttribute(1);
} else {
LOG.warn("No row found to get image from !!!");
return;
// Set the content-type. Only images are taken into account
response.setContentType("image/" + mimeType);
OutputStream os = response.getOutputStream();
InputStream is = image.getInputStream();
// copy blob to output
byte[] buffer = new byte[image.getBufferSize()];
int nread;
vo.remove();
while ((nread = is.read(buffer)) != -1) {
os.write(buffer);
is.close();
os.close();
// Release the appModule
Configuration.releaseRootApplicationModule(am, true);
}Jsp Tag
<h:graphicImage url="/render_images?imgno=#{bindings.ImageNo.inputValue}"
height="168" width="224"/> -
Another Images not Showing up thread
I know there are multiple threads out there about images not showing up on the login page of application express, and I have browsed most of them without success.
My images folder is in:
C:\oracle\product\10.1.0\db_1\Apache\Apache\images\
My dads.conf file has specified:
Alias /i/ "C:\oracle\product\10.1.0\db_1\Apache\Apache\images\"
Address of missing image in I.E. is:
http://<host>:7777/i/htmldb/apex_logo.gif
When I ran @apexins I specified /i/ for the virtual images directory.
I am running Oracle Database 10gR2, with Oracle HTTP Server that came with the Oracle Database 10g Companion CD Release 2.
I am using APEX 3.2.
When I try to go to
http://<host>:7777/i/
I get:
You don't have permission to access /i/ on this server.
I also cannot login to APEX. When I type my username/password and click the Login button, it does nothing (nothing loads, nothing changes... nothing happens). I don't know if this is related?
Thank you,
~TomI found the problem -
In my dads.conf file I had:
Alias /i/ "C:\oracle\product\10.1.0\db_1\Apache\Apache\images\"
When I really needed:
Alias /i/ "C:\oracle\product\10.1.0\db_1\Apache\Apache\images/"
Note the end slash after images changed from backslash to forward.
Silly me. -
Report does not show Quotation price
Dear friends,
What may be the reason, that my report does not show the quiotation price, though Sales order price, revenue price shows normal?
Please give some probabilities.
Raocheck your plan profile OPSB if automatic rev planning for both Quotation and Sales order is ticked
-
Images not showing in the jlabel/jbutton
Hello all,
I've a package in which my cards directory is located along with all my src files and compiled classes. All my images ****.gif files are inside this directory.
Then I've following the icon object.
protected static JLabel lblDeck;The following code is used to get the image.
String imgPath;
imgPath = isImageExists("imgBG1.gif");
if (imgPath == "")
{ // If the image of Card Deck(imgDeck) is not Found
lblDeck = new JLabel();
lblDeck.setBackground(new Color(0, 64, 128));
lblDeck.setOpaque(true);
flagImgDeckFound = false;
} else {
// If the image of Card Deck is Found
imgDeck = new ImageIcon(imgPath);
lblDeck = new JLabel(imgDeck);
// Check if the image exists else return "";
protected String isImageExists(String imgName) {
java.net.URL imgURL = getClass().getResource("cards/" + imgName);
if (imgURL != null)
{ return (imgURL.toString()); }
else
JOptionPane.showMessageDialog(null, "File not Found: " + imgURL);
return "";
}I'm still unable to get the image in the jlabel!
When i checked the path, it is exactly returning the path of the file.
But its neither loading the image into the jlabel nor is it returning "".
This is just the label part i've other jbuttons also. Even they are not displaying any images.aLkeshP wrote:
can everyone see this thread?
YES FER-CHRISE-SAKE.
Just how many times do you intend posting the same identical question?
images not showing in the jlabel/jbutton
Problem in imageicon
iconImage on JButton & JLabel
Re: images not showing in the jlabel/jbutton -
Bex report does not show loaded data at once
Hi experts,
Why Bex report does not show loaded data at once after loading is finished but after some time?
Could be the reason of it:
a) huge amount of data in infocube.
b) there are no deleting/creating indexes before/after loading, because it takes too much time
c) anothe reason?
Thank you,
Tigr_ZHi Tigr,
A and B both can be the reasons behind, but normally in case of B option the results on report output can be wrong like duplicates sort of showing you double figures.
C - it can be resource issue, so please look into all and double check with basis if thats the case.
Regards
Sunny -
Images not showing in the report
Version: Crystal Reports XI
Hi,
Currently I have a report that has images from the database (blob) , logo, and images that I inserted in the report. The report is being called by a jsp page. Our crystal server is installed in unix server.
When we try to run the report thru our web interface...... the report runs but the images are not showing. it only shows like x image in it.....
Don't have any idea how to resolve this....... please helpIf you are using Web Service to access Reports through BOXI server, then as per documentation you need to call getImage of ReportEngine with callback handler after you call getDocumentInformation.
Refer to the developer's guide -
http://devlibrary.businessobjects.com/BusinessObjectsXIR2/en/devsuite.htm#en/WS_SDK/wssdk_consumer/doc/wssdk_dg/DevelopingConsumerWebApps18.html -
Images not showing on report in infoview
I have a letterhead report that has multiple pages with members accounts etc. I have a image in Page Header and one in Report Footer. If I run this report with multiple accounts that would bring back say 5 Records(5 Letterheads) on Crystal Reports it works fine but soon as I post and run in infoview the images on show on 1st and 2nd record after that there is a box saying image loading which never loads so if you print out letterheads the image is only on 2 pages the rest have just the account info etc.
Any ideas?Which version of BO or Crystal Report Server are you using to access InfoView...?
What happens if you SCHEDULE the report in InfoView to Crystal and PDF formats...? -
Report does not show updated data
Hi,
We are currently testing our AV implementation.
AV server, agent and collectors are up, but the reports are not being updated.
Reports are showing data as of Dec-22-2009, which is when the last time the unix servers (for both AV and source dbs) were rebooted.
We can see collection is happening:
SQL> select max(av_time) from avsys.av$rads_flat;
MAX(AV_TIME)
19-JAN-10 12.34.41.150446 PM
But the dw table is not being updated:
SQL> select max(av_time) from avsys.audit_event_fact;
MAX(AV_TIME)
22-DEC-09 04.58.55.255456 PM
Does anybody have any idea?
thank youhi Karun,
correction, there are a couple of trace files after the db was restarted prior to starting AV and the collectors.
below are the message content:
trace file #1)
Instance name: AVDB
Redo thread mounted by this instance: 0 <none>
Oracle process number: 0
Unix process pid: 24635, image: oracle@audit1
Dynamic strand is set to TRUE
Running with 2 shared and 48 private strand(s). Zero-copy redo is FALSE
trace file #2)
Instance name: AVDB
Redo thread mounted by this instance: 1
Oracle process number: 30
Unix process pid: 24922, image: oracle@audit1 (TNS V1-V3)
*** ACTION NAME:() 2010-01-19 14:39:46.215
*** MODULE NAME:(sqlplus@audit1 (TNS V1-V3)) 2010-01-19 14:39:46.215
*** SERVICE NAME:(SYS$USERS) 2010-01-19 14:39:46.215
*** SESSION ID:(213.1) 2010-01-19 14:39:46.215
kwqmnich: current time:: 22: 39: 46
kwqmnich: instance no 0 check_only flag 1
kwqmnich: initialized job cache structure
what could this mean?
thank you!
Maybe you are looking for
-
Extracting updated data from SAP R/3 to BOBJ DS
Hi all, I have a doubt reg extracting updated data from SAP to BOBJ DS. For example i am extracting 50000 records from SAP table to BOBJ DS say its taking half an hour, after extracting data 10 more records have added in the same table. Do we need ex
-
We need a small SSIS package to pass a SOAP message to a SOAP server and receive the response xml message. We have the SOAP Endpoint, SOAP Action, and SOAP Message (which contains authentication elements). They work in a Talend Data Integration job
-
how do I re-install passbook
-
Hi All, Can you help me in understand the Demand netting, Open Orders for Demand Netting and Shipped Orders for Demand Netting in Demand Planning and also in SNP. your help highly appreciated. Thanks Chandana.
-
How to update 2 TransformGroup at exactly the same time?
Hi all, In my 3D scene, I would like to apply transformation to my shapes at the same time that my eye point is moving; for example, just like in car racing games where your car is always visible in front of you, and your eye point and lookAt point c