Destype=file

I am able to run a *.rdf report on my 9.0.2 middle tier via rwservlet. I am able to specify destype=file and desname=/whatever/whatever and write anywhere with my report server owning/running account's permissions. This is sort of alarming --- what am I missing? I could find no discussion of this anywhere.

Hello Mike,
The issue that you are facing applies in general to any resource that your Reports Server's system account has access to. For example, the printers that a user running a report on your server can print on is determined by the permissions given to the server's account.
One way to solve this issue in general would be create a seperate user/user group with permissions to access/write to only specific resources (which includes directories, printers etc.) and run the Reports Server as this user.
Another possibility is to enforce a restriction on the DESNAME parameter in a suitable report trigger. Here, you can look at the :DESNAME system parameter entered by the user and continue/abort the report generation based on its runtime value after printing an appropriate error message.
Thanks,
The Oracle Reports Team.

Similar Messages

  • Show_document and destype = file

    Hello,
    I have a problem with this call:
    web.show_document('http://130.45.31.50/dev60cgi/rwcgi60.exe?server=Rep60_PROVA_ORA+report=genrcart.rep+userid=sigma/sigma@dbsvil+destype=file+desname=C:\TEMP\genrcart_130620.rrpp+P MATR=101A18Z1J273+PARAMFORM=NO+COPIA=S','self')
    I obtain this message in my browser:
    Report output was successfully written to requested destination.
    Show_document do not open the file created on the server.
    Note: It's very important for me to generate a file because I need to send same special characters to printer using ORARRP.EXE.
    Thank you,
    P.Guerriero

    If you specify destype=file then the file is created but not returned to the browser. to get it you'll need to do one more call to web.show_document to open the specific file that was created.
    The other option of course is to use destype=cache and then the output will appear in your browser.

  • Image href missing for destype=file

    Hi,
    ias904 - desformat=HTML
    When destype=cache resulting html page can display images
    When destype=file resulting html page doesn't display any images because in the html source generated there's no virtual directory name for the generated image file ie the http server cannot locate the image.
    Can I define any settings to resolve this ?
    Thanks
    Pete

    Hi Pete,
    This is the sample code generated in the HTML file for images:
    img src=064014980.png width=135 height=36 border=0
    When you use DESTYPE=file, the Reports Server places the HTML file as well as the associated images in the same location (the location is specified by DESNAME). As a result, when you open the HTML file, the associated images will open automatically. The HTTP Server does not need to locate the images in this case.
    Navneet.

  • In cache destype=printer pdf corrupt (?), but destype=file pdf is ok

    Hi all,
    S.O.: SLES 10 (Novell)
    Oracle Reports 10g (StandAlone)
    I want execute .rdf file vía web browser, but the more important for me is printer the result by the defined printer
    for example:
    http://10.142.81.153:7778/reports/rwservlet?userid=gloviajava/gloviajava@livem&destype=printer&desformat=pdf&desname=cpd81200&report=3de9.rdf
    But the light of printer on but nothing printed.
    When destype=file the pdf resultant is OK and I can print via 'lpr -P ...'
    Anything can help me ? is very important for my work , please I hope your help.
    Thank in advanced.
    Manuel.

    Hello,
    When DESTYPE=PRINTER DESFORMAT=PDF is meaningless (the output file generated by the Reports Engine Will NOT be a PDF file)
    You can check what is in the file generated by the Reports Engine in the Reports Server Cache :
    by default , the Reports Server cache is in $ORACLE_HOME/reports/cache
    The printer cpd81200 should be defined int he file uiprint.txt .
    The PPD or HPD defined for this printer should be a PPD or HPD "matching" the printer ...
    Regards

  • Rep-3002 with DESTYPE=file

    Hello,
    I have two entries in my CGIcmd.dat file. The entries are pretty much identical, they just go to two different report servers, running on the same machine. Both specify destype=file desname=report.lis, and run the same report. One of them works fine, the other is throwing a Rep-3002.
    REP-3002: Error initializing printer. Please make sure a printer is installed.
    Any idea what is going on here and how to correct it?

    Hello,
    If you are executing the Reports on Windows :
    http://download-uk.oracle.com/docs/cd/B14099_17/bi.1012/b14048/pbr_trouble.htm#BABDHCIG
    D.1.11 Printing and Font Errors When Using In-process Server
    Regards

  • Urgent - Default path of saving reports when destype = file

    Hi,
    When I specify the destype = file, the generated report gets
    saved in the daefult directory, i.e., the orant/bin.
    Now, I want to save the file on a different machine.
    I understand that I can do it by specifying the desname =
    path/filename.
    But I cannot do this, because I don't want to show the whole
    path in the URL. Moreover, I cannot give it in teh cgicmd.dat,
    because the filename is not static. I want to append a time
    stamp etc. to the file name. Is there some way that I can
    specify teh path in cgicmd.dat and the file name in the URL?
    Or,
    is there an environment variable or something where I can
    specify the default path where the files should be generated?
    Any help would be much appreciated.
    Regards,
    Vibha

    Hi,
    I tried the following:
    I did not specify the desname parameter in the cgicmd.dat file
    and in the After Parameter Form trigger, I have done:
    Begin
    :desname := 'e:\Testing.html';
    I gave a desname that is not dynamic, just to test. But this,
    does not set the desname. The file is still saved in teh
    Orant/Bin folder. (default folder).
    If I specify some desname in the cgicmd.dat file, then the file
    gets saved in that path. What I have specified in the After
    Parameter Form trigger does not seem to reset it.
    Note: The trigger is being fired, as other things that I am
    doing in the same trigger are getting executed.
    Please advise.
    Regards,
    Vibha

  • Reports 6 - destype=File

    Hello.
    I hope this title is suggestive so many users will come in and try to answer my question .
    I have a report developed in Oracle Reports 6 (I know, it's time to move on, but the project is too big to migrate to another version; yet...). The parameter form has the parameter DESTYPE.
         If I choose "File", the report is saved in the location I specified in DESNAME, as 'pdf'. When I try to open it, I receive the message "Adobe Reader could not open file because it is either not a supported file type or because the file has been damaged, (for example, it was sent as an email attachment and wasnt correctly encoded) ".
         If I choose "Screen", I preview the report, then, from the menu I choose "Generate to FILE... PDF", the file is saved and I can open it.
    I mention that I have Adobe Reader 8.
    Thank you for reading (and answering)!

    The path is on a server. Is the same path as that when I choose 'Generate to file... PDF'. I find the file, but I can not open it.
    I've noticed something else. I did not use Report Parameter Form; I did a form who call the report; I choose in the form to save the report in a file and it works! I can open the file.
    Thanks!

  • Oracle reports(9i) as destype=file and desformat=dflt

    Hello,
    I have a front end in forms which give a call to run a report on press of button.The report(9i) is not using charecter mode runtime.It is giving me error though dflt.prt is already there in the printer file under oracle home directory.
    Can any one tell me why is it unable to get this prt file.
    Is it beacuse that we can use these prt files in charecter mode only.
    If yes,how can i use it to run my report from forms with charecter mode runtime? When i try the same i am getting an error saying charecter mode runtime is not allowed.
    Cheers,
    Rajeev

    Hi,
    Thanks for your reply.
    Clustering seems to be very good feature of the Oracle Reports server however in our application we do not want more than one server. The problem which I face is mentioned below:
    1. We have a server application which actually starts the oracle rwserver.exe in a separate process during its initialization.
    2. Whenever this server application receives a report request it from some client then it executes the reports by calling rwclient.exe through a separate process which in turns submits the request to rwserver.exe
    3. My problem is that in our network we can have multple such server application running different releases. For this we need to run the rwserver on all the machines where my server application is running.
    4. In this scenario this Smart agent (osagent.exe) is preventing me to make the different servers applications of different releases to be up and running.
    5. How can I configure my rwserver.exe/osagent.exe so that it remains concerned with the specific machine on which it is running.
    Thanks
    Ashish

  • How to get PDF file name when DESTYPE=CACHE

    Hello.
    I'd like to retrieve the generated file name from the cache directory in the After Report trigger when DESTYPE=CACHE and DESFORMAT=PDF
    Is it possible?
    Thanks
    Rasto Sadecky
    [email protected]

    Thank you Rohit.
    It's not really the caching mechanism I'm interested in.
    What I need to do is a physical modification of the generated PDF file.
    We have done it successfully for DESTYPE=FILE because in this case
    we know the name of the PDF file so the after report trigger can call an external dll library
    that modifies the PDF file.
    But when I'm calling the report from a JSP I can't do the same because
    I don't know the name of the PDF.
    Any ideas?
    Thanks
    Rasto

  • How to generate a PDF output using batch file in 10G

    Hello,
    I am using .bat file to generate a report PDF output. I have done this many times in 6i but for 10G I am unable to do the same.
    Can someone please look at the syntax below and let me know where I am going wrong.
    I understand that reports are different for 6i and 10G specially .rep file but I am sure we should be able to generate a PDF file using 10G. Please let me know.
    Thanks
    IQ
    Contents of .bat file follow
    ECHO Opening parameter form. Please do not close this window.
    C:\
    FOR /F "tokens=1 " %%I IN ('time /t') DO (SET _TIME=%%I)
    FOR /F "tokens=2 " %%I IN ('date /t') DO (SET _DATE=%%I)
    SET EXP_DATE=%_DATE:~6,4%%_DATE:~0,2%%_DATE:~3,2%_%_TIME:~0,2%%_TIME:~3,2%
    SET FILENAME=SEND_EMAIL_%EXP_DATE%_%USERNAME%.PDF
    CD C:\Users\Documents
    RWCONVERTER REPORT=C:\Users\Documents\send_email.rep USERID=scott/tiger@ORCL1 ORIENTATION=LANDSCAPE DESFORMAT=PDF DESTYPE=FILE
    DESNAME=C:\Users\\%FILENAME% PRINTJOB =NO

    Rwconverter is not used to run reports:
    rwconverter (Reports Converter) enables you to convert one or more report definitions or PL/SQL libraries from one storage format to another.
    I think you mean rwrun:
    rwrun (Reports Runtime) runs a report by starting its own in-process server (not to be confused with the default in-process Reports Server), which runs in the same JVM as the rwrun process.
    This bat file has to run on the server. There is no Reports installation on the client anymore.
    If you want to run a report from a client, you can make a bat file that calls the report url
    See: http://download.oracle.com/docs/cd/E14571_01/bi.1111/b32121/pbr_cla002.htm#i634710

  • Genrating Report as PDF File on the hard disk

    Hi All,
    I am using Oracle developer 10g, I need when I call the report from the forms to generate the report to a PDF file on the c:\ drive instead of appearing on the screen.
    I set the DESFORMAT to PDF, DESTYPE set to FILE and DESNAME set to C:\filename.pdf.
    Thanks

    Hello,
    When using DESTYPE=FILE , the output will be generated on the machine where the Reports Server is running .
    If you want to generate the PDF file on the "Client PC" (the PC where the Forms Applet is running), you will have to transfer the PDF from the
    "Application Server machine" to the "Client PC"
    Webutil can be used to do that : http://www.oracle.com/technology/products/forms/htdocs/webutil/webutil.htm
    Regards

  • Print a File from Forms to a Printer connected to USB Port

    Hi All,
    I have a printer connected to the USB port to my local machine.
    I access web application Forms 9i AS and try to print a report on my local printer.The report is opened using web.show_document in the Internet explorer browser window. There are several pages in the report and i need a page break to be recognized on each page. For remote printing i tried using ORARRP utility but it does not print from a printer connected to a USB port. But it works when the printer is connected to a parallel port.
    How do i achieve this, please share your thoughts on this and solution as well if this is feasible
    Expecting a favourable reply from the forum users.
    Thanks in advance

    WEB.show_document is mainly for running a report that you want to display in a browser but you can still use it to create a file in the report server even though I would recommend to use RUN_REPORT_OBJECT instead ...
    You can take a look at metalink note 207396.1 - How to Run Reports From Forms 9i / 10g Using RUN_REPORT_OBJECT.
    It appears you are already using it since WEB.show_document in your case is just used to retrieve the output from a job that was previously run, most likely with RUN_REPORT_OBJECT.
    Can you post the code used to run the report ? It will be easier to convert it to generate a file if we have it..
    The file name you assign it when you call the report (DESNAME=d:\mysharedfolder\mytextfilenameyyymmddhhmiss.txt) so that it is unique and you delete it after the report is printed, webutil can give you a private folder for the user in the application server, in case the data is sensitive, you would run the report with DESTYPE=FILE and MODE=CHARACTER.
    You would need two folder locations, one in the application server, webutil can help you with that, and another one in the client PC, it could be the C:\TEMP folder if you will ...

  • How to print pdf file in SQL Server Reporting services report using command prompt?

    Is there a way to automatically print a SQL Server Reporting services report on command prompt? For eg: We can save a pdf file using rs.exe utility. I want to print a pdf using rs.exe utility. Is it possible? I don't want to install any 3rd party software.

    Thanks Simon for replying to my question.
    In oracle form, there is oracle command to print the report from command prompt with the help of rwrun.exe
    e.g: rwrun.exe   REPORT="D:\Test\REP_25\MLA.REP" DESNAME="testprinter" DESTYPE="PRINTER" P_FORMNAME="MLA.FMX" P_SPRACHE="E" P_SPRACHE_NR2="1" P_WHERE_BEDINGUNG="order by land_nr" USERID="test/test.world" PSV_NAME="PSV_DEMO" PSV_JOB_ID="PS$9583" RECURSIVE_LOAD="NO"
    BATCH="YES" NONBLOCKSQL="NO" ARRAYSIZE="1" PARAMFORM="NO" ERRFILE="c:\temp\psv16.tmp"<
    and to save the report we just need to change DESNAME="c:\temp\OC_100001349.pdf" DESTYPE="FILE" in above command instead of DESNAME="testprinter" DESTYPE="PRINTER".
    DESNAME and DESTYPE are the input parameters of the respective report.
    In SSRS, we can run the file from the command prompt and save it.
    rs -i "C:\Users\pujarswa\Documents\reports\new\LoadReport.rss" -s ww2004760:80/ReportServer_MSSQL -v fileName="C:\Users\pujarswa\Desktop\TipsReportLoad.pdf"
    -v reportPath="/TipsReport/LoadListTabular" -t -v format="PDF" -v LandNr=4 -u ap\swati -p test@# -e Exec2005
    But we cannot use same command for printing as you said we need to create another script for printing files.
    I have gone through the links but I dont want to use Adobe Acrobat Reader exe for printing because client it may not have Adobe Acrobat Reader on their machine.
    Also I want to pass a input parameter as type="Printer" to my report which will print directly for me and same I can acheive in command prompt passing type="Printer" fileName="C:\Users\pujarswa\Desktop\TipsReportLoad.pdf"

  • Problem writing a text file to user's hard drive

    I am trying to write a "GPX" file from an Oracle report to the user's hard drive on windows XP computers. To do this I want to write an ASCII file using the distribution method in the Oracle report. My URL to generate the report is as follows:
    http://serveraddress.dot.ca.gov:7779/reports/rwservlet?destype=cache&destype=file&desformat=ascii&DESNAME=d:\test_report.txt&mode=character&report=gpx&userid=userxx/pwxx@mydatabase
    When I run the report I get the following error: "REP-1804: Unable to open printer definition file 'ascii'"
    We are running Oracle Report 10G.
    Does anyone know what I am doing wrong or is there another method to write the ASCII file. If there is a method in Oracle forms, I could also do it in a form.
    Thanks for the help.

    desname=d:\test_report.txtThat is a file on d: drive on the server. You cannot directly write to the client PC.
    For valid values of desformat:
    http://download.oracle.com/docs/cd/E14571_01/bi.1111/b32121/pbr_cla005.htm#i636884
    Ascii is not a standard desformat. Try
    mode=character&desformat=dflt
    If there is a method in Oracle forms, I could also do it in a form.Yes, you can use client_text_io. Don't use that method for large files, though. Better to use text_io and copy the result from server to client:
    http://fdegrelle.over-blog.com/article-1810290.html
    Edited by: InoL on Apr 15, 2011 3:05 PM

  • How to reference PDF files in Pages09?

    I recently changed full-time to Pages, and still have a few things that I can't comprehend. 
    Often times, I need to reference PDF files within a Pages document.  Kind of tedious to type the file names.  Is there a way to add those files (as a reference in a section Material, for instance; a bit like in iCal in the Get Info window when you do Add Files) by accessing my Finder and selecting them?  That would be a great time-saver.
    Thks!

    Please make your question more clear . Also mention the reports version.
    1) If you are runnning reports in Unix, you can give
    .... destype=file desformat=pdf desname=<filename>
    in command line
    Please refer docs below.
    2) If by your question you mean
    "My reports server is running in Windows but I want to ftp my files to Unix after creating it"
    then the answer is that you can use pluggable destination "ftp"
    .... destype=ftp desformat=pdf desname=<ftp url>
    Pluggable destinations download
    http://otn.oracle.com/products/reports/pluginxchange/index.html
    Thanks
    Ratheesh
    [    All Docs     ]
    http://otn.oracle.com/documentation/reports.html
    [     Publishing reports to web  - 10G  ]
    http://download.oracle.com/docs/html/B10314_01/toc.htm (html)
    http://download.oracle.com/docs/pdf/B10314_01.pdf (pdf)
    [   Building reports  - 10G ]
    http://download.oracle.com/docs/pdf/B10602_01.pdf (pdf)
    http://download.oracle.com/docs/html/B10602_01/toc.htm (html)
    [   Forms Reports Integration whitepaper  9i ]
    http://otn.oracle.com/products/forms/pdf/frm9isrw9i.pdf

Maybe you are looking for

  • Internal error publishing Crystal report to BOE 3.1

    Trying to add a Crystal report to a BOE 3.1 server, via a JSP page, but it keeps failing with an internal error.  Currently I am using code that came directly from a published example, but the jsp always fails when it gets to the boInfoStore.commit.

  • I can't authorized my iMac to store and transfer all my library of itunes

    I've been synchronized  my music, videos and movies through the itunes in my Macbook, I have everything on it, but recently I bought an iMac to use at home but I can't authorized this iMac to use my account to transfer or sync all my devices now (Ipa

  • What is the EP 7.2 product price in the market now?

    Hi All, Can anyone please tell me price of the below software products 1) SAP Netweaver EP 7.2 2) SAP R/3 (Latest Version) Thanks All,   Sriram.

  • Bug? InfoView SP4 logon using ivsLogonToken and start.do

    Greetings to the forum. We have developed a custom login page for accessing InfoView using the StartAction (start.do) IEnterpriseSession's logon tokens via ivsLogonToken parameters. Everything has worked quite nicely until we started functional tests

  • METHODS OF REPORTS

    Hi all, Can anybody list out the methods(or types) of reports in oracle apps 11i, ie oracle reports,sql.. thks