How to specify the database file path when create FDM application

Dear All,
How to specify the database file path (MSSQL) when create FDM application?
Right now, all data file are placed in the D:\ . I want to specify the database files (log and mdf file) in other place. How to do it?
Thanks.

Where is the highS2.xml located on the disk? If you add it to your project you should set its Build Action to Content and its Copy To Output Directory to Always in Visual Studio:
Please remember to close your threads by marking helpful posts as answer once your issue has been solved and then start a new thread if you have a new question.

Similar Messages

  • How to assign the downloaded file path in dropdown menu dynamically?

    I have one jsp page. In that jsp page one dropdown menu is there. Dropdown menu contains "save" and "saved content". I download the file using "save" option in menu. That downloaded file path is assigned to the below of the "saved content" option. Then i clicked that downloaded file path, that file will be open.
    My problem is how to assign the downloaded file path in dropdown menu. plz help me.

    dittu wrote:
    My problem is how to assign the downloaded file path in dropdown menu. plz help me.I don't understand your problem.

  • How to Get the Source File Path in the Receiver Side

    Hi Experts,
    Here We are Trying to Do How to Get the Sender Information ( File Name & Path ) on the Receiver Side .
    According to the Michal Blog
    /people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14
    Here we Are Able to Get only the File Name.
    But If I Want to get the Total File  Path Also means What Should I Do Here ????
    Please Let Me Know
    Regards
    Khanna

    Khanna,
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey fkey = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
    DynamicConfigurationKey dkey = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","Directory");
    String fname = conf.get(fkey);
    Sring path = conf.get(dkey);
    String final=fname""path;
    return ""final"";
    Best regards,
    raj.

  • Jaas How to specify the config file

    Hi
    I'm working on a web app based on Sun's App Server 8. I am implementing security using a Jaas LoginModule. I cant figure out how i can specify the config file because if i make the change in the java.security file the server throws all sorts of exceptions....... i'm not sure how i can go about that..
    Thanks..

    Read the documentation. There are several different files that you can use to specifiy the handler to use for a particular context. One is ${user.home}/.java.login.config

  • How to change the log file path in BEA tuxedo 6.5 client in Windows xp

    Hi,
    I am using BEA Tuxedo 6.5 client in windows xp.
    The log files are created in C:
    Kindly help me in changing the log file path and also i want to know where these configurations are set.
    Advance thanks !!!
    Regards
    Bunsim

    Hi Bunsim,
    ULOGPFX is an environment variable. Your client executable can set an environment variable as part of a startup script,
    it can be included in a file used by the client that is defined with WSENVFILE environment variable, it can be read in
    a file by the client executable after startup using the tuxreadenv() API, it can be set by the client using the tuxputenv() API,
    the profile for the user executing the client can have an environment variable defined, or the windows registry can include
    a definition for the environment variable(there is also an BEA applet on Windows for administration but I think not on client only installs).
    WSNADDR is an environment variable that defines the address of the workstation listener that the client will connect to.
    Look for where your client defines WSNADDR and add, or modify,the ULOGPFX definition to meet your needs.
    Regards,
    Bob

  • How can I do change File Character when I export application (4.2.1.00.08)

    Hello,
    Please, help me!
    I need to change "File Character" when I export application with Apex 4.2.1.00.08 version, but this option, is not possible. The ComboBox already select with
    "Unicode UTF-8]', but I need "ISO-8859-1 - Europa Ocidental", how can I do change it?
    Thanks

    Please register for a "real" user account rather than the anonymous user7266483.
    You can not change it on the export...this is simply set to whatever is in effect in the DB.
    However, it is totally unnecessary to change it on export. If the database into which you need to import the exported application is "ISO-8859-1 - Europa Ocidental", at the time you begin to import, it will default to "ISO-8859-1 - Europa Ocidental". You need to change this to the character set under which it was exported. In this case, it was "Unicode UTF-8".
    It does not matter that you export and import in the same character set. It only matters that you correctly set the import to match how it was exported.
    -Joe

  • Specify the output file path and print name when printing pages

    hi,
    how can i Specify the output pdf file path and print name when i am using the function PrintPagesSilent from AcroAVDoc Object.
    My Code :-
    Acrobat.AcroAVDoc doc = new Acrobat.AcroAVDoc();doc.Open(path,
    "temp");

    Dear Irosenth,
    i try with different format (doc, docx,  xls, jpg, bmp and txt) and it working successfully, but it give an random name for the file which saved in default folder for Adobe PDF print.
    you can use the following function:
    private void PrintPDF(string[] inputfilepath){
    foreach (string path in inputfilepath){
    Acrobat.
    AcroAVDoc doc = new Acrobat.AcroAVDoc();doc.Open(path,
    "temp"); 
    Boolean v = doc.PrintPagesSilent(0, ((Acrobat.AcroPDDoc)(doc.GetPDDoc())).GetNumPages() - 1, 0, 0, 1);doc.Close(1);
    and calling it by the following code:
    PrintPDF(System.IO.Directory.GetFiles("c:\\t\\printjob"));
    copy all files that you want to convert in side the mentioned path and run it program, then check the defualt print path for Adobe PDF printer.
    test it and reply me. thanks again

  • How to make the control file consistent when I re-mulitplexing them

    Oracle 10g R2 on the AIX 5.3L
    My current control files (three) from the default set-up are all located in the same directory (/dbbaan/oradata/<SID>/). If I want to change some of the multiplexing of the control file to different directory to avoid the media failure,
    1. I copy one or two control files to different directory.
    2. create a new init_sid.ora from spfile
    2. edit the init_sid.ora file and change the locations of the control file
    3. shutdown/restart the DB using the init_sid.ora.
    4. create the spfile from the pfile
    5 shutdown/restart the DB with new spfile ( "SQL> startup")
    My question is: since there is always time lag between copying and recreating the new init_sid.ora, while the control file(s) are constantly updating, how can Db guarrente the consistency of the DB when I restart the DB (the control file specified in the init_sid.ora may be some time old) ? or does it matter?
    I did above and my DB restart without problem.

    Another problem concerns me. What happen if one of
    multiplexed control file location, which I use a NFS
    of another server, goes down and is not available
    during the operation ( After I restart up the DB)? I
    am sure I will see the error of that control file in
    the alert log.If one of the control files not accessible during operation, Oracle will crash. So you better make sure all of your control file location are reliable and accessible.

  • How to specify the download file name??

    Hi guys~~~
    I have servlet which can generate a *.pdf file,I found if I didn't setContentType="application/pdf",I can download it!!But the download file name is my servlet file name.If I want to change the download file name,How do I do????
    thanx a lot!!!Best regard!

    Thanx for ur help...But I encounter a new charllenge now...
    I use a javascript(window.open("/myservlet")) to open the download file servlet.
    Everything is okay.But when I finish downloading the file which window I opened cant close itself automatically.
    I am really not understand the header parameter of the HTML header,could someone give me something about this??
    Thanx again!!!!

  • How to configure the .ts files' path in the m3u8

    Now I have a fms server running, but the m3u8 file is not use the correct url for the ts files in the playlist.
    just like this:
    #EXTM3U
    #EXT-X-STREAM-INF:PROGRAM-ID=6334,BANDWIDTH=100000
    liveevent/livestream1.m3u8
    #EXT-X-STREAM-INF:PROGRAM-ID=6334,BANDWIDTH=200000
    liveevent/livestream2.m3u8
    #EXT-X-STREAM-INF:PROGRAM-ID=6334,BANDWIDTH=350000
    liveevent/livestream3.m3u8
    How to configure it to like this?
    http://xxx.xx.xx.xxx./liveevent/livestream1.m3u8

    I just want to have a live channel for HLS.
    I use the virtual camera to play a viedo. And use the FMLE to publish the viedo.
    And I create a m3u8 file named liveevent.m3u8.
    just like this:
    #EXTM3U
    #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=150000
    http://192.168.3.109/hls-live/livepkgr/events/_definst_/liveevent/livestream1.m3u8
    #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=500000
    http://192.168.3.109/hls-live/livepkgr/events/_definst_/liveevent/livestream2.m3u8
    #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=700000
    http://192.168.3.109/hls-live/livepkgr/events/_definst_/liveevent/livestream3.m3u8
    and put it on the webroot.
    now if I play this file, the client will download all the livestream%i.m3u8,
    The file livestream%i.m3u8 was created by FMS automaticlly.
    but it use the relative path for the ts files.
    I need the absolute path.
    that's all.
    thanks.

  • How to get the current FILE PATH?

    I want to get the File Path on my Java Programming, which class / method can get a File Path on the windows?
    thanks!

    I want to get the current working directory(e.g.
    c:\Tomcat5.0\webapps\)
    If this is a web application you're talking about and you want the directory where that application is installed, that's almost certainly not the CWD. It might be one of the context or whatever variables that's available to servlets. Look in the servlet API and see what's there.

  • How to Specify the Log File address as RootDir/Logs/Error.log in Log4j

    I have a web application,
    How to configure the log4j Rolling file Appender in that.
    I want to logs to be redirected to the RootDir/logs/Error.log.
    Currently, I m using following configuration:
    # This file must live on the classpath of the jvm
    # Set root logger level to DEBUG and log to both stdout and rollingFile appenders
    # (see below for their definitions)
    # The set of possible levels are: DEBUG, INFO, WARN, ERROR and FATAL
    log4j.rootLogger=INFO, stdout, R
    ####### Console appender ######
    log4j.appender.stdout=org.apache.log4j.ConsoleAppender
    log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
    # Pattern to output the caller's file name and line number.
    # The pattern: Date Priority (Filename:Line Number) - Message\n
    log4j.appender.stdout.layout.ConversionPattern=%d %-5p (%F:%L) - %m%n
    #### Second appender writes to a file
    log4j.appender.R=org.apache.log4j.RollingFileAppender
    log4j.appender.R.File=Error.log
    # Control the maximum log file size
    log4j.appender.R.MaxFileSize=100KB
    # Archive log files (one backup file here)
    log4j.appender.R.MaxBackupIndex=1
    log4j.appender.R.layout=org.apache.log4j.PatternLayout
    log4j.appender.R.layout.ConversionPattern=%d %-5p (%F:%L) - %m%n
    Thanks for your replies in advance.

    Please follow the following steps, will work.
    To enable log4j logging to a file on lunar pages do the following:
    1) Create a servlet class that will initialize log4j. Here is
    the code:
    package logging;
    import org.apache.log4j.PropertyConfigurator;
    import javax.servlet.http.HttpServlet;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    public class Log4jInit extends HttpServlet {
    public
    void init() {
    String prefix = getServletContext().getRealPath("/");
    String file = getInitParameter("log4j-init-file");
    // if the log4j-init-file is not set, then no point in trying
    if(file != null) {
    PropertyConfigurator.configure(prefix+file);
    public
    void doGet(HttpServletRequest req, HttpServletResponse res) {
    2) In your web.xml file add the following entry:
    <servlet>
    <servlet-name>log4j-init</servlet-name>
    <servlet-class>logging.Log4jInit</servlet-class>
    <init-param>
    <param-name>log4j-init-file</param-name>
    <param-value>WEB-INF/classes/log4j.lcf</param-value>
    </init-param>
    <load-on-startup>1</load-on-startup>
    </servlet>
    3) Create a log4j.lcf file located in your WEB-INF/classes directory
    as with the following entries:
    log4j.rootLogger=debug, R
    # yourdirectory below is where your site lives.
    log4j.appender.R=org.apache.log4j.RollingFileAppender
    log4j.appender.R.File=/home/yourdirectory/public_html/logs/out.log
    log4j.appender.R.MaxFileSize=500KB
    # Keep one backup file
    log4j.appender.R.MaxBackupIndex=1
    log4j.appender.R.layout=org.apache.log4j.PatternLayout
    log4j.appender.R.layout.ConversionPattern=%d %-5p [%c] %m%n
    4) Add logging to your class. Here is an example:
    import org.apache.log4j.Logger;
    public class Example {
    static Logger logger = Logger.getLogger(Example.class);
    public void doSomething() {
    logger.debug("testing logging");
    5) make sure you have the log4j-1.2.8.jar file located in your WEB-INF/lib directory.
    That should do it!

  • How to change the excel file name which is in Application server...

    hi friends,
    my requirement is getting failed, when i'm trying to change the file name which is in Application server using the FM: SXPG_COMMAND_EXECUTE.
    when i execute above FM, i can see all my required details in SM69 like:
    COMMAND NAME: ZSPOOL_TEST1      
    OS: Windows NT
    TYPE: Customer 
    OS COMMAND: cmd rename Y:\OBRZ.PDF OBRZ38582.PDF
    once the above FM is executed, i'm getting SY-SUBRC = 2 (exception: COMMAND_NOT_FOUND).
    so, can any one guide me how to resolve this issue or is there any other way to rename the file which is in AS?
    thanks in advance...

    Hi ,
    First you can tranfer the AS server file to a new application server file.
    Then you delete the original file .
    To do that you can write code as follows --
    DATA : w_file(8) TYPE c VALUE 'FILE_NAM', " your present AS file name
           w_new(8) TYPE c VALUE 'NEW_FILE',
           fs_itab(255) TYPE c,
           t_itab LIKE TABLE OF fs_itab.
    OPEN DATASET w_file FOR OUTPUT IN BINARY MODE.
    DO.
      READ DATASET w_file INTO fs_itab. " Reading value from the AS file to field string
      IF sy-subrc NE 0.
        EXIT.
      ELSE.
        APPEND fs_itab TO t_itab. " Populating internal table form the file value
      ENDIF.
    ENDDO.
    OPEN DATASET w_new FOR INPUT IN BINARY MODE. " creating a new file if that does not exist
    LOOP AT t_itab INTO fs_itab.
      TRANSFER fs_itab TO  w_new. " Transfering to file
    ENDLOOP.
    CLOSE DATASET w_file..
    DELETE DATASET w_file. " Dleting the old file
    CLOSE DATASET w_new.  " Closing the final file
    Regards
    Pinaki

  • How to clear the previous  filter text when creating new record??

    Dear All,
    my question is i i created table having filter and sorting.
    when i m searching data through filter text data is coming but i want to clear that text(filter text) when i am creating new record.
    for my case when i am creating new record all blank field is coming but in that filter text box previous data is coming which one i was searching.
    but i need when i will create a new record tat filter text should be clear.
    Thanks
    Damby

    Damby, please tell us your jdev version.
    Check my blog http://tompeez.wordpress.com/2011/10/29/jdev-how-to-reset-a-filter-on-an-aftable/ you can add this to the button you use to create the new record.
    Timo

  • How to get the trace file name for current running application?

    Hi, I want to know if it is possible to get the file name directly for current running application instance which is launched by javaws.
    There is a property "deployment.user.logdir" tells the log directory, it would be great if a file name property
    is available. something like "instance.trace.file".
    Our application wants it because we would like our client send use the application log by clicking a "send error"
    button, the codes finds the trace file and compress it and send it by using a smtp server.
    In 1.5, we can do it by using a shell program.

    I found other asked it before, but I tried to set both properties, but neither works. my sun JRE version :java version "1.6.0_04"
    <property
    name="deployment.javaws.traceFileName"
    value="abcfefsfdsf"/>
    <property
    name="deployment.javapi.trace.filename"
    value="235235235"/>
    But it always write to one trace file with name lik javaws63645.trace

Maybe you are looking for