Linked OLE Object on a Web Server

I searched for the answer to this, and haven't found it.  If it's already been answered, and I missed it, I apologize.
I have a report (several actually) that has a link to a MS Word document.  It was added to the report as an OLE object, type "Document", update "Automatic".  The location of the document is C:\Program Files\Common Files\AppName\BlahBlah.DOC.
The report is installed in two places.  In one place, C:\Program Files\AppName\ , I have a winforms app that opens and displays it.  The report links dynamically and works like a champ.  Changes to the document appear in the report.
The report is also installed to C:\inetpub\wwwroot\AppName\Reports.  There's a web app running there that prints the report.  It looks good, except it only shows the snapshot of the original document as it was when the report was created.  Changes to the .DOC are not appearing.
I'm sure the problem is that the path to the document is in the C:\Program Files\ ...  directory which isn't in the web path of C:\inetpub\wwwroot\AppName.  Normally, a web server can only see the files in it's own directory tree, as that is it's root directory.
When the document is originally added to the report, it won't let me set the link as "./Reports/BlahBlah.DOC".  That would solve the problem.  But it stores the full path, which isn't available to the web app.
I'm sure theres something simple that I must do to make this work, but I haven't found a solution yet (perhaps because the answer is too simple).  Thanks in advance.
Glenn

Hi Glenn
Please provide following information:
1.Version of crystal reports(HELP>>About Crystal reports)
2.Is crystal reports embedded in any other application
3.What is your runtime environment(.NET,Java)
4.Are you programatically modifying report(s).
FYI -
1.In crystal reports stand-alone application(XI Release 1,XI Release 2,CR 2008),user is able to insert a .doc and when the 'Link' checkbox is checked (while inserting the doc into the report),the changes are automatically reflected.
2.As a test,you can create a new report (in any of the versions mentioned above)on Xtreme sample database(using odbc connection and the "Xtreme sample database 11.5" dsn),and insert an OLE object in the report.
Thanks

