Display Files with API in web-browser

I'm trying to display display files (not reports).
The download currently completes, but the file is blank.
I am getting the file as an
IInfoObject
by:
IInfoObject obj = TraversalLogic.getInstance().getInfoObject(iStore, Integer.parseInt(objIdStr), "SI_PROGID, SI_FILES");
That being: com.crystaldecisions.client.logic.TraversalLogic
Then trying to print it out with com.crystaldecisions.ePortfolio.plugin.crystalenterprise.content.ContentUtil by
ContentUtil.displayContent(request, response, obj);
It compiles, it runs, but then the output document is blank.  The user can see the objects in infoview.  What am I missing here?

After abandoning ContextUtil and casting these as IContent objects and trying to use: getContent on them, I get the error starting:
The exception originally thrown was: Server Input% not found or server may be down at com.crystaldecisions.sdk.occa.infostore.internal.g.a(Unknown Source)
This lead to the following solution on page 89 of http://help.sap.com/businessobject/product_guides/crs2008V1/en/crs_08_v1_releasenotes_en.pdf:
Solution:
Users attempting to access a BusinessObjects Enterprise XI 3.0 system
using BusinessObjects XI R2 SDK applications may receive the following
system message: "Err: "Server Input% not found or server may be down".
This is caused by a change to the formatting of File Repository Server (FRS)
names between the two versions. To resolve this issue, go to the Central
Configuration Manager and rename your Input FRS to Input.<host
name>.fileserver and Output FRS to Output.<hostname>.fileserver.
Making this change resolved the problem.

