How should i set the baseURI when a db file path with a space

if the db file in a path like c:\program file\myapplication,then i set the baseURI dbxml:c:\program file\myapplication ,some exception occur~what should i do ?
thanks a lot

The Base URI needs to be a valid URI, which means it cannot include the Windows '\' character at all. In your case, you should be fine using something along the lines of "file:////C:/program file/myapplication"
(give or take a '/' or two -- I haven't tested this).
It's a common for BDB XML users to confuse the argument to create/openContainer() (a filesystem path) with the Base URI (a URI). The meanings and requirements are different. The best thing to do is to set and use a container alias (XmlContainer::addAlias()) to use in your queries.
Regards,
George

Similar Messages

  • How can I set the language when sending an e-mail with attachment - 'Html'?

    "Character Broken"
    I made an ALV program, and this convert to "HTML',  and send an e-mail with this.
    Used Process is:
    DATA: gt_abaplist LIKE TABLE OF abaplist,
          gt_html LIKE TABLE OF w3html,
          doc_chng LIKE sodocchgi1,
          objpack LIKE TABLE OF sopcklsti1 WITH HEADER LINE,
          objhead LIKE TABLE OF solisti1 WITH HEADER LINE,
          mail LIKE TABLE OF solisti1 WITH HEADER LINE,
          reclist LIKE TABLE OF somlreci1 WITH HEADER LINE,
          lv_line TYPE i.
    DELETE FROM MEMORY ID '%_LIST'.
    SUBMIT z_template
       AND RETURN EXPORTING LIST TO MEMORY.
    CALL FUNCTION 'LIST_FROM_MEMORY'
      TABLES
        listobject = gt_abaplist
      EXCEPTIONS
        not_found  = 1
        OTHERS     = 2.
    CALL FUNCTION 'WWW_HTML_FROM_LISTOBJECT'
      TABLES
        html       = gt_html
        listobject = gt_abaplist.
    doc_chng-obj_name   = 'URGENT'.
    doc_chng-sensitivty = 'O'.
    doc_chng-obj_descr  = ' '.
    doc_chng-obj_langu  = '3'.
    objhead-line        = ' '.
    APPEND objhead.
    mail[] = gt_html[].
    DESCRIBE TABLE mail LINES lv_line.
    CLEAR: objpack.
    objpack-transf_bin = 'X'.
    objpack-head_start = 1.
    objpack-head_num   = 0.
    objpack-body_start = 1.
    objpack-body_num   = lv_line.
    objpack-doc_type   = 'htm'.
    objpack-obj_descr  = ' '. 
    objpack-doc_size   = lv_line * 255.
    objpack-obj_langu = '3'.
    APPEND objpack.
    CLEAR: reclist.
    reclist-receiver = 'e-mail address'.
    reclist-rec_type = 'U'.
    APPEND reclist.
    CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
      EXPORTING
        document_data              = doc_chng 
        put_in_outbox              = 'X'
        commit_work                = 'X'
      TABLES
        packing_list               = objpack
        object_header              = objhead
        contents_bin               = mail
        receivers                  = reclist
      EXCEPTIONS
        too_many_receivers         = 1
        document_not_sent          = 2
        document_type_not_exist    = 3
        operation_no_authorization = 4
        parameter_error            = 5
        x_error                    = 6
        enqueue_error              = 7
        OTHERS                     = 8.
    SUBMIT rsconn01 AND RETURN.
    I want to show  this by "Japanese".
    But the character is broken.
    LIke This:
    u01D1u072C          u0205|            u0205u072C          u0508           QC u04B90m
    How can I set the language?  How can I solve "Charancter Broken" ?
    Plesse, let me know.
    Thank you so much.
    Edited by: Jaime White 999 on Nov 21, 2011 8:45 AM
    Edited by: Jaime White 999 on Nov 21, 2011 8:46 AM

    Hi Jaime,
    Are you saying, you are getting junk characters in the email attachment? Then pls check the following. Since you want to send Japanese fonts, please pass language 'J' in both  objpack-obj_langu = '3' & doc_chng-obj_langu  = '3' instead of '3' please replace it with 'J'.
    Another thing which you may have to check is the SCOT device type. As I understand from my basis colleague, this may also affect your attachment fonts since the emails are sent through SCOT. Go to transaction SCOT-> Settings-> Device types for format conversion. Check whether wrong device type is defined for Japanese there. Hope this helps
    Regards,
    Gokul

  • How should I set the iMac display in normal mode

    how should I set the iMac display in normal mode

    Not certain if this is what you're asking, but the normal setup would be System Preferences>Displays>Disply tab and select 'Best for display'.

  • How do I set the audience when I'm using Siri on my iPhone 5 to post to Facebook

    How do I set the audience privacy for when I’m using Siri on my iPhone 5 to post to Facebook?
    When I ask Siri to post a message to my Facebook Siri tells me what I have said and then asks tot post it, I then checked on my computer and the post is visible to "ME ONLY" I can change this on the computer and on my phone via the App but I do not want to be doing that all the time.
    If I post to Facebook via Siri on my iPhone 5 I want it at the default setting of friends only.
    So How do I change this?
    I posted the first one 2 minutes ago then went into Facebook via the App and changed it but did a second one hoping that the default privacy had changed but it was again to me only. As you can see via the padlock. Please help. Thanks

    What if you do need help or emergency situation while Posting FB via Siri is the fastest way to show you or someone is in danger, and he/she is dying because the post is Only visible to Me !?!?!?!???
    Anyone who uses FaceBook to get immediate help for life threatening emergency is mercifully removing themselves from the gene pool.

  • How do i set the umask on a share i created with SharePoints?

    how do i change the umask on a share i created with SharePoints?
    user's drop files into the share and the permissions are set wrong. both the owner and group along with the mode.
    how can i set the default permissions given to newly created files by any user? prefably a non-unixish way but i'll take whatever i can get. tried tinkertool but that didn't work.
    i read other forums on macfitix which suggested changing the umask. i am not really sure how to convert integer to octal though. the fix needs integer. i dont know how to convert the permissions i need represented in octal to integer.
    i also read the manual on the chmod utility which suggested changing the set on write bit to 4000 so that the newly created files inside a directory would inheret the parent owner etc.. in theory this would work for me. i did that, but it didn't make a lick of a difference. said only on supported OSes. i take it os x must not support this.
    the permissions i need to set are 664 or read/write for owner and group and read only for everyone else. when the files get dropped right now they default to 600. not really sure how to convert that to integer or octal. apparently the umask equalivant is represented differently but also called octal but i do not understand why.
    hope someone can bring some clarity to my confusion.
    MacBook Pro   Mac OS X (10.4.8)  

    You may want to post your question in the SharePoints forums:
    http://hornware.com/discussion/

  • How does one set the DPI when resizing images in Bridge?

    I am sure I am missing something here (so excuse me if its a simple answer) but I am used to using Photo Mechanic and there you are able to set lots of variables while resizing.  I don't understand this Bridge resizing window when using Batch Processing thru Photoshop. 
    -There are two boxes for sizing.  If you put the same dimension in both does it just set the longest dimension to that size?
    -What if I want say a 10x10 inch image at 72 DPI for web use as opposed to a 10 x10 inch image at 300 DPI for printing purposes, where does one enter that info?
    Thanks,
    Joshua

    You don't "resize" anything in Bridge, nor does it set PPI, pixels per inch—and most certainly NOT "DPI" (Dots [of ink] Per Inch) which is exclusively a feature of the printer.
    Bridge is just a File Browser.  It used to be called simply the Photoshop File Browser".  It doesn't open, edit, manipulate resize or even save anything.
    It merely hands the file(s) over to the appropriate application, whether that be Photoshop, adobe Camera Raw, Illustrator, InDesign or even MS Word.
    You wrote:
    -What if I want say a 10x10 inch image at 72 DPI for web use as opposed to a 10 x10 inch image at 300 DPI for printing purposes, where does one enter that info?
    Again, you mean PPI in both instances there.
    You enter that in whatever application you're sending the image from Bridge.
    For instance in Photoshop:

  • How should I set the parameters of PID Autotuning such as relay amplitude and PV noise level?

    I want to control the temperature of a room by changing the hot water flow of a radiator with a control valve. The desirable control accuracy is +/- 0.5 degree of centigrade.
    What number should I set for relay amplitude? And what number should I set for PV noise level?

    Hello loghmani,
    If your output is saturating try to reduce your relay amplitude and/or reduce the gain Kc of the PID controller before starting the autotuning procedure.  You can find more information about each of the parameters that you've inquired about at this KnowledgeBase article.
    I would recommend taking a look at the General Auto PID Simulator.vi example.  You can find this example by doing a search in the example finder or by clicking linked example at the bottom of the detailed help page of the Autotuning PID.vi.
    If you haven't looked at the PID user manual that also contains useful information on setting up PID algorithims and Autotuning.
    David A
    National Instruments
    FlexRIO Product Support Engineer

  • How do I set the Alpha when opening an Image Sequence?

    I'm trying to imported a tiff image sequence w/embeded alpha into Final Cut Pro. Since Final Cut Pro has no feature for importing image sequences, I assume that Quicktime Pro is my only choice.
    Here's what I've done so far:
    1. Opened Image sequence in Quicktime Pro
    2. Went to "show movie properties"
    3. Selected "Video "Track" which is only track to select
    4. Went to "Visual Settings" tab, "transparency"
    5. Selected "straight alpha"
    It turns the alpha or matte area into a solid white. I've tried the other transparency options but they always give me the white.
    6. Import saved quicktime into FCP, edit into timeline, select different alpha settings, always white background.
    Am I doing something wrong, or is my graphics guy giving me image sequences with improperly embeded alphas?
    Avid will import the image sequence and read the alpha with no problem.

    In Final Cut (prefs) set the duration for still's
    Import the still folder. Or make a bin folder in the bowser window...
    Drop the still folder on the time line ....done
    I just did a test and it works.........

  • How should I set up a project for .mpg files?

    I recently got a panasonic waterproof video camera. when all is said and done, I end up with .mpg files. I brought them into premiere pro CS4 and started up a project using the avchd 720p 30fps preset. I used this preset, because it was my best guess, but when I play a clip in the timeline it shows up as a smaller picture than the monitor frame. after that I click on the preview and resize it to fit the monitor. then I bring the sequence into another project which is avchd 1080i 60 and again I have to resize the video. surely there is a better way!
    by the way, the original clip shows up as 704 x480.
    all advice is more than welcome. I'm sure I'm doing this absolutely wrong.

    Try creating a Sequence (prior to CS4, you had to do this at the Project level) for the 704x480 with the appropriate frame rate, and see how that goes. You can do this as a Desktop Sequence to allow you to set the frame size.
    Ideally, your Project/Sequence settings should match your Assets exactly. You can then Export to whatever is required.
    Good luck,
    Hunt

  • How do I set the folder to which temporary files are saved?

    As of now, whenever I click "Open with..." when downloading a file, a copy of that file saves to my desktop and never gets cleared. I'd like to set the temporary folder so I can manually clear it periodically, but the only file management option I seem to have is to set downloads to always save in a certain folder--which does not appear to include "temporary" files. How can I change the destination folder for temporary downloads? And why does Firefox download and save the files before opening them? I don't want to save every PDF I read online, yet this seems to be the default setting in order to open files.

    You probably need to set that temp folder in the Safari Preferences to set them for other programs.
    Safari > Preferences > General > Save Dowloaded Files To
    You can also set the Boolean pref browser.helperApps.deleteTempFileOnExit to true on the about:config page.
    See also http://kb.mozillazine.org/about%3Aconfig

  • How can I set the last mod of a file

    I get the last mod of a file (advanced file I/O palette -> File/Directory info)
    My problem is, that I download some files from a FTP-Server and the last mod of the downloaded file is not the same as on the ftp-server (the local file has always the time stamp from the downloaded date/time).
    I can list the timestamp from the files on the ftp-server, now I wanna change the last mod from my local file in the same as on the ftp-server.
    How can I make this?
    Thanks
    Regards
    Thomas
    Solved!
    Go to Solution.

    Hello TheDharmaInitiative,
    The "last modified" Attribute of a file can be altered programmatically using Windows API Functions.
    For LabVIEW i found a Post in a external Forum with some Sourcecode attached:
    http://www.labviewforum.de/index.php?s=c221d30094bfb9bd1edf87094f851b7f&showtopic=5895&st=0&p=28501&...
    For VB a Sourcecode Example can be found here:
    http://www.vbmonster.com/Uwe/Forum.aspx/vb/31547/Setting-a-file-s-timestamp
    To change the "last modified" Attribute manually a lot of Freeware and Open Source Tools are available:
    http://www.codeproject.com/KB/files/timestamp.aspx
    Regards
    Moritz M.

  • How should I set the print control in a SmartForm for barcoding?

    I already have defined the prefix(SBP27) and suffix(SBS01) print controls, now I would like to know how set them in the field in the Smart Form.

    Jorge,
    The forum you have posted your question in is for questions related to the SAP Business One SDK.  Is your question related to the Business One SDK?
    Eddy

  • How to set the filename when downloading a file?

    I'm working on mvc4. I have generated excel file dynamically using following simple code my hosting is on Azure
    I have created a Root path and then try to save that excel file.
    Problem is when my Action Result method response comes back it is giving default popup to open a file but file name is having a GUID instead my provided file name
    What id wrong any clue?
    Excel file generation code:
    Microsoft.Office.Interop.Excel.Application xlApp =
    new Microsoft.Office.Interop.Excel.Application();
    return tempPath;
    This method returns something like C:\AppData\Local\dftmp\Resources\11a2435c-998c-4fe8-aa55-8bb42455b4ca\directory\myexcelFILE.xls.
    The Download File popup does not give file name as myexcelFILE.xls it gives some GUID why so?
    Action
    Result method code
    public ActionResult DownloadExcel(){
    string path = ExcelGenerationCode(fileName);
    Stream s = new FileStream(path, FileMode.Open, FileAccess.Read);
    return new FileStreamResult(s, "application/vnd.ms-excel");
    Ashish Fugat (ashuthinksatgmail.com) SE

    http://forums.asp.net/
    The above forum has the MVC section.

  • Running T-code miro, how should i set the DRSEG-SGTXT value automatically

    Hi experts,
    When i run t-code miro, i want to fill into the text value(DRSEG-SGTXT) on the item line automatically.
        Its value is the PO description by default. I has tested the user exits (Related to T-Code MIRO,such as LMR1M001/002/003/004 etc) and badi(INVOICE_UPDATE). They can't work very well.
       I'd like to input Purchasing Document Number and enter, material items are display and its text value(DRSEG-SGTXT) is also filled in.  
    Any clue is appreciated.
    - Daniel

    Hello,
    start the report RSMODPRF and see the documentation.
    http://www.sap-img.com/abap/field-exits-smod-cmod-questions-and-answers.htm
    There are some threads in SDN for this topic, you can search in SDN
    Kind regards,
    JP

  • When sending an email how do I set the address when sending to multiple recipients so that each recipient only sees his or hers address and not everyone else

    I would like so send emails to multiple addresses yet I want each recipient to only see his or her address

    This question isn't related to Mozilla Firefox. However, I can still answer your question. In the 'to' field, put your own e-mail address and put each recipient's address in the BCC field. This way the only address seen is your own.
    Please try to post in the appropriate forum next time. (Thunderbird, Gmail, etc.)

Maybe you are looking for