Similar Messages

  • 'Hiding' linked OLE objects

    Post Author: david76r
    CA Forum: General
    Hi There,
    I'm using Crystal 9 to create PeopleSoft checks.  For security purposes, we would like the signature images to appear only when the report has access to the linked image, which is on a floppy disk.  i.e, no disk, no signatures.
    I have inserted the images as linked OLE objects, however, the images are showing up even though the disk/source is not present. Could someone advise as to how to make this images show only when the source is available?
    thanks

    Older versions of Crystal reports would only update the OLE images when the report was opened. Later versions allow you to use a database field with a path to link the objects through.

  • How to create a DSN for Oracle Provider for OLE DB in a web server

    Dear Guys,
    I am a Excel VBA developer.
    My requirement is from the Excel I have to call a Stored Procedure with REF CURSOR.
    Normally I am using Microsoft ODBC for Oracle Driver for connecting Oracle DB, which is in the Server .
    We have users using the Excel reports across the globe.
    Sending Excel report is enough, the clients can connect DB from Excel via the DSN created in a web server.
    But, I came to know that we can't access the REF CURSOR using Microsoft ODBC for Oracle Driver and it is possible to access by using ORA OLE DB Provider.
    I have installed Oracle Client in my machine and tried using ORA OLE DB Provider like below
    +con.ConnectionString = "Provider=OraOLEDB.Oracle.1;User ID=user_name;" & _+
    +"Password=pwd;Data Source=Oracle;"+
    The Excel worked fine in my machine but when I run the same Excel in my user machine in a different country I couldn't connect to DB.
    Because the user machine doesn't have Oracle Client installed. We have n number of users across the world and we can't install Oracle client individually.
    So, I have the plan of creating a DSN in a web sever as I used for Microsoft ODBC for Oracle Driver.
    But, my doubt is how can I create a DSN for accessing ORA OLE DB provider? Is there any driver for ORA OLE DB provider? or is there any alternate solution for my issue?
    Can anybody help me on this ASAP?
    Thanks & Regards,
    Satz

    I have created a DSN in a web server (a Public IP machine) that is mapped to a Oracle DB.
    In my Excel using VBA coding, with the help of RDO object I will call the DSN in the Web server using the connection string like "DSN=ORS;UID=SDATA;PWD=SDATA;"
    This is working fine and in this case the client machine doesn't need Oracle client to be installed or any TNS entry.
    The user can run the Excel report by clicking a button and the click event connects the DSN in the web server (through its URL) and routes to the mapped DB and fetches the quried data.
    Please note that the above DSN is created based on Microsoft ODBC for Oracle driver.
    But the issue is using the Microsoft ODBC for Oracle driver I couldnt call the SP with Ref Cursor.
    When I searched in Internet I came to know using the provider oraoledb.oracle we can call SP that uses REF CURSOR.
    Now my question is what is the driver name that I can use to create a DSN to make use of the provider oraoledb.oracle for calling the SP with REF CURSOR from Excel VBA coding ?
    Appreciate your prompt reply.
    Thanks & Regards,
    Sathish

  • Linked Ole Object with MS Word has bad resloution / invalid fonts

    Post Author: Winfried Boennhoff
    CA Forum: .NET
    Environment: .Net 2003 Viewer with external .rpt created by CR XI
    As result I get a bad resolution of the word document and the original fonts are not supported, I tried all common fonts. The font used by CR seems to be default font with a very bad resolution.
    The same effects not only with MS word, although with an linked PDF or any image. All have a very bad resolution.
    Is this a known Problem? Any Idea?

    Post Author: fwinter
    CA Forum: .NET
    We have the same problem. A page footer generated in Word, embedded in a CR-Report shows in the report viewer with overlapping characters. This is "a known limitation" we were told. Not really a problem, but when exported to PDF, the PDF also shows the overlapping characters and prints with overlapping characters as well. This is our problem!We've tried different fonts, different font- an pagesizes in Word, the "can grow" checkbox etc. We believe, the result is affected by the printer driver but cannot really find a way, to avoid the problem and get a clear print at all of our customers.Anyone figured out how to solve the problem? CA Support unfortunatly couldn't help   We are using CR Merge Moduls XI R2 in our Report Viewer, Word 2003, Problem appears on local machines as well as on Citrix.

  • OLE objects linked to MS Word/MS Excel do not update in InfoView

    I am facing the following problem:
    - Embedded a Word document as linked OLE object into a crystal report and stored it to Enterprise repository.
    - When opening the report with CR Developer from my workstation, links are updated and changes made in the .doc file are reflected, the report is updated
    - However when displaying and refreshing the report in InfoView changes aren't reflected.
    The OLE link (type document) is set to update automatically. I tried to store the report to the enterprise repository with and without data. Yet no difference - no update in either case. Neither scheduling nor opening and refreshing the report in InfoView helps.
    I further inserted an OLE object linked to a bmp image, and for the image refreshing works, even in InfoView
    So am I doing something wrong?
    Some threads in this forum indicate that only OLE linked pictures (bmp, jpg) can be refreshed dynamically, e.g.
    [Dynamically change path to OLE file]
    Others indicate that it is also possible to dynamically refresh OLE objects linked to .doc, e.g.
    [Re: Link to Word document doesn't refresh when running from Infoview]
    - Is it at all possible to dynamically display the contents of .doc or .xls files in a CR when viewing and refreshing the report in InfoView (without the need to reopen and resave the report with CR Developer first) ?
    - We are using BOE XI3.1 SP3 and Crystal Reports 2008 SP3.  On the BOE server Crystal Reports Developer is not installed. Can this be a prerequisite for the OLE links to update in InfoView?
    - Any other suggestions?
    Thanks
    Konrad

    Hi Don,
    Thank you for the quick reply.
    - You say that this works in CR Designer. That's right. As described above, even I can open the report with CR Designer and the links are getting updated.
    - However if I do not reopen and resave the report with Designer ... if I just open and refresh the report in InfoView to get the updated information from the files ... changes are not shown. I face this problem ONLY with ole links to .doc and .exe. OLE links to image formats such as .bmp do work. WHY?
    My files are already stored locally to the BO server and the (changed) image files are read and updated from exactly this directory. But not the linked Excel and Word files...
    Thanks
    Konrad
    Edited by: Konrad Hartl on Jan 25, 2011 8:04 PM

  • Opening Linked Excel OLE Objects in Forms 6i

    Hi,
    I have a linked Excel OLE object which is populating properly into an OLE container. However, I cannot open the file to save a local copy, as I would a non-linked Excel OLE object. If I right-click on the linked OLE object choose copy, I can paste the data into a spreadsheet, but it appears as an image, rather than as regular tabulated data. Is there anyway to open the file normally?
    Thanks in advance.

    Hi Shay,
    Thanks for the reply but i was unable to register to metalink. they need some support agreement code which i do not have. Can you please give me some more information on how to use that.
    waiting for an early reply.
    Warm Regards
    Vivek Bajaj

  • Linked Wordpad Object in Asynchronous call

    Hi everyone,
    I detect an issue when loading reports in asynchronous mode:
    1: I have a linked Ole object to a wordpad document saved in disk.
    2: When calling report.load in normal(synchronous) way it loads the report just fine.
    3: When calling report.load in an asynchronous thread (server side), the thread just enters in a 'limbo' state and i can't debug it anymore. Worse, somehow it launches 3 winword processes that steels 100% cpu usage. I have to kill the winword processes before i get a message to get rid of cpu memory space.
    I know its weird but have someone experienced the same problem before?
    Can anyone help me with this?
    Thanx

    Well, I solved the problem... it had nothing to do with being sync or async...
    The problem was in the report. Having a specified default printer when opening the report at design, if the operating system doesn't find the printer, it gives a warning message.
    When doing report.Load at runtime, the system freaks out and has the problem specified at first post.
    If the report doesn't have a default printer it works fine with no problem.
    Hope this helps someone

  • Where to download Iplanet web server?

    I am looking for a download link to Sun Java System Web server (Oracle iPlanet Web server). Someone here knows the link? It has been a day and the closest link that I can get is just http://www.oracle.com/technetwork/middleware/iplanetwebserver-098726.html. However, it leads me somewhere else.
    Thanks

    Can you be more specific? I can only find Sun versin 7.0.8.
    This web site is really, really horrible. The links for iplanet download take you to jdeveloper or, they're completely broken.
    thanks

  • WAS 6.40 with Apache 2.0 Web Server

    Hello All,
    I would like to separate the web server from the app server in a classic n-tiered architecture.  Does WAS 6.40 provide you with an Apache module that functions similarly to the mod_weblogic module for BEA or the mod_jk connector for JBoss/Tomcat?  Or must I configure Apache as an r-proxy?
    Any advise or pointers to docs would be greatly appreciated.
    Thanks,
    Craig

    Hi Craig,
    I have never heard that it is possible to separate the web server from the WAS.
    Here are two very interesting links that could help you. First is a link to some documentation about the SAP Web Dispatcher.
    http://help.sap.com/saphelp_nw04/helpdata/en/e9/3bb7f8f6ea4e938ef0b9687cbb6c14/frameset.htm
    And here is a link about configuring the Apache Web Server as the Intermediary Server
    http://help.sap.com/saphelp_nw04/helpdata/en/18/5cea2296190e4cb7faf9468ad793ea/frameset.htm
    Hope that helps!
    Best regards
    Renald

  • Help for Installing PHP and Sun One Web Server

    Hi
    I tried to install PHP 5.1.4 and Sun One Web Server 6.1. I am not able to complete this and got stuck. All the available materials in net seems to flow above my head.
    It will be very helpful if someone could let me know the step by step configuration a bit brief for the same.
    Thanks in advance
    Kathirvel Balakrishnan

    Hi Craig
    I am following these steps,
    1st step : Installing PHP on the WindowsNT server (NT users only)
    Copy the php files on your server
    Get the php zip file
    Copy the php files under a directory (for example : d:php4)
    (be careful don't use c:Program Filesphp because of the space between Program and Files
    copy php4ts.dll to c:winnt and msvcrt.dll if you don't already have it on your system
    Edit php.ini-dist
    rename php.ini-dist to php.ini
    Edit php.ini : Indicate in which directory you have copied youre php files. (extension_dir = d:php4extensions ; directory in which the loadable extensions (modules) reside.)
    copy php.ini in winnt directory (php.ini is parsed in my config)
    Matthias Kramer told me that he had to move php.ini to <path-to-netscape-server>/https-servername/config for it to be parsed
    Make a file association under Windows NT
    In a DOS Window, type assoc .php=PHPScript
    ftype PHPScript=d:php4php.exe %1 %*
    Test the 1st step
    Create a C:test.php file with a single line like <? echo("Nothing to write"); ?>
    Create a C:test.bat file with 2 lines test.php
    pause
    double-clic on test.bat
    If you see something like X-Powered-By: PHP/4.0.3
    Content-type: text/html
    Nothing to write
    then the NT association works!!
    2nd step : Configuring Netscape Enterprise Server or iPlanet for PHP4 with nsapi (NT & UNIX)
    Unix users only
    Compile PHP as follows: ./configure --with-nsapi=/usr/local/netscape/server4 --enable-libgcc
    make
    make install
    Add LD_LIBRARY_PATH=<libdir> to your Netscape server startup script
    where <libdir> is the full path to the directory where libstdc++.so.2.10.0 is located (usually /usr/local/lib)
    Add a mime-type to the Netscape Server
    In the Netscape Administration console chose Preferences|Mime Types
    Add a new type called magnus-internal/x-httpd-php for exts=php
    Click here for screenshot
    Stop your Web Server
    Make a copy of obj.conf located in: <path-to-netscape-server>/https-servername/config
    Modify obj.conf
    There are several section in obj.conf
    At the end of the Init section of obj.conf (necessarely after mime type init),
    place this two lines For NT users
    Init fn="load-modules" funcs="php4_init,php4_close,php4_execute,php4_auth_trans" shlib="d:/php4/sapi/php4nsapi.dll"
    Init fn="php4_init" errorString="Failed to initialise PHP!"
    For Unix users
    Init fn="load-modules" funcs="php4_init,php4_close,php4_execute,php4_auth_trans" shlib="/usr/local/netscape/server4/bin/libphp4.so"
    Init fn="php4_init" errorString="Failed to initialise PHP!"
    In The < Object name="default" > section,
    place this line (necessarely after all 'ObjectType' and before all 'AddLog' lines) Service fn="php4_execute" type="magnus-internal/x-httpd-php"
    Add a new object called x-httpd-php <Object name="x-httpd-php">
    ObjectType fn="force-type" type="magnus-internal/x-httpd-php"
    Service fn=php4_execute
    </Object>
    Restart your Web Server
    Test the 2nd step
    Put the test.php file in the document root of your server
    Then type http://server/test.php
    If you can see "nothing to write" in your browser then it works!
    AS mentioned in step 1,
    I am not getting the PHP message.
    I am installing it in my laptop, it has no IP, is that has to do something with this.
    Please guide me from here.
    Thanks in advance
    Kathirvel

  • OLE object not linking... is CR10.5 on VS2008

    Running Crystal Reports 10.5 which comes with VS2008
    i have inserted an OLE object and told the Insert object to Create From File - i then browse to the location of the BMP file and click on link
    I do NOT have Display as Icon checked
    the image does not show up - has the name of the image (Command Line)
    i've saved the report, closed the report and reopened it - there is NO updating links message
    and when i run the report, the image isn't displayed
    How do i get it to display the image and not the icon...
    this really shouldn't be this hard.

    Hello,
    Try adding the following line in <httpHandlers> section of web.config
    <add verb="GET" path="CrystalImageHandler.aspx" type="CrystalDecisions.Web.CrystalImageHandler, CrystalDecisions.Web, Version= 10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>
    Thanks,
    Saurabh

  • External Web Server links to internal web server on LAN - how to configure?

    I'm hoping someone can give me a bit of assistance with some routing configurations:
    Currently, I have a Cisco PIX 515E that's handling my VPN and routing/DNS, etc. I'm dumping the PIX (it's overkill for my organization and it's costing too much money for Cisco-certified techs to come in and still not configure it correctly for my needs - long story).
    Furthermore, an external website hosted with our ISP links to a public IP (let's say 192.x.x.1) that points through the current PIX firewall, through a DMZ, and then to a webserver hosted locally behind our firewall.
    I'd like our Xserve to take over for the PIX, providing VPN access, DNS, etc. and to properly route calls from the web to 198.x.x.1 to the correct server behind out network.
    The Xserve has two NIC cards, one on a public IP 192.x.x.2 (for the sake of this discussion) and one with it's internal address of 10.1.0.2 for file sharing, etc.
    The internal web server also has 2 NIC cards, one that listens for the links to 192.x.x.1, and one that listens locally on 10.1.0.80 for LAN application services.
    How do I configure DNS/etc. on the Xserve to properly channel the incoming calls to 192.x.x.1 to properly reach the server they're supposed to reach?
    Any help is appreciated. If more info is needed, I'm happy to provide.
    Thanks in advance!

    I've read your post several times and I'm pretty sure I understand what you're saying, until the line:
    >How do I configure DNS/etc. on the Xserve to properly channel the incoming calls to 192.x.x.1 to properly reach the server they're supposed to reach?
    Assuming that the 192.x.x.1 address is a real-world, public IP address that the web server is using, you want all requests from the outside world to go to this address, correct? but requests from the inside world want to go to the 10.1.0.80 address on that server?
    That part I get - you want split DNS, which is not trivial to setup, but is manageable. The part I don't get is where the firewall comes in - you're removing the pix and replacing it with an XServe, but the web server has a public IP address in the same range as the XServe's public IP address and on that basis no traffic is going to flow through the firewall.
    So I'm not sure if this is a firewall or a DNS question.
    Split DNS will handle the internal vs. external traffic going to the different IP addresses of your server. You can't use Server Admin to do this (it can't handle multiple views of the DNS), but it is possible to do by hand.
    The firewall element stumps me, though - but if the XServe is going to run as the firewall you might just find it easier to put the web server behind the firewall and forget the whole DMZ concept.
    Then again, you could get the PIX operating correctly - it's a viable firewall appliance and I'd be surprised if it couldn't do what you want here.

  • How to use OLE object in Forms6i on web

    Hi,
    I am migratiing 4.5 forms to 6i on web, in 4.5 there is ole to invoke WINWORD, is it possible in 6i on web to invoke WINWORD form the client machine??
    null

    Hello GopalY,
    In my experience its not possible to call OLE object in Webui. Maybe customer 3 party application will be supply some web service to handle credit card payments. I think this is the simple way to access 3party application.
    Regards,
    Zafer,

  • Converting OLE Object in Sql Server to Oracle

    SQL Server contains datatype OLE Object. This is basically an array of binary floating point data where each value of the array is 4 byte long. How can I store these values in Oracle database.
    null

    You cannot specify the precision/scale or length of input paramters to a stored procedure in Oracle, or at least the pl/sql engine does not respect the sizing. Assuming that you want to do something with variable1 in the procedure, and not just return it, the Oracle equivalent would be something along the lines of:
    SQL> CREATE FUNCTION f (p_param1 IN VARCHAR2,
      2                     p_param2 IN NUMBER,
      3                     p_param3 IN NUMBER) RETURN NUMBER IS
      4     l_var1 NUMBER(20) := SUBSTR(p_param1, p_param2, p_param3);
      5  BEGIN
      6     RETURN l_var1 * 10;
      7  END;
      8  /
    Function created.
    SQL> SELECT f('ABC10DEF', 4, 2) FROM dual;
    F('ABC10DEF',4,2)
                  100You may need to adjust the return type to match what you are actually returning.
    You can also use this iin a direct assignment in pl/sql without doig a select, something like:
    SQL> DECLARE
      2     l_num NUMBER(20);
      3  BEGIN
      4     l_num := f('ABC10DEF', 4, 2);
      5     DBMS_OUTPUT.Put_Line('The number is: '||l_num);
      6  END;
      7  /
    The number is: 100John

  • Business Objects Enterprise XI 4.0 / Linux / Oracle / Tomcat Web Server

    Hello Experts,
    I have never done a BOBJ install before and I have some questions:
    First, here is our setup: Business Objects Enterprise XI 4.0 / Linux / Oracle / Tomcat Web Server
    1.     We are being asked how big u2013 disk space- to make the server. All I can find is 14 GB for an English only install, there is no documentation on how big the databases need to be. Does anyone have any experience and can tell me how big the databases are going to be initially? I need to tell the server team how much space to put on the server.
    2.     The documentation says to have two databases or schemas, one for Central Management Server and one for the Auditing Data Store. My question around this is whether there is a preferred way to do it, separate databases or separate schemas?
    3.     The documentation does not say anything about the file system layout, do we need to create the standard SAP file system layout (i.e. /sapmnt, etc.)
    Many many thanks in advance, any advice would be a greate help .. please help
    Regards,
    Sunil Patel

    Hi,
    here are some answers:
    1. Well for the Installation of the Software as itself (not the databases) i would recommend at least 30 GB. All the Reports are getting stored physically in the installation directory. This behavior is by default. Later you can move the FileStore (where the Reports, Universes, etc. are located in) to a NAS share f.e.
    With Regards to the Databases i would recommend 1 GB for the CMS DB and 5 GB for the Audit DB. It depends on how you Audit your System. If you audit more actions, more information in the Audit DB will be stored.
    2. 2 Schemas on one DB is fine
    3. Usually you run a BOE installation on UNIX/LINUX under an installation user. BOE will be installed into his Home Directory.
    Regards
    -Seb.

Maybe you are looking for

  • How do I put my iphone pics on my computer?

    Help!! Im an Apple Idiot... I did it a while back and do not remember how to put my pictures taken from my iphone and put them on my computer!! Someone Please Help ME!!

  • Can't Left Click in Flash Player Settings Panel - HELP PLEASE

    Hi and thanks for taking the time to read this. Believe me it is a fraction of the time I have wasted trying to resolve this issue. Basic problem is: I am trying to stream to Ustream but since downloading AFP11 for my Windows PC when I open the Flash

  • S telling me an error occurred during activation.

    Facetime keeps telling me an error occurred during activation?  I re-entered all my info still does it.

  • Solve: instr/substr

    Please help solve this question i am stuck on We have the following value that we can use: Numeric: 0-34 and 80-100 only or Non Numberic X S U D- D D+ Have to use INSTR and SUBSTR functions to test that the value is a valid (for now only trying to cr

  • Internet Explorer cannot download over HTTPS if Pragma: no-cache is set

    APEX Ver. - 3.2 DB Ver. - 11.1.0.7 Problem : The apex application generates an XML file and saves it to a table. Users navigate to a report where they have a DOWNLOAD link to download the file. Over HTTPS, when the download link is clicked Internet E