Similar Messages

  • Web.show_document cannot display file with Chinese char in IIS 6

    Dear all,
    There is a problem that web.show_document cannot display file with Chinese char in IIS 6, but works fine in IIS 5.
    Is it a server problem or is there any setting in server? Do you know how to solve it?
    Big Thanks
    JY

    Hi,
    As Francois mentioned, this issue has nothing to do with forms / web.show_document. web.show_document, just opens the URL specified as parameter. So, if you run the URL (that you've passed as argument for web.show_document), directly in the browser, you would be getting the same issue.
    So, as you said, if it works fine in IIS 5 and does not in IIS 6, it would be an issue with the IIS and not forms. You might want to check out the IIS 6 release notes / documentation for any known issues / raise an issue in that.
    -Arun

  • Im having problems with my safari Web browser  to opening/viewing pdf files.

    Im having problems with my safari Web browser to opening/viewing pdf files. I installed the 8.1.2 version But then when I click to open any PDF it says that Adobe PDF Viewer cannot find a compatible Adobe Acrobat or Adobe Reader to view this PDF. Please select one.
    i can see the adobe reader but can not select it .

    did you find a solution to this? my safari history is full of
    explicit sites that i have not visited. i see a lot of info on how to remove it, but none on how to figure out how they got there.

  • Adobe Reader DC, doesn't disable "Display PDF Document in the web browser" when option is unchecked.

    The option under Accessibility>Setup Assistanct to uncheck the "Display PDF Document in the web browser" doesn't correctly disable Display PDF in browser when unchecked, it still defaults to opening in Internet Explorer even after restarting the browser.  Confirmed this tested agianst with IE 8, 9, 10 and 11 with the same behavior.  Moving back to Reader 11.0.10 and using this same setting works flawlessly.  Anyone else experiencing this issue?

    I am out of the office until 1/22/13.
    If you need assistance with technical issues, please contact the Help Desk at:  518-402-8888
    >>> Test Screen Name <[email protected]> 01/17/13 10:30 >>>
    Test Screen Name http://forums.adobe.com/people/Test+Screen+Name created the discussion
    "Re: Adobe Reader XI enterprise deploy-disable display PDF in browser?"
    To view the discussion, visit: http://forums.adobe.com/message/5001441#5001441

  • Displaying ABAP report on a web browser

    Hi,   I want to develop a code for displaying ABAP report on a web browser.

    Hi Rao,
    Are you looking for running ABAP report from portal / WDA?
    There are lot of similar threads available on SCN: to run ABAP report in WDA.
    Calling a TCODE PA60 from Web dynpro ABAP
    Call TCode MM02 from ALV
    Please search in SCN, hope you may find many threads.
    Regards,
    Rama

  • Display Report Parameter Form on Web Browser

    I have prepared a report (with a user parameter form )using Report Developer. Then I call the report in a web-based application through the web-browser. the parameter form display normally, except that there are two buttons on the top : submit and return. Also, the layout of the parameter form is not consistent with the style of my application.
    1. Can I customized the layout of the parameter form so that it can have consistent style with my web-based program ? If yes, how?
    2. Can I suppress the buttons shown on the parameter form ?
    (Our Report Server is 9iAS )

    Hi
    Reports built-in parameter form is deliberately fairly simple in capabilities (otherwise, you'd have all the functionality of Forms inside of Reports). However, with JSPs in Reports 9i, you can go farther to create a custom parameter form of your own liking.
    Thanks
    The Oracle Reports Team

  • .xbap file not opening in web browser(IE and Chrome) and just keep on downloading it

    i have developed  small XBAP application and trying to run (F5)
    Problem is when i trying to run the Application,
    its keep on downloading it (.xbap file ) and i can't see an application on Web browser even though i am developing in the local machine with .net 4.5 is installed and all necessary setting in the Internet option done.
    [i just added one button in one page and not much code i have written]
    i tried all the solution which i can get it from Google :-(  but still failed.
    Please provide me the proper solution.

    You have to register the WPF Multipurpose Internet Mail Extensions (MIME) types and file name extensions on the web server if you haven't already done so. Please refer to the following page for more information about how to do this:
    https://msdn.microsoft.com/en-us/library/vstudio/ms752346(v=vs.100).aspx
    If you are using another browser than Internet Explorer you will need to install a plugin:
    http://stackoverflow.com/questions/7337155/how-can-i-get-my-xbap-to-run-in-my-browser-instead-of-downloading-it-on-windows
    https://support.mozilla.org/en-US/kb/How%20to%20enable%20and%20disable%20Windows%20Presentation%20Foundation
    ...but XBAP generally don't tend work that well in other browsers than IE.
    Also make sure that you have enabled the "XAML browser applications" option under Internet Options->Security-> Custom level in IE:
    http://stackoverflow.com/questions/17261858/run-wpf-application-in-browser
    Hope that helps.
    Please remember to close your threads by marking helpful posts as answer and please start a new thread if you have a new question.

  • How to display file contents on a web page

    On unix platform I have created a class that can read the contents of a file and display them to the standard output. But now i want to display these file contents on a web page through jsp. On JSP code I have imported this class and want to assign a record from a file and write it to the screen using html. I think the class needs to be modified in order to return the string record read from a file so that im able to access it from a jsp and assign it to a variable the I can display it on the screen. Can someone help me with these code?

    Actually, you mean Linksys.  BIG difference there.
    Linksys Business Series was accumulated into Cisco Small Business, since it was purpose built for small business, not residential/consumer grade.
    The new PVC2300 actually are Cisco branded on the case.
    The collateral you seek is protected by the business unit that supplies it, since it was placed on a portal that only Cisco registered partners can access.
    As I wrote, I already checked with the BU and they told me thats where it lives and not to hand it out.  I cannot override that. 
    I am not sure there are any secrets in there, but I dont make the rules, sorry.
    Do you want to be a Cisco Partner?   Sign up and gain access to everything you need to sell Cisco successfully to end customers?  If you tell me your geography (city/state/zip, I will have an ICAM call you and help recruit you.....
    Steve D
    Systems Engineer
    U.S. Partner Sales team
    RTP, N.C.

  • Still having problems with QT in web browser

    I posted earlier this week about a cd-rom that I have created that uses a web browser as an interface. The problem is that on my Powermac and Powerbook the videos load instantaneously, but when a Windows user boots up the disk the videos take several moments to load, sometimes several minutes for the larger file sizes. I have saved all the QT files using "Save As" and set them up for Fast Start but still to no avail.
    QuicktimeKirk, you were the only one who replied to my earlier question, and here's a copy of the code for one of the movies:
    <html>
    <head>
    <title>Spring 04 Promo</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    </head>
    <body bgcolor="#999999" text="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
    <OBJECT CLASSID="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" WIDTH="672"HEIGHT="464"
    CODEBASE="http://www.apple.com/qtactivex/qtplugin.cab" align="middle">
    <PARAM name="SRC" VALUE="sprgspot.mov">
    <PARAM name="AUTOPLAY" VALUE="true">
    <PARAM name="CONTROLLER" VALUE="true">
    <EMBED SRC="sprgspot.mov" WIDTH="672" HEIGHT="464" AUTOPLAY="true" CONTROLLER="true" PLUGINSPAGE="http://www.apple.com/quicktime/download/" align="middle">
    </EMBED>
    </OBJECT>
    </body>
    <script>
    windowWidth = 672;
    windowHeight = 464;
    if (parseInt(navigator.appVersion) >= 4) window.moveTo((screen.width/2)-(windowWidth/210),(screen.height/2)-(windowHeight/220));
    </script>
    </html>
    Any ideas?
    G4/350 Powermac+G4/550 Powerbook   Mac OS X (10.3.9)  

    Those data rates are sort of large (especially the audio). But I don't see any reason why a "modern" CD drive couldn't keep up.
    Most .mp3 files are 128 KB/s and MPEG-1 video varies.
    I would do a one minute "test" file with various export settings. Adjust the data rates from the 100 to 300 (video) and again to 300 to 600 and last at 600 to 1,000. The same with the audio (128, 256 and 320).
    You may find that these lower data rates not only speed up playback times but give you a file size reduction that allows you to put more data on a CD.
    Internet Explorer is the most used on PC's. It is far from the best browser.
    Last issue could be graphics cards that control the video playback. You'll want to design your QT .mov files for the lowest end cards.
    This means no H.264 video codecs and lower data rates.
    Your combined data rate is only slightly higher than those found on an audio CD. If the PC can play an audio CD without buffering it should be able to handle your .mov file (even at your current rates).

  • How display a JOotionPane on client WEB browser ?

    Could some body tel if is it possible to use a JOptionPane on a web browser..
    In this code line :
    JOptionPane.showMessageDialog(null,"Le contenu " + chaine + " du "+ champs +" n'est pas valide","Validation",JOptionPane.ERROR_MESSAGE);
    The first paramter is the contener which will display the error message frame..
    Is there any way to set this paramter to the client web browser...
    I use Servlet and JSP with MVC architecture : All my error message are only diplay on a WEB server if i put null in a first parameter of the showMessageDialog..
    How could il display the JOptionPane on a client web broswer ?

    If you want to execute any java code on the client machine (web browser) you MUST write an applet. Consult the tutorials section on the java.sun.com to learn about applets and how to run them.
    Sai Pullabhotla

  • How I would get rid of Firefox if I didn't like it AND just how would I take if off my system AND will it interfere with any other web browser like yahoo ? ALSO where so I go to find these answers ???

    If I download Firefox then decide to remove it - will it interfere with my other web browsers like Yahoo - where are these answers????

    Firefox is easy to remove see [[uninstalling firefox]]
    I imagine many people use multiple browsers, the usual interference is in deciding which one is to be the default browser. You may use firefox without setting it as the default browser.

  • Tricky - PDF file not Opening from Web Browser based application

    Hi Guys,
    Just a brief history about the issue:
    At my client site everything was fine when IE7 was there and everybody were able to open PDF files from web applications in browsers. But after a IE8 upgrade, things changed and customers are facing problems. All are Windows XP SP3 machines
    Issue: If they try to open a pdf file from the browser it just stucks at 0% and hangs with "Cancel" button. Even if they try to save that file it tell downloading and hangs again in the screen without downloading the file.
    Initial fix:
    Open Adobe Reader
    -> select the menu "Edit"
    -> select "Preferences"
    -> select the Category "Internet"
    -> set the indicator "Display PDF in browser"
    -> Reboot the machine
    This fix worrked for some people but many user are still experiencing the same thing even after changing the setting many times.
    Friends, Is there anything else might be creating the trouble here. Please let me know, and why it is that for some systems it is working and for it is not ?
    Thanks,

    There was a browser bug with IE in the past that seemed to span several browser versions.  It had to do with the interaction of the browser and the webserver.  The short version is that I had to toggle the caching option on the folder.
    Here's what I ended up doing for my client:
    Move their PDF documents into a subfolder called forms and all Flash animations into a subfolder called flash
    Marked all folders in the site to "Expire Immediately" (IIS -> highlight root folder -> Properties)
    Individually marked the "/forms" and "/flash" folders to toggle this caching option
    In this way, it allowed dynamic pages to deliver non-cached content (from the server's perspective) and it allowed binary downloads like Flash animations and PDF files to work as expected without errors.  The bug has to do with the cache-negotiation handshaking that goes on between the browser and server.
    This may not be what you're seeing but it's good to remember because I've seen it often:  the settings that you'd use to optimize a web applications don't seem to work for binary downloads like a PDF document.

  • Problem in display file in java applet embeded browser

    hi, i am facing problem to display the file from local drive in java applet embeded browser. here is the error message i get:
    Exception loading file from path:java.security.AccessControlException: access denied (java.util.PropertyPermission user.dir read)
    i think it should be the java security problem and i have try to get the solution from internet. i try to solve by using the fllowing method:
    keytool -genkey -keyalg rsa -alias yourkey
    keytool -export -alias yourkey -file yourcert.crt
    javac yourapplet.java
    jar cvf yourapplet.jar yourapplet.class
    jarsigner yourapplet.jar yourkey
    but the command prompt ask me to enter the keystore password. i try to enter any password. but i show me the error:
    keytool error: java.io.IOException: Keystore was tampered with, or password was incorrect.
    So may i know what is the problem actually?Thanks a lot.

    Hi,
    here is the sample coding :
    import java.applet.Applet;
    import java.awt.*;
    import java.awt.event.*;
    import com.sun.j3d.utils.geometry.ColorCube;
    import com.sun.j3d.utils.applet.MainFrame;
    import com.sun.j3d.utils.universe.*;
    import com.sun.j3d.utils.behaviors.mouse.MouseRotate;
    import com.sun.j3d.utils.behaviors.mouse.MouseZoom;
    import com.sun.j3d.utils.behaviors.mouse.MouseTranslate;
    import javax.media.j3d.*;
    import javax.vecmath.*;
    import java.net.URL;
    import java.net.MalformedURLException;
    import org.web3d.j3d.loaders.VRML97Loader;
    import com.sun.j3d.loaders.Scene;
    public class SimpleVrml extends Applet implements ActionListener {
    String           location;
    String           initLocation;
    Canvas3D     canvas;
    SimpleUniverse     universe;
    TransformGroup     vpTransGroup;
    VRML97Loader     loader;
    View          view;
    Panel          panel;
    Label          label;
    BranchGroup     sceneRoot;
    TransformGroup     examineGroup;
    BranchGroup     sceneGroup;
    BoundingSphere     sceneBounds;
    DirectionalLight     headLight;
    AmbientLight     ambLight;
    TextField      textField;
    Cursor          waitCursor;
    Cursor          handCursor;
    public SimpleVrml() {
    initLocation="cylinder.wrl";     
         setLayout(new BorderLayout());
         GraphicsConfiguration config =SimpleUniverse.getPreferredConfiguration();     
         setLayout(new BorderLayout());
         canvas = new Canvas3D(config);
         add("Center",canvas);
         panel = new Panel();
         panel.setLayout(new FlowLayout(FlowLayout.LEFT));
         textField = new TextField(initLocation,60);     
         textField.addActionListener(this);
         label = new Label("Location:");
         panel.add(label);
         panel.add(textField);
         add("North",panel);
         waitCursor = new Cursor(Cursor.WAIT_CURSOR);
         handCursor = new Cursor(Cursor.HAND_CURSOR);
         universe = new SimpleUniverse(canvas);
         ViewingPlatform viewingPlatform = universe.getViewingPlatform();
         vpTransGroup = viewingPlatform.getViewPlatformTransform();
         Viewer viewer = universe.getViewer();
         view = viewer.getView();
         setupBehavior();
         loader = new VRML97Loader();
         gotoLocation(initLocation);
    public void actionPerformed(ActionEvent ae) {
         gotoLocation(textField.getText());
    void gotoLocation(String location) {
         canvas.setCursor(waitCursor);
         if (sceneGroup != null) {
         sceneGroup.detach();
         Scene scene = null;
         try {
         URL loadUrl = new URL(location);
         try {
              // load the scene
              scene = loader.load(new URL(location));
         } catch (Exception e) {
              System.out.println("Exception loading URL:" + e);
         } catch (MalformedURLException badUrl) {
         // location may be a path name     
         try {
              // load the scene
              scene = loader.load(location);
         } catch (Exception e) {
              System.out.println("Exception loading file from path:" + e);
         if (scene != null) {
         // get the scene group
         sceneGroup = scene.getSceneGroup();
         sceneGroup.setCapability(BranchGroup.ALLOW_DETACH);
         sceneGroup.setCapability(BranchGroup.ALLOW_BOUNDS_READ);
         // add the scene group to the scene
         examineGroup.addChild(sceneGroup);
         // now that the scene group is "live" we can inquire the bounds
         sceneBounds = (BoundingSphere)sceneGroup.getBounds();
         // set up a viewpoint to include the bounds
         setViewpoint();
         canvas.setCursor(handCursor);
    void setViewpoint() {
         Transform3D viewTrans = new Transform3D();
         Transform3D eyeTrans = new Transform3D();
         // point the view at the center of the object
         Point3d center = new Point3d();
         sceneBounds.getCenter(center);
         double radius = sceneBounds.getRadius();
         Vector3d temp = new Vector3d(center);
         viewTrans.set(temp);
         // pull the eye back far enough to see the whole object
         double eyeDist = 1.4*radius / Math.tan(view.getFieldOfView() / 2.0);
         temp.x = 0.0;
         temp.y = 0.0;
         temp.z = eyeDist;
         eyeTrans.set(temp);
         viewTrans.mul(eyeTrans);
         // set the view transform
         vpTransGroup.setTransform(viewTrans);
    private void setupBehavior() {
         sceneRoot = new BranchGroup();
         examineGroup = new TransformGroup();
         examineGroup.setCapability(TransformGroup.ALLOW_CHILDREN_EXTEND);
         examineGroup.setCapability(TransformGroup.ALLOW_CHILDREN_READ);
         examineGroup.setCapability(TransformGroup.ALLOW_CHILDREN_WRITE);
         examineGroup.setCapability(TransformGroup.ALLOW_TRANSFORM_READ);
         examineGroup.setCapability(TransformGroup.ALLOW_TRANSFORM_WRITE);
         sceneRoot.addChild(examineGroup);
         BoundingSphere behaviorBounds = new BoundingSphere(new Point3d(),
              Double.MAX_VALUE);
         MouseRotate mr = new MouseRotate();
         mr.setTransformGroup(examineGroup);
         mr.setSchedulingBounds(behaviorBounds);
         sceneRoot.addChild(mr);
         MouseTranslate mt = new MouseTranslate();
         mt.setTransformGroup(examineGroup);
         mt.setSchedulingBounds(behaviorBounds);
         sceneRoot.addChild(mt);
         MouseZoom mz = new MouseZoom();
         mz.setTransformGroup(examineGroup);
         mz.setSchedulingBounds(behaviorBounds);
         sceneRoot.addChild(mz);
         BoundingSphere lightBounds =
         new BoundingSphere(new Point3d(), Double.MAX_VALUE);
    ambLight = new AmbientLight(true, new Color3f(1.0f, 1.0f, 1.0f));
    ambLight.setInfluencingBounds(lightBounds);
    ambLight.setCapability(Light.ALLOW_STATE_WRITE);
    sceneRoot.addChild(ambLight);
    headLight = new DirectionalLight();
    headLight.setCapability(Light.ALLOW_STATE_WRITE);
    headLight.setInfluencingBounds(lightBounds);
    sceneRoot.addChild(headLight);
         universe.addBranchGraph(sceneRoot);
    public static void main(String[] args) {
    new MainFrame(new SimpleVrml(), 780, 780);
    cylinder.wrl :
    #VRML V2.0 utf8
    # A cylinder
    Shape {
    appearance Appearance {
    material Material { }
    geometry Cylinder {
    height 2.0
    radius 1.5
    view.html:
    <html>
    <applet code="SimpleVrml.class" width=600 height=600>
    </applet>
    </html>
    error msg that i get :
    Exception loading file from path:java.security.AccessControlException: access denied (java.util.PropertyPermission user.dir read)
    i can display the wrl file in applet itself but i can't display in the browser.is it any problem with my code?Urgent, please help me. Thanks.

  • How long should a new battery last when installed for a mac book pro 2009 with only a web browser opened?

    I recently went to the apple store in Covent garden and had a battery replaced for my Mac Book Pro 2009 edition. 
    After fully charging the mac the percentage guage meter displays the battery is losing power fast. 1% increments goes down every 5 minutes even if I have only a browser which is opened and no other running applications. 
    My recent test after a fully charged mac book pro allowed me a maximum use time is 2 hours! 
    I have friends and family members who have the same model as me and their mac book when running on battery, shows that the laptop has about 6 hours use.  They are able to run multiple applications and use sites such as Youtube and still get a good 4 hours of use.
    Anyway, I have booked an appointment with a Mac Genius for tomorrow to look into this issue. 
    I thought I'd just ask the community to find out if any of you can help.
    Many thanks in advance.

    Thank you Donald.
    You are the second person to tell me this so this is more of a reason for Apple to sort out issue for me.
    The team there don't believe there is an issue with the battery.
    Thank you once again.

  • Displaying file from text item after browsing

    hi, how would i display the directory of the file in the text item after i browsed it in windows?
    thanks,
    Majic

    This works...
    DECLARE
    filename VARCHAR2 (200);
    BEGIN
    :SYSTEM.message_level := 25;
    filename :=
    GET_FILE_NAME (directory_name => 'D:\My STAFF\My Pictures\',
    file_filter => 'jpg'
    :block3.text_item4:=filename;
    IF NOT FORM_SUCCESS
    THEN
    MESSAGE ('Unable to read file(The problem may be the format ) "' || filename || '"');
    RAISE form_trigger_failure;
    END IF;
    :SYSTEM.message_level := 0;
    END;
    Just simplify little bit the code....
    Greets

Maybe you are looking for

  • Square root formula

    I have a program that has three columns, in the first column it lists numbers 0-10, in the second column I need to get the square root of each number in the first column. How would I get those results. What is the formula for the square root and how

  • Multiple (updatable) details in the same page.

    Hello, I tried to put two updatable details in the same page and got the error "Updatable SQL Query already exists on page 11. You can only add one updatable SQL query per page. Select a different page" So having more than one updatable detail is not

  • Call dll in labview

    "Hi All, I have to get data from USB camera, I have following functions in DLL. DLLINOUT HANDLE WINAPI CC_Open( LPCSTR CameraName , ULONG CameraNumber , CC_CAPTURE_MODE CaptureMode ) ; and DLLINOUT BOOL WINAPI CC_CaptureSingle( HANDLE Cam , PVOID Buf

  • Micro SIM in iPad 2

    I have moved from the UK to the USA in January and after MUCH aggrovation, have switched my iPhone from Orange to AT&T. My iPad 2 currently has a pay-as-you-go SIM from the UK.  Can this be changed to a US micro SIM? Any help gratefully received...

  • Messy monitor

    I have a mac mini and am using a Samsung Syncmaster 940 MW as my monitor. i am new to the mac world and for some reason everytime my mac starts up the display loses resolution and seems to go to a much lower setting. If I unplug the monitor cable and