Decoding BLOB data from Adapter engine Java Stack

Hi,
I am able to gain access to Java stack schema.
I am pulling out AUDIT_DATA field from BC_MSG_AUDIT.
This is a BLOB format data piece.
Is this Data stored in any specific encoding? or a normal UTF-8 string conversion will work?
Cheers,
Earlence

I've faced with same problem. What is the serialization scheme for AUDIT_DATA?

Similar Messages

  • To read data from Adapter engine table

    Hello,
    We have requirement to generate  a summary of report with number of messages success and failed in XI with failure reason
    I understand that we have to get the count of message from IE and AE and integrate it.
    Can anybody help to know in which table data from IE and AE is stored and how can we access it
    Also, any other solution to get the summary of count of interfaces running
    Thanks in advance

    Hi Anu.
    In the Adapter side (not visible by data dictionary), the tables are:
    XI_AF_MSG
    XI_AF_MSG_AUDIT
    In the Integration Server, the tables are:
    SXMSPMAST or SXMSPMAST2
    SXMSPEMAS or SXMSEMAS2
    SXMSPVERS or SXMBPVERS2
    SXMSCLUP or SXMSCLUP2
    SXMSCLUR or SXMBCLUR2
    SXMSPERROR or SXMBPERRO2
    History
    SXMSPHIST or SXMPHIST2
    The integration server tables can change if the configure delete procedure is active (it can be principal table 1 or 2).
    It´s better to use the runtime workbench reports delivered by SAP.
    Regards.
    Bruno.

  • Error in gettnig logon data for Adapter Engine

    Hi,
    We have Http > XI > RFC Scenario. We are getting 401 unauthorized error in "CALL ADAPTER" section. From the trace its clear that the logon data for the adapter engine (there is no value for USER in trace) is not getting poulated. We fixed this issue last evening....i think by doing full cache refresh, but this problem propped up again today. Yesterday when this issue was fixed the USER has "PIISUSER" in the trace.
    We haven't changed any config settings since yesterday so all the passwords and other config info is same. Not sure what's causing this issue. Below is the trace. Any help will be highly appreciated.
    - <Trace level="1" type="B" name="CL_XMS_PLSRV_IE_ADAPTER-ENTER_PLSRV">
      <Trace level="3" type="T">Channel for adapter engine: RFC</Trace>
    - <Trace level="1" type="B" name="CL_XMS_PLSRV_CALL_XMB-CALL_XMS_HTTP">
      <Trace level="2" type="T">return fresh values from cache</Trace>
      <Trace level="2" type="T">Get logon data for adapter engine (SAI_AE_DETAILS_GET): af.ppi.dac-sapd1</Trace>
      <Trace level="3" type="T">URL = http://dac-sapd1.actv2.com:8007/MessagingSystem/receive/AFW/XI</Trace>
      <Trace level="3" type="T">User =</Trace>
      <Trace level="3" type="T">Cached = X</Trace>
      <Trace level="3" type="T">Creating HTTP-client</Trace>
      <Trace level="3" type="T">HTTP-client: creation finished</Trace>
      <Trace level="3" type="T">Security: Basic authentication</Trace>
      <Trace level="3" type="T">Serializing message object...</Trace>
    <Trace level="3" type="System_Error">HTTP-client: error response= <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <title>Error Report</title> <style> td {font-family : Arial, Tahoma, Helvetica, sans-serif; font-size : 14px;} A:link A:visited A:active </style> </head> <body marginwidth="0" marginheight="0" leftmargin="0" topmargin="0" rightmargin="0"> <table width="100%" cellspacing="0" cellpadding="0" border="0" align="left" height="75"> <tr bgcolor="#FFFFFF"> <td align="left" colspan="2" height="48"><font face="Arial, Verdana, Helvetica" size="4" color="#666666"><b>  401 &nbsp Unauthorized</b></font></td> </tr> <tr bgcolor="#3F73A3"> <td height="23" width="84"><img width=1 height=1 border=0 alt=""></td> <td height="23"><img width=1 height=1 border=0 alt=""></td> <td align="right" height="23"><font face="Arial, Verdana, Helvetica" size="2" color="#FFFFFF"><b>SAP J2EE Engine/7.00 </b></font></td> </tr> <tr bgcolor="#9DCDFD"> <td height="4" colspan="3"><img width=1 height=1 border=0 alt=""></td> </tr> </table> <br><br><br><br><br><br> <table width="100%" cellspacing="0" cellpadding="0" border="0" align="left" height="75"> <tr bgcolor="#FFFFFF"> <td align="left" colspan="2" height="48"><font face="Arial, Verdana, Helvetica" size="3" color="#000000"><b>  Authentication did not succeed.</b></font></td> </tr> <tr bgcolor="#FFFFFF"> <td align="left" valign="top" height="48"><font face="Arial, Verdana, Helvetica" size="2" color="#000000"><b>  Details:</b></font></td> <td align="left" valign="top" height="48"><font face="Arial, Verdana, Helvetica" size="3" color="#000000"><pre>  No details available</pre></font></td> </tr> </body> </html></Trace>
      <Trace level="3" type="T">HTTP-client: closing...</Trace>
      <Trace level="3" type="T">HTTP-client: sending http-request...</Trace>
      <Trace level="3" type="T">HTTP-client: request sent</Trace>
      <Trace level="3" type="T">HTTP-client: Receiving http-response...</Trace>
      <Trace level="3" type="T">HTTP-client: response received</Trace>
      <Trace level="3" type="T">HTTP-client: checking status code...</Trace>
      <Trace level="3" type="T">HTTP-client: status code = 401</Trace>

    Hi,
    go to the exchange profile.
    there u need to maintain the password for the XIISUSER.
    I think u need to restart the J2EE Engine for the changes to take effect.
    Regards
    Cornelius

  • Write blob data from database to unix server

    Hi all,
    I need to send the attachment file into the mail. I have a header form in which I have implemented Download/Upload functionality using Apex user guide. When ever a user fill all the entries and submit the form then some field information along with attachment I need to send to the user.
    I mean when ever user hit the submit button it should take blob data from my custom table tmp_downlod_files and send to the user as an attachment.
    I have searched the post and got lot information but not able to get succeed.
    I have implemented java stored procedure for sending automatic mail when user is submitting the form but what I need is to take blob content from database and send as an attachment.
    1: So I need to write blob content from custom table to unix server in some location and from there I need to attach that file.
    2: the java store which I have implemented for sending automatic mail is working and one argument is attachment which I am passing null for now. So mail is working how to write the file from database to unix server and send as an attachment.
    What I did for writing file from database to unix server:
    1:
    CREATE OR REPLACE PROCEDURE trx_blob_to_file (l_header_id IN NUMBER)
    IS
    BEGIN
    FOR rec_picture IN (SELECT ID
    FROM TMP.tpx_download_files
    WHERE header_id = l_header_id
    AND mime_type LIKE ('image' || '%'))
    LOOP
    DECLARE
    l_out_file UTL_FILE.file_type;
    l_buffer RAW (32767);
    l_amount BINARY_INTEGER := 32767;
    l_pos INTEGER := 1;
    l_blob_len INTEGER;
    p_data BLOB;
    file_name VARCHAR2 (256);
    BEGIN
    SELECT blob_content, filename
    INTO p_data, file_name
    FROM tpx_download_files
    WHERE ID = rec_picture.ID;
    l_blob_len := DBMS_LOB.getlength (p_data);
    l_out_file :=
    UTL_FILE.fopen ('/home/oracle/interfaces/out/upld',
    file_name,
    'wb',
    32767
    WHILE l_pos < l_blob_len
    LOOP
    DBMS_LOB.READ (p_data, l_amount, l_pos, l_buffer);
    IF l_buffer IS NOT NULL
    THEN
    UTL_FILE.put_raw (l_out_file, l_buffer, TRUE);
    END IF;
    l_pos := l_pos + l_amount;
    END LOOP;
    UTL_FILE.fclose (l_out_file);
    EXCEPTION
    WHEN OTHERS
    THEN
    IF UTL_FILE.is_open (l_out_file)
    THEN
    UTL_FILE.fclose (l_out_file);
    END IF;
    END;
    END LOOP;
    END;
    2: I have written a PL/SQL process and calling the above procedure on SUBMIT:
    DECLARE
    l_header_id NUMBER;
    l_filename VARCHAR2 (200);
    BEGIN
    SELECT header_id, filename
    INTO l_header_id, l_filename
    FROM tpx_download_files
    WHERE header_id = :p35_sr_header_id;
    trx_blob_to_file (l_header_id);
    END;
    But it is not writing the file from database to unix server.
    If I can get how to make working to write file from database to unix server then I will hopefully can send an attachment.
    3; I have given
    GRANT EXECUTE ON TPX_BLOB_TO_FILE TO PUBLIC.
    And
    GRANT EXECUTE ON UTL_FILE TO PUBLIC.
    Where I am doing wroung can anyone guide me or any other approach is appreciated.
    I am already late so I need soon. Please help.

    Hi all,
    I need to send the attachment file into the mail. I have a header form in which I have implemented Download/Upload functionality using Apex user guide. When ever a user fill all the entries and submit the form then some field information along with attachment I need to send to the user.
    I mean when ever user hit the submit button it should take blob data from my custom table tmp_downlod_files and send to the user as an attachment.
    I have searched the post and got lot information but not able to get succeed.
    I have implemented java stored procedure for sending automatic mail when user is submitting the form but what I need is to take blob content from database and send as an attachment.
    1: So I need to write blob content from custom table to unix server in some location and from there I need to attach that file.
    2: the java store which I have implemented for sending automatic mail is working and one argument is attachment which I am passing null for now. So mail is working how to write the file from database to unix server and send as an attachment.
    What I did for writing file from database to unix server:
    1:
    CREATE OR REPLACE PROCEDURE trx_blob_to_file (l_header_id IN NUMBER)
    IS
    BEGIN
    FOR rec_picture IN (SELECT ID
    FROM TMP.tpx_download_files
    WHERE header_id = l_header_id
    AND mime_type LIKE ('image' || '%'))
    LOOP
    DECLARE
    l_out_file UTL_FILE.file_type;
    l_buffer RAW (32767);
    l_amount BINARY_INTEGER := 32767;
    l_pos INTEGER := 1;
    l_blob_len INTEGER;
    p_data BLOB;
    file_name VARCHAR2 (256);
    BEGIN
    SELECT blob_content, filename
    INTO p_data, file_name
    FROM tpx_download_files
    WHERE ID = rec_picture.ID;
    l_blob_len := DBMS_LOB.getlength (p_data);
    l_out_file :=
    UTL_FILE.fopen ('/home/oracle/interfaces/out/upld',
    file_name,
    'wb',
    32767
    WHILE l_pos < l_blob_len
    LOOP
    DBMS_LOB.READ (p_data, l_amount, l_pos, l_buffer);
    IF l_buffer IS NOT NULL
    THEN
    UTL_FILE.put_raw (l_out_file, l_buffer, TRUE);
    END IF;
    l_pos := l_pos + l_amount;
    END LOOP;
    UTL_FILE.fclose (l_out_file);
    EXCEPTION
    WHEN OTHERS
    THEN
    IF UTL_FILE.is_open (l_out_file)
    THEN
    UTL_FILE.fclose (l_out_file);
    END IF;
    END;
    END LOOP;
    END;
    2: I have written a PL/SQL process and calling the above procedure on SUBMIT:
    DECLARE
    l_header_id NUMBER;
    l_filename VARCHAR2 (200);
    BEGIN
    SELECT header_id, filename
    INTO l_header_id, l_filename
    FROM tpx_download_files
    WHERE header_id = :p35_sr_header_id;
    trx_blob_to_file (l_header_id);
    END;
    But it is not writing the file from database to unix server.
    If I can get how to make working to write file from database to unix server then I will hopefully can send an attachment.
    3; I have given
    GRANT EXECUTE ON TPX_BLOB_TO_FILE TO PUBLIC.
    And
    GRANT EXECUTE ON UTL_FILE TO PUBLIC.
    Where I am doing wroung can anyone guide me or any other approach is appreciated.
    I am already late so I need soon. Please help.

  • Installaing decentral Adapter Engine (Java EE) 7.1 Including Enhanc

    Dear All
    we are installaing decentral Adapter Engine (Java EE) 7.1 Including Enhancement package 1 on Linux with database DB2.To do installation we have followed the installation guide "Adapter Engine (Java EE) 7.1 Including Enhancement Package 1 on Linux: IBM DB2 for Linux, UNIX, and WindowsTarget"
    Accoridng to that document "In the Welcome screen, choose the required SAPinst installation option under the node SAP EHP1 for SAP NetWeaver Process Integration 7.1Installation >OptionsOptional Standalone Units >Partner Connectivity Kit." we have followed the same.
    The installation has been completed successfully.But to do post-installation activities the java url in not comming up.
    ,we have tried with physical host and ip address as well.From os level we have found that server0 process is in running status.
    I am not sure why the installation guide is asking us to follow  Process Integration 7.1Installation >OptionsOptional Standalone Units >Partner Connectivity Kit?
    Will you please let me know whether this is the correct procedure for Installation of Adapter engine on Pi 7.1 EHP1
    is there any prerequisite steps are there for adapter enginee
    Thanks and Regards
    ravikiran.CH

    Hello
    From your description, it appears that you have installed a PCK and not a decentral Adapter Engine.
    I guess you need to follow Process Integration 7.1Installation
    -> Optional Standalone Units
    -> Adapter Engine
    You can undeploy the PCK by following the steps in the note #1295094 Initialization of PI 7.1 XITOOLS fails.
    Regards
    Mark

  • Setup connectivity from ABAP to Java stack

    Hi
    I'm struggling to make connectivity setup from ABAP to Java stack. Objective is to call a java method published on javastack from a report/FM. Can some one guide me with some examples. Appreciate all your responses.
    Thanks

    Hello Yadagiri,
    I found three links that may help you
    http://help.sap.com/saphelp_nw70/helpdata/en/43/783e2beabd1ad0e10000000a114cbd/frameset.htm
    http://help.sap.com/saphelp_nw70/helpdata/en/45/f662fb6cc604ace10000000a114a6b/frameset.htm
    http://help.sap.com/saphelp_nw70/helpdata/en/45/0e78275adc6cbfe10000000a114a6b/frameset.htm
    I hope it helps!
    With regards,
    Caio Cagnani

  • How to retrieve data from MDM using java API

    hi experts
    Please explain me the step by step procedure
    how to retrieve data from MDM using java API
    and please tell me what are the
    important classes and packages in MDM Java API
    thanks
    ramu

    Hi Ramchandra,
    You can refer to following links
    MDM Java API-pdf
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/2d18d355-0601-0010-fdbb-d8b143420f49
    webinr of java API
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/89243c32-0601-0010-559d-80d5b0884d67
    Following Fourm Threads will also help.
    Java API
    Java API
    Re: usage of  java API ,
    Matching Record
    Need Java API for Matching Record
    Thanks and Regards,
    Shruti.
    Edited by: Shruti Shah on Jul 16, 2008 12:35 PM

  • How to retrive the blob data from a table using sql query

    Hi gurus,
    I have a table which has " BLOB "content in a column .I want to view the data From BLOB column using sql query .It would be helpfull If some one share their idea.
    Regards,
    vardhani.

    You can use data templates.
    See this: http://blogs.oracle.com/xmlpublisher/entry/blob_clob_raw_and_looooong
    http://blogs.oracle.com/xmlpublisher/entry/inserting_blobs_into_your_repo
    Thanks,
    Bipuser

  • How to get data from php to java via xmlrpc

    I have been trying to get data from php through apache xmlrpc to java.
    I do get an value as result. The result is "Array". How how do i convert the XMLRPC Object "Array" to Java Object?
    Inside the XMLRPC "Array" Object there is object too of type Array from php.
    See code for java here
    Object result = client.execute( "blogger.getCategories", params1 );
    Code from php here
    function getCategories($appkey, $username, $password)
         global $xmlrpcerruser, $xmlrpcI4, $xmlrpcInt, $xmlrpcBoolean, $xmlrpcDouble, $xmlrpcString, $xmlrpcDateTime, $xmlrpcBase64, $xmlrpcArray, $xmlrpcStruct, $xmlrpcValue;
         $structArray = array();
         $structArray[] = new xmlrpcval(array("one" => "test"));
         return new xmlrpcresp(new xmlrpcval( $structArray , $xmlrpcArray));     
    I do get Standard String and Integer from php to Java through XMLRPC.
    Can someone help me.
    Edited by: Electron32 on Aug 13, 2010 9:44 AM

    That is what is so strange. I return an 'array' through xmlrpcval() and in Java I tried to cast it to ArrayList, Vector,String[] but get an error
    Object[] result = (Object[]) client.execute( "blogger.getCategories", params1 );
    String[] array = (String[]) result;
    Exception in thread "main" java.lang.ClassCastException: [Ljava.lang.Object; cannot be cast to [Ljava.lang.String;
            at com.dirdalit.window.Main.main(Main.java:41)
    Edited by: Electron32 on Aug 13, 2010 12:25 PM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Extracting data from sap to java application using JCO

    Hi,
    I am new to sap and wanted to know what is the procedure to extract data from  based on the java application client (user defined input from different tables of sap) input and need to manage huge data meaning reading millions of records.kindly help me how to handle this in ABAP.

    Hi,
    Pls chk these links
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/ad09cd07-0a01-0010-93a9-933e247d3ba4
    Accessing SAP Tables from a Java application
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/47b6cd90-0201-0010-5aba-b6b7474d4aff
    Java Application ,SAP BW
    <b>***Reward Points if Useful</b>
    Regards
    Gokul

  • Post Installation steps for Messages archiving from Adapter engine

    Hi,
    Can any let me know the post installation steps for Archiving messages from AE.
    We are archiving the messages from Integration Engine (BC_XMB).
    This note refers to the Post installation steps... But i could not find them anywhere.
    Note 790226 - Messages in AdapterEngine/PCK database do not get archived
    Thanks,
    Tanuj
    Message was edited by:
            Tanuj Kumar Bolisetty

    Hi Tanuj,
    have a look at note 872388
    "2) For messages in the Adapter Framework: note 816022, question 8
    (deletion) and
    http://help.sap.com/saphelp_nw04/helpdata/en/cf/b2fc3f48ecc742e10000000a
    1550b0/content.htm (archiving)"
    Additionally consult the troubleshooting guide,page 110
    Set the adapter service properties (note 791379)
    Hope it helps
    Jaime

  • Problem posting message from adapter engine to IS

    Hello,
    We experience the next problem. We use JMS sender adapter to post message into XI. Message comes into the adapter engine and tries to post it into integration server. http://<host>:8000/sap/xi/engine?type=entry
    When posting we get the (very generic) error:
    Received HTTP response code 500..
    The Adapter engine does a retry every 5 minutes.
    After the 3th retry most of the status of the message in the adapter engine is set to NON_DELIVERED.
    However for what ever reason sometimes  the 2nd or 3th time the message does get processed to the IS.
    Is there anyone who experienced similar problems or does anyone know a solution for this.
    tnx
    Emile

    Hi,
    Is this the problem with JMS adapter or with any other Adapter.
    <b>8000</b>, is this the same port in smicm-->services. B'cos sometimes people might have a different instance number even.
    Cheers,
    Siva Maranani.

  • Exporting processed messages from adapter engine monitoring to excel

    Hey experts,
    I have some messages that are processed successfully. I can see them in the message monitoring for adapter engine in the RWB. I want to know if there is a way to export these messages to excel file.
    Also we have a files archived by PI with a .001 extension attached to them. Is there a way to open these files and look at the processed messages?
    Any help would be greatly appreciated.
    Regards.

    I can see them in the message monitoring for adapter engine in the RWB. I want to know if there is a way to export these messages to excel file.
    I don't think so.But you can right click.Select View Source.And then save the message in a notepad.
    Also we have a files archived by PI with a .001 extension attached to them. Is there a way to open these files and look at the processed messages?
    I don't get this! You can open these files by doing a right click.Open with wordpad.

  • How to Cache Data  from database for java mapping ?

    Hi
      I have a scenario where  i have to dynamically query  a huge table in some other database from java mapping code.
    Therefore instead of making a new Database trip everytime is there a mechanism by which i can cache the entire table contents into XI first and then use this cache for looking up data through my java mapping.
    Any other alternative also welcome which would give best performance.
    Please Suggest
    regards
    Nilesh Taunk.

    Hi Nilesh,
    I am not sure if you can actually cache the table in XI. You will have to look up directly from your Database everytime your mapping excecutes.
    To perform DB lookup during mapping very efficiently, I would suggest that you take a look at this blog,
    /people/siva.maranani/blog/2005/08/23/lookup146s-in-xi-made-simpler
    Also, instead of doing the DB look up in mapping, you can also use your JDBC adapter as a sender and collect the information you want from your DB,
    If you are using your JDBC as a sender, then your JDBC will poll over your database and select the rows that satisfy your Select Query. Also, there is another field in your JDBC adapter that is very important and that is the Update satatement. Once your JDBC adapter executes your select query and selects rows from the database, you might not need those rows to be selected again. In this csse, you can use the Update statement to update the database.
    http://help.sap.com/saphelp_nw04/helpdata/en/7e/5df96381ec72468a00815dd80f8b63/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/2e/96fd3f2d14e869e10000000a155106/content.htm
    The choice between a JDBC sender adapter , and the DB lookup will have to be on the basis of your requirements.
    Regards,
    Bhavesh

  • Display a BLOB data from Oracle in the browser

    Hello,
    I am trying to display Oracle BLOB(ie ORDSYS.ORDVIR) directly in the browser using ASP.
    It is working in SQL Server, but Oracle seems to be giving a problem...
    The code written in ASP is as follows :
    <%
    'Clear out the existing HTTP header Response.Expires = 0
    Response.Buffer = TRUE
    Response.Clear
    ' Change the HTTP header to reflect that an image is being passed.
    Response.ContentType = "image/jpeg"
    Set cn = Server.CreateObject("ADODB.Connection")
    cn.Open "UID=cbir;PWD=cbir;DSN=trying"
    ' Here thumbnaildata is of type ORDSYS.ORDVIR
    SQLQuery = "SELECT thumbnaildata from image where imagekey='1.JPG'"
    set rsBlob = cn.Execute(SQLQuery)
    Response.BinaryWrite rsBlob(0)
    rsBlob.Close
    Set rsBlob = Nothing
    Response.End
    %>
    The the following is displayed in the browser
    after the asp is executed...
    <font face="Arial" size=2>
    <p>Provider</font> <font face="Arial" size=2>error '80004005'</font>
    <p>
    <font face="Arial" size=2>Unspecified error</font>
    <p>
    <font face="Arial" size=2>/ASPSamp/oracbir/sujal/imgtrialora.asp</font><font face="Arial" size=2>, line 38</font>
    NB:- Line 38 is where the query is executed. i.e set rsBlob = cn.Execute(SQLQuery)
    Could you tell me what I did wrong? I am using Oracle 8.1.6 on Win NT..
    Does field of type ORDSYS.ORDVIR have extra info stored along with the image which needs to be removed before displaying the image..
    null

    Since ODBC does not understand Oracle object types, you must select the BLOB locater, not the VIR Object.
    One you've done that you need to loop over the data in the BLOB, pushing it out the Binary response object.
    You may also want to select the mimetype from the VIR object and use that value to set the content type of the response object.
    Here's a piece of code that does the job:
    strSQL = "SELECT t.IMAGE_THUMB.getMimetype(), t.IMAGE_THUMB.getContentLength(), t.IMAGE_THUMB.getContent() FROM IMPB.IMAGE_ITEMS t WHERE IMAGE_ID = 1"
    set rsOrdMediaSource = Server.CreateObject("ADODB.Recordset")
    rsOrdMediaSource.ActiveConnection = "dsn=impb_imperf;uid=impb;pwd=impb;"
    rsOrdMediaSource.Source = strSQL
    rsOrdMediaSource.CursorType = 0
    rsOrdMediaSource.CursorLocation = 2
    rsOrdMediaSource.LockType = 1
    rsOrdMediaSource.MaxRecords = 1
    rsOrdMediaSource.Open()
    If rsOrdMediaSource.EOF Then
    Response.Status = "404 Not Found"
    Response.End
    End If
    Dim blob
    Dim bytesToGo
    bytesToGo = rsOrdMediaSource.Fields.Item(1).value
    Dim vBuffer
    set blob = rsOrdMediaSource.Fields.Item(2)
    If Response.Buffer Then Response.Clear
    Response.Buffer = false
    Response.ContentType=rsOrdMediaSource.Fields.Item(0).value
    While bytesToGo > 0
    vBuffer = blob.getChunk(CLng(32768))
    Response.BinaryWrite(vBuffer)
    bytesToGo = bytesToGo - 32768
    Wend
    Reponse.End
    null

Maybe you are looking for

  • Asset problem: Folder is missing or contains no images.

    Hello, I have created a DPS project using InDesign CS5.5 -- the project is almost completed and everything has been working fine. I needed to update a bit of text and when I attempted to update the folio the update failed giving me a missing asset me

  • Terminated with error: REP-1924: Cannot locate the font file 'Arialbd.ttf'

    hi all i am using Application server 10g R2 while running report i am getting the following error Terminated with error: REP-1924: Cannot locate the font file 'Arialbd.ttf' i configured the Reports_Path with C:\windows\fonts if anyone faced the same

  • Connman cannot connect over pptp

    I was trying to set up a pptp VPN with connman. However, even after creating a config file in /var/lib/connman-vpn, I seem to not be able to connect to the vpn. The file (/var/lib/connman-vpn/kuins.config) is: [global] Name = KUINS Description = Conn

  • PIDIRUSER & PIRWBUSER Keep Getting Locked

    After a recent XI system copy my PIDIRUSER and PIRWBUSER keep getting locked by the kernel.  I did not change the passwords from the system I copied yet this problem only occurs in the new copy.  In SM21 it shows that SAPJSF locks it with repeated in

  • User Account Advanced Options Not Saving

    I'm trying to either add an alias or change the account name of a user account in Server.app. Right click on a user and select Advanced Options. From there I add an alias then click OK. A spinner appears then disappears. No other indicators showing i