Upload Files BIP Report fails

HI,
I'm having problems with the new BIP integration, when I tried to Upload File in the BIP Template Registration View the logs send me this error:
ObjMgrBusServiceLog     Error     1     0000017e4ced1390:0     2010-11-24 20:48:33     (xmlpdriversvc.cpp (567)) SBL-SVC-00155: No file has been attached to this record. Please attach a file.
ObjMgrBusServiceLog     InvokeMethod     4     0000017e4ced1390:0     2010-11-24 20:48:33     Business Service 'XMLP Driver Service' invoke method 'GenerateReport' Execute Time: 0.012 seconds.
ObjMgrBusServiceLog     InvokeMethod     4     0000017e4ced1390:0     2010-11-24 20:48:33     End: Business Service 'XMLP Driver Service' invoke method: 'GenerateReport' at 133b2d68
GenericLog     GenericError     1     0000017e4ced1390:0     2010-11-24 20:48:33     Object manager error: ([0] No file has been attached to this record. Please attach a file.(SBL-SVC-00155) (0xa6009b))
GenericLog     GenericError     1     0000017e4ced1390:0     2010-11-24 20:48:33     ( (0) err=2818155 sys=10879131) SBL-OMS-00107: Object manager error: ([0] No file has been attached to this record. Please attach a file.(SBL-SVC-00155) (0xa6009b))
GenericLog     GenericError     1     0000017e4ced1390:0     2010-11-24 20:48:33     (bsvcmgr.cpp (1384) err=2818251 sys=0) SBL-OMS-00203: Error 10879131 invoking method "GenerateReport" for Business Service "XMLP Driver Service"
ObjMgrBusServiceLog     Delete     4     0000017e4ced1390:0     2010-11-24 20:48:33     Business Service 'XMLP Driver Service' (address: '133b2d68')was unregsitered at model '404fa70' for session ''
ObjMgrBusServiceLog     Delete     4     0000017e4ced1390:0     2010-11-24 20:48:33     Business Service 'XMLP Driver Service' was deleted at 133b2d68
GenericLog     GenericError     1     0000017e4ced1390:0     2010-11-24 20:48:33     (bsvcmgr.cpp (1227) err=2818251 sys=0) SBL-OMS-00203: Error 10879131 invoking method "GenerateReport" for Business Service "XMLP Driver Service"
I tried to put more time in the parameter BIP Report Wait Time in the System Preferences but this didn't work either
Any Ideas?

Hi,
I have the same problem, the report template is uploaded, but there is always the following error message by trying to generate the report.
SBL-SVC-00155: Es wurde keine Datei an diesen Datensatz angehängt. Hängen Sie eine Datei an.
Edit: SBL-SVC-00155: No file has been attached to this record. Please attach a file.
In our test system everything works fine, but in the production system I can't generate the report.
Is there any solution yet?
Thanks in advance.
Edited by: user12996678 on 02.02.2011 17:22

Similar Messages

  • Paint Demo BIP Report fails

    I'm running Oracle BI Enterprise Edition 10gR3 with BIP Integrated (version 10.1.3.2.1) When I invoke the Paint Demo Report under the Business Intelligence Folder, I get the following error:
    java.io.IOException: prepare query failed[nQSError: 27004] Unresolved table: "Paint Exec".
    Any Advice. Thank you in advance.

    This issue was resolved. I had the SH Repository and the SH Webcat loaded. I replace with the PAINT repository and webcat and the error was resolved.

  • BIP with Siebel - error upload file

    Hi,
    I have the issue with error when try "upload file" BIP-Reports.
    I will be very appreciate for prompt help...
    Please find logs:
    ObjMgrLog     Error     1 (soapbinding.cpp (675)) SBL-EAI-04304: Unknown Part ':oracle.apps.xdo.webservice.exception.OperationFailedException' for operation 'runReport' exists in SOAP message.
    ObjMgrBusServiceLog     Error     1 (outdisp.cpp (247)) SBL-EAI-04308: Operation 'runReport' of Web Service 'http://xmlns.oracle.com/oxp/service/v11/PublicReportService.PublicReportServiceService' at port 'PublicReportService_v11' failed with the following explanation: "oracle.apps.xdo.webservice.exception.OperationFailedException: PublicReportService::generateReport Failure: Due to oracle.apps.xdo.servlet.CreateException: Report definition not found:/SiebelCRMReports/Account List/Account List.xdo".
    XMLPReportLog     XMLPReportError     1 Invalid User Name and Password for BIP Server
    ObjMgrBusServiceLog     Error     1 (xmlpadaptersvc.cpp (2287)) SBL-RPT-50529: Verify BI Publisher Server Userid and Password.
    XMLPReportLog     XMLPReportError     1 Error in generating Report Output file D:\siebel\8.1.1.0.0\ses\siebsrvr\xmlp\reports\test1-164BT.HTML in the XMLP Engine
    ObjMgrBusServiceLog     Error     1 (xmlpadaptersvc.cpp (2983)) SBL-RPT-50524: BI Publisher engine failed to generate report.
    GenericLog     GenericError     1 Object manager error: ([0] BI Publisher engine failed to generate report.(SBL-RPT-50524) (0x95c55c))
    GenericLog     GenericError     1 ( (0) err=2818155 sys=9815388) SBL-OMS-00107: Object manager error: ([0] BI Publisher engine failed to generate report.(SBL-RPT-50524) (0x95c55c))
    GenericLog     GenericError     1 (bsvcmgr.cpp (1393) err=2818251 sys=0) SBL-OMS-00203: Error 9815388 invoking method "GenerateReport" for Business Service "XMLP Driver Service"
    Regards,
    Oksana

    I am also getting the same error. Pls help.
    HI All,
    WE had done a report migration converting all our Actuate reports onto BI Publisher. The templates for the reports have been registered on the Siebel Screens and thus created on BI Publisher. We were able to view the reports and everything was fine. But then we had a netword crash and all the existing networks had to be reconfigured after which the BIPublisher reports are not accessible from the Siebel screens. I get an error
    Operation '<?>' of Web Service '<?>.<?>' at port '<?>' failed with the following explanation: "<?>".(SBL-EAI-04308)
    and when I try to login to BIPublisher to access the reports I get an error
    oracle.j2ee.ws.wsdl.LocalizedWSDLException: WSDLException: faultCode=PARSER_ERROR: Failed to read wsdl file at: "file:/C:/WINDOWS/system32/dataservice.wsdl", caused.
    Could anyone help me figure this out?

  • Delete an uploaded file (in custom table) from a report

    Hi,
    I have a report of uploaded files (the files are saved in my own table, not in APEX_APPLICATION_FILES) - I'd like to add a delete link to each file in my report so that the user can delete a particular file.
    How do I go about doing this?
    Thanks.

    Melissa,
    It is now working. You missed couple of things:
    1. javascript in the header
    2. you were pointing to the page 1 and your process was on the page 2
    3. you passed the value to a non existing item on the page 3
    4. the request which would fire the delete process was triggered by a wrong request
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://htmldb.oracle.com/pls/otn/f?p=31517:1
    -------------------------------------------------------------------

  • BIP Report Output File

    Hi,
    Can a BIP report be automatically launched (PDF) from Siebel, after being generated from a workflow using the GenerateBIPReport Method of  the “XMLP Driver Service” BS.  OOTB the BS  saves the report in the Siebel file system and the user needs to navigate to my BIP and open the report.
    Thanks,
    Sameer

    .

  • Code in before report getting executed but "Job error is: BIP job failed."

    Customer is executing a BIP job that fires a pl/sql procedure via before report trigger. Procedure is completing successfully. But the BIP report is not getting generated. ESS process ends in error with the following error:
    oracle.as.scheduler.ExecutionErrorException: ESS-07033 Job logic indicated a system error occurred while executing an asynchronous java job for request 604103. Job error is: BIP job failed.
         at oracle.as.scheduler.rp.AsyncFinalizeProcessor.processFinalizeRequest(AsyncFinalizeProcessor.java:131)
         at oracle.as.scheduler.rp.AsyncJavaSysExecWrapper.finalizeExecution(AsyncJavaSysExecWrapper.java:250)
         at oracle.as.scheduler.rp.EndpointProcessor.finalizeExecute(EndpointProcessor.java:1018)
         at oracle.as.scheduler.rp.EndpointProcessor.finalizeExecuteWrapper(EndpointProcessor.java:980)
         at oracle.as.scheduler.adapter.EndpointImpl.finalizeExecute(EndpointImpl.java:561)
         at oracle.as.scheduler.ejb.EssAppEndpointBean.finalizeExecute(EssAppEndpointBean.java:162)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
         at $Proxy197.finalizeExecute(Unknown Source)
         at oracle.as.scheduler.ejb.ESSAppEndpoint_t596cy_MDOImpl.__WL_invoke(Unknown Source)
         at weblogic.ejb.container.internal.MDOMethodInvoker.invoke(MDOMethodInvoker.java:35)
         at oracle.as.scheduler.ejb.ESSAppEndpoint_t596cy_MDOImpl.finalizeExecute(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at oracle.as.scheduler.adapter.ra.rdp.RequestProcessor.invokeFinalizeExecute(RequestProcessor.java:8133)
         at oracle.as.scheduler.adapter.ra.rdp.RequestProcessor.execStage_Finalize(RequestProcessor.java:7331)
         at oracle.as.scheduler.adapter.ra.rdp.RequestProcessor.process_execute(RequestProcessor.java:4813)
         at oracle.as.scheduler.adapter.ra.rdp.RequestProcessor.dispatchHandler(RequestProcessor.java:2833)
         at oracle.as.scheduler.adapter.ra.rdp.RequestProcessor.processExecuteEvent(RequestProcessor.java:696)
         at oracle.as.scheduler.adapter.ra.rdp.RequestProcessor.processUpdateEvent(RequestProcessor.java:1345)
         at oracle.as.scheduler.adapter.ra.WorkUnitWorkerBase.processWork(WorkUnitWorkerBase.java:199)
         at oracle.as.scheduler.adapter.ra.WAWorker.run(WAWorke...
    Any tips/pointers on possible issues? Could this be a template corruption?

    Any reply for the above error please.I do have the same issue.
    Please suggest.

  • I am trying to upload files to an Apple hosted feed on KSU iTunes U (unpublished site). The file size shows as 2 GB even though the files are 50MB. The upload stalls and fails. Address:

    I am trying to upload files to an Apple hosted feed on KSU iTunes U (unpublished site). The file size in the Feed Editor shows as 2 GB even though the files are 50MB. I am using Safari on Intel Mac 10.5.8. at Kennesaw State University. Any help would be appreciated.

    This is the second day. I tried using a new Apple feed to test. Still not working. I uploaded a 50MB mp3 file. The first time the upload failed. The second time the file showed that it was uploading a 2 GB file. It has been about 20 minutes now and shows "3.5GB of 2.0GB 178% Completed". Now it has started uploading all over again - it is now showing 399.4MB or 2.0 GB - 19% Completed. I dont know if this will keep looping - but I am going to Cancel.
    Please let me know what other information do you need from me. Definitely need some help with this!

  • Integration of BIP Report file bursting with Unix FTP directory(using IBot)

    We have a requirement for dynamically creating the folder in FTP server, which gets the bursted file when a BIP report is executed.
    We have used the following approach:
    Created a IBot with Custom Java Program which creates a folder dynamically in FTP, now we are facing the problem to integrate this IBot with the BIP report file bursting.
    Can anyone suggest how to overcome this issue or is there any alternative approach to achieve the above requirement.
    Any help would be appreciated.

    .

  • BIP Report in Siebel mobile is not working in languages other than English

    Hi,
    We have upgraded our Siebel from 7.8 to Siebel 8.1 and in that we have moved from Actuate to BIP Reports. We have created a customized report in which we have put in the Filters on '.rtf' file to show a particular set of data. This report is deployed for 3 languages : English (ENU), Portuguese (PTB) and Spanish (ESN).After deploying this report, on Web application, it is working fine for all the languages but we are facing an issue on mobile client, the report is only working fine in ENU but for other languages(PTB & ESN) it is failing (means the filter which we put on '.rtf' is not working on other languages).
    Is anybody face this issue and what will be the solution for this?

    Hi
    I think you need to first translate the smartform into other languages. Before translation, it wont work.
    Steps for translation:
    1. goto Transaction SE63
    2. in R3 Enterprise select form menu
    Translation - ABAP Objects - Other long texts
    3. select FS - SSF-Smart Form
    4. Object Name: choose your smart form
    5. select target language
    6. press edit
    Regards,
    Vishwa.

  • Unable to Schedule BIP report in OBIEE 11g

    Hi all,
    When we schedule a BIP report from our new Production Environment(11.1.1.6.6) , we are getting the below error in output
    Document generation failed
    [INSTANCE_ID=pxprhlwcobia05.wyn.wyndhamworldwide.com.1362571918550] [OUTPUT_ID=1202]/tmp/bip549240747148162266.tmp (No such file or directory)java.io.FileNotFoundException: /tmp/bip549240747148162266.tmp (No such file or directory)
    at java.io.FileInputStream.open(Native Method)
    at java.io.FileInputStream.<init>(FileInputStream.java:138)
    at java.io.FileInputStream.<init>(FileInputStream.java:97)
    at oracle.xdo.enterpriseScheduler.bursting.BurstingReportProcessor.
    Can anyone suggest please....
    Regards,
    Vinay

    you should not delete the file under /tmp/bip* if its not deleted then check the space under /tmp mount to see if it has got sufficient space to produce the bip*.tmp file
    mark if it helps

  • "java.lang.NumberFormatException" error while running custom BIP report

    Hi,
    When we are running a custom BIP report, it is completing in ERROR at times and running Succesfully at times for the same set of parameters.
    Please let us know the solution if any one faced similar kind of an issue.
    Below is the log file when the program errors out:
    Calling XDO Data Engine...
    java.lang.NumberFormatException: For input string: "000</UIN><ACC>726030</ACC><ACC_N>Express Services - Mail and Courier</ACC_N><S_ACC_N>00000</S_ACC_N><S_ACC_NA>Default - Sub Account</S_ACC_NA><I_CO>000</I_CO><PROD>Term Life - GBL - Allocation Ind NQ NP BCLIC Direct</PROD><BAL>1126.47</BAL><A_L>9</A_L><P_ACC>GEN_EXP_POSTAGE_S</P_ACC><S_F>N</S_F><R_ID>3123</R_ID>ACC_N><S_ACC_NA>Default - Sub Account</S_ACC_NA><I_CO>000</I_CO><PROD>Annuities Dep Type - Allocation Ind NQ NP OCB</PROD><BAL>13.5</BAL><A_L>9</A_L><P_ACC>GEN_EXP_POSTAGE_S</P_ACC><S_F>N</S_F><R_ID>3124</R_ID>N><ACC>MGMT_ACCT_HIERARCHY</ACC><ACC_N/><S_ACC_N/><S_ACC_NA/><I_CO/><PROD>FPDA - Other Ind Q NP BCLIC Ind Agt</PROD><BAL>176028.27</BAL><A_L>0</A_L><P_ACC/><S_F>Y</S_F><R_ID>36</R_ID>_T>>726030</ACC><ACC_N>Express Services - Mail and Courier</ACC_N><S_ACC_N>00000</S_ACC_N><S_ACC_NA>Default - Sub Account</S_ACC_NA><I_CO>000</I_CO><PROD>Annuities Other - Allocation Ind NQ NP NON OCB</PROD><BAL>2.58</BAL><A_L>9</A_L><P_ACC>GEN_EXP_POSTAGE_S</P_ACC><S_F>N</S_F><R_ID>3127</R_ID>R_ID>3128</R_ID>S_F><R_ID>41</R_ID>ther - Allocation Ind NQ NP BCLIC Career</PROD><BAL>267.97</BAL><A_L>9</A_L><P_ACC>GEN_EXP_POSTAGE_S</P_ACC><S_F>N</S_F><R_ID>3131</R_ID>areer</PROD><BAL>53.31</BAL><A_L>9</A_L><P_ACC>GEN_EXP_POSTAGE_S</P_ACC><S_F>N</S_F><R_ID>3132</R_ID>o CV Ind NQ NP BCLIC Direct</PROD><BAL>-29963</BAL><A_L>0</A_L><P_ACC/><S_F>Y</S_F><R_ID>46</R_ID>N>Telecommunication/Online Services</ACC_N><S_ACC_N>00000</S_ACC_N><S_ACC_NA>Default - Sub Account</S_ACC_NA><I_CO>000</I_CO><PROD>Term Life - Other - Allocation Grp NQ NP BCLIC Career</PROD><BAL>.06</BAL><A_L>9</A_L><P_ACC>GEN_EXP_POSTAGE_S</P_ACC><S_F>N</S_F><R_ID>3135</R_ID>_ACC_NA><I_CO>000</I_CO><PROD>LTC - Allocation Ind Guar Ren NON OCB</PROD><BAL>22.05</BAL><A_L>9</A_L><P_ACC>GEN_EXP_POSTAGE_S</P_ACC><S_F>N</S_F><R_ID>3136</R_ID>ROD>Term Life - Other - Allocation Grp NQ NP BCLIC Career</PROD><BAL>1118.96</BAL><A_L>0</A_L><P_ACC/><S_F>Y</S_F><R_ID>51</R_ID>S_ACC_N>00000</S_ACC_N><S_ACC_NA>Default - Sub Account</S_ACC_NA><I_CO>000</I_CO><PROD>Annuities Other - Allocat"
         at java.lang.NumberFormatException.forInputString(NumberFormatException.java:59)
         at java.lang.Integer.parseInt(Integer.java:467)
         at java.lang.Integer.parseInt(Integer.java:508)
         at oracle.apps.xdo.dataengine.ScalableStringList.get(ScalableStringList.java:162)
         at oracle.apps.xdo.dataengine.XMLPGEN.writeRowSetListToStream(XMLPGEN.java:1277)
         at oracle.apps.xdo.dataengine.XMLPGEN.processSQLDataSource(XMLPGEN.java:559)
         at oracle.apps.xdo.dataengine.XMLPGEN.writeData(XMLPGEN.java:445)
         at oracle.apps.xdo.dataengine.XMLPGEN.writeGroupStructure(XMLPGEN.java:308)
         at oracle.apps.xdo.dataengine.XMLPGEN.processData(XMLPGEN.java:273)
         at oracle.apps.xdo.dataengine.XMLPGEN.processXML(XMLPGEN.java:215)
         at oracle.apps.xdo.dataengine.XMLPGEN.writeXML(XMLPGEN.java:254)
         at oracle.apps.xdo.dataengine.DataProcessor.processDataStructre(DataProcessor.java:390)
         at oracle.apps.xdo.dataengine.DataProcessor.processData(DataProcessor.java:355)
         at oracle.apps.xdo.oa.util.DataTemplate.processData(DataTemplate.java:334)
         at oracle.apps.xdo.oa.cp.JCP4XDODataEngine.runProgram(JCP4XDODataEngine.java:294)
         at oracle.apps.fnd.cp.request.Run.main(Run.java:157)
    Oracle error 6502: java.sql.SQLException: ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    ORA-06512: at "APPS.FND_CONCURRENT", line 1331
    ORA-06512: at line 1
    has been detected in FND_CONCURRENT.SET_INTERIM_STATUS.+---------------------------------------------------------------------------+
    Start of log messages from FND_FILE
    End of log messages from FND_FILE
    Executing request completion options...
    Output file size:
    9662
    ------------- 1) PUBLISH -------------
    Beginning post-processing of request 970405 on node UXEBSCMP01 at 29-SEP-2012 21:02:30.
    Post-processing of request 970405 failed at 29-SEP-2012 21:02:30 with the error message:
    One or more post-processing actions failed. Consult the OPP service log for details.
    Finished executing request completion options.
    Concurrent request completed
    Current system time is 29-SEP-2012 21:02:30
    Thanks.

    If you use parameters you can try playing with them to narrow down the values on which the error occurs. Anyway, need to get the output in XML (without template) and review it. If it's not too huge, post the XML here.

  • Error when uploading a crystal report with dynamic parameter into Infoview

    Hi All,
    I was trying to upload a crystal report which has a dynamic parameter into a Infoview. It shows an error message that say:- "Failed to read data from report file C:\WINDOWS\TEMP\tmp27A.rpt. Reason: Failed to read parameter object ". Can anybody help me in solving this?
    Thanks!
    Edited by: undefined on Aug 20, 2009 8:57 PM

    Post your question to the Business Objects Forum

  • Uploading files Mime Type not correct for Office 2007 default extensions.

    hi all,
    My company has recently moved over to MS Office 2007 and the default extensions for word, excel etc are now .docx, xlsx etc (ie xml based).
    Unfortunately now when we upload files through APEX to the database the MIME TYPE value for these files isn't being recognised and not loadeding correctly into the APEX_APPLICATION_FILES table and subsequently any future retrieval of these files fails.
    I could put some logic inthe up load procedure to look at the filename in APEX_APPLICATION_FILES and hard code in the releavnt mime types but this still causes problems when retrieving the content.
    Has anyone come across this and got a workround? Is it a bug in AE?
    regards
    James
    FYI - using APEX 3.0.2 over 11G.

    I have not any response to my question and not sure if it is in Apex I need to look or the tomcat server that I need to look. I have a useful application to try to show others what Apex can do for our customers to collaborate. However, most of our customers are using office 2007 so, hoping this is possible.
    I am using apex 3.2.0.00.27 if that helps someone to point me where to find more info on being able to have Word 2007 or excel 2007 fire up to open a .docx or .xlss file stored in a table blob column. Word or Excel does fire up to open .doc and .xls files.
    The following is the query for a report selecting the filenames uploaded into a blob column in my table:
    { SELECT s.ID, SUBSTR(s.NAME,INSTR(s.NAME, '/',1,1)+1,length(s.NAME)) SHORT_FNAME, s.SUBJECT
    FROM spp_attachments s
    WHERE s.PROGRAM_ID = :P2_PROGRAMID }
    Below is the stored procedure called from the link on the short_fname column in report query above.
    { create or replace PROCEDURE  download_file(p_file IN number) AS
    v_mime VARCHAR2(48);
    v_length NUMBER;
    v_file_name VARCHAR2(2000);
    Lob_loc BLOB;
    BEGIN
    APEX_APPLICATION.G_FLOW_ID :=245;
    IF NOT (wwv_flow_custom_auth_std.is_session_valid) then
    owa_util.status_line(404, 'Page Not Found',true);
    return;
    else
    SELECT MIME_TYPE, BLOB_CONTENT, name,DBMS_LOB.GETLENGTH(blob_content)
    INTO v_mime,lob_loc,v_file_name,v_length
    FROM spp_attachments
    WHERE id = p_file;
    -- set up HTTP header
    -- use an NVL around the mime type and
    -- if it is a null set it to application/octect
    -- application/octect may launch a download window from windows
    owa_util.mime_header( nvl(v_mime,'application/octet'),
    FALSE );
    -- set the size so the browser knows how much to download
    htp.p('Content-length: ' || v_length);
    -- the filename will be used by the browser if the users does a save as
    htp.p('Content-Disposition: attachment;
    filename="'||replace(REPLACE(substr(v_file_name,instr(v_file_name,'/')+1),chr(10),NULL),chr(13),NULL)|| '"');
    -- close the headers
    owa_util.http_header_close;
    -- download the BLOB
    wpg_docload.download_file( Lob_loc );
    end if;
    end download_file; }
    Thank you,
    Mark

  • Error in report generation-Load report failed

    I have installed crystal reports  for VS2005 runtime in my live environment.When i try to load the report file from a .Net page i am getting the error'Error in Report generation-Load report failed'.
    This works fine in development and testing but when moved to production we are having issues.
    I believe i have a workaround i.e i need to open the rpt in a VS 2005 environment and re-write the connection string again.This fix had worked in development and testing when we had the same issue.
    But not sure if this is a known issue with crystal reports and if so do we have any hot fixes for the same.
    Please help.

    Hi Don,
    The reason why i posted the item on 'data Connectivity issues' is because i suspect the problem is with the connection string.Though i had provided the correct connection string,re-writing the connection string with the same info might help to fix the issue with loading the report.
    Does it mean that there is a problem in the connectivity?
    I have a risk here that i cant re-write the connection string..i.e to open the RPT file in VS2005 and bind it.The production web server & database server sits in a  third party environment and it is not in the company network.So i cant connect to this server to re-write from any other severs in the network.
    Is there any fix which can applied to the server to get this issue resolved?
    Cheers
    Nithya.

  • Remove link for uploaded files in application

    Hi all,
    I've been following the tutorial on how to upload and download files in application at http://download-uk.oracle.com/docs/cd/B32472_01/doc/appdev.300/b32469/up_dn_files.htm. I have now created my own table which stores the uploaded files and can download them successfully. I would now like to add the ability to delete these files within the application and was wondering what the best way of doing this was?
    I would like to add another column to the displayed report with a 'Remove file' link for each listed file, which when clicked would delete the file from the table. I've already tried using a similar method to the one used to upload the files (instead of uploading the file, the called procedure deletes it from the table using the specified ID), but this causes the application to display a blank page when the link is clicked, which I dont want (but does delete the file).
    I would appreciate any suggestions.
    Regards,
    Dave

    Dave,
    See the login page:
    http://htmldb.oracle.com/pls/otn/f?p=31517:101
    There are details on how to access the application builder, where you can see how the
    setup of that download, delete, upload application has been done.
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://htmldb.oracle.com/pls/otn/f?p=31517:1
    -------------------------------------------------------------------

Maybe you are looking for