Executable file in File watcher - 11gR2 RAC

Hi,
Is it possible to execute a shell script through the File watcher feature in 11gR2. i can schedule it through dbms_scheduler but its not working with filewatcher.
The examples available on the net are for stored procedure and not executable files.
Thanks

http://java.sun.com/docs/books/tutorial/deployment/jar/index.html

Similar Messages

  • Checkpoint not complete in alert log file Oracle 11gR2 RAC

    Hi,
    I found checkpoint not complete in alert log file, almost every 3 seconds .
    In metalink i saw for this error, archive_lag_target=0, already this value was set to 0 in my database.
    We have 7 redo log groups for each instance, each group is of two redo log files, each file size is 50m.
    To avoid this error what i need to do..........
    please help me..................

    When you "checkpoint not complete" messages in your alert log this normally means your online redo logs are defined too small to handle the load and you have filled and need to switch to a new online redo log before the checkpoint triggered by the previous log switch has been completed.
    Increasing your online redo log size is normally the fix for this.
    HTH -- Mark D Powell --
    PS - The following Oracle support document may also apply:
    Checkpoint Not Complete In Alert.log Due To Setting Of Archive_lag_target [ID 435780.1]
    Edited by: Mark D Powell on Nov 7, 2011 8:29 AM

  • Install 11gR2 RAC Database Problem: Invalid source path /.../Datafiles

    Folks,
    Hello. I am installing Oracle 11gR2 RAC using 2 VMs (rac1 and rac2) whose OS are Oracle Linux 5.6 in VMPlayer according to the website http://appsdbaworkshop.blogspot.com/2011/10/11gr2-rac-on-linux-56-using-vmware.html
    I have just finished installing Grid infrastructure and start to install RAC database 11gR2.
    I have downloaded 2 files from https://edelivery.oracle.com as below:
    V17530-01_1of2
    V17530-01_2of2
    When I start to install the RAC database using the above 2 files but get the error below:
    [ora11g@rac1 V17530-01_1of2]$ ls
    database
    [ora11g@rac1 V17530-01_1of2]$ cd database
    [ora11g@rac1 database]$ ls
    doc install response rpm runInstaller sshsetup stage welcome.html
    [ora11g@rac1 database]$ ./runInstaller
    Starting Oracle Universal Installer...
    Checking Temp space: must be greater than 120 MB. Actual 5028 MB Passed
    Checking swap space: must be greater than 150 MB. Actual 2224 MB Passed
    Checking monitor: must be configured to display at least 256 colors. Actual 16777216 Passed
    Preparing to launch Oracle Universal Installer from /tmp/OraInstall2012-03-06_11-08-23AM. Please wait ...
    Invalid source path '../stage/Components/oracle.jdk/1.5.0.17.0/1/DataFiles' specified for unzip. Unzip command failed. Please check oraparam.ini and specify a valid source path.
    : No such file or directory
    [ora11g@rac1 database]$
    As we see the output above, the error is Invalid source path /../stage/Components/oracle.jdk/1.5.0.17.0/1/DataFiles.
    My questions are:
    First, are the files V17530-01_1of2 and V17530-01_2of2 the correct files for 11gR2 RAC database ?
    Second, how to solve the issue "Invalid source path /../stage/Components/oracle.jdk/1.5.0.17.0/1/DataFiles" ?
    Thanks.

    Folks,
    Hello. thanks a lot for replying.
    I go up one level ( / ) and run the command again as below:
    [root@rac1 /]# du --max-depth=1 -h
    Its output:
    8.0K ./srv
    83M ./sbin
    9.0G ./tmp
    4.9G ./usr
    157M ./var
    20M ./boot
    8.4M ./bin
    3.3G ./u01
    252M ./lib
    8.0K ./selinux
    12K ./mnt
    16K ./lost+found
    164M ./dev
    0 ./misc
    29M ./lib64
    8.0K ./u02
    100K ./tftpboot
    12K ./media
    0 ./proc
    248K ./root
    0 ./sys
    117M ./etc
    3.3G ./home
    3.5M ./opt
    25G .
    [root@rac1 /]#
    As we see the output above, it seems that 25GB disk space is used and /tmp occupies 9GB.
    I have remove the files under /tmp but after reboot OS, the same files come up again under /tmp.
    Some folks use 12GB for each of their VMs and is enough to install Grid and RAC Database.
    My questions are:
    Why my VM with 30GB disk space does not have enough disk space to install RAC database ?
    Can any folk help to solve the issue ?
    Thanks.

  • Regarding: Enabling 11gR2 File watcher feature in 10gR2.

    Hi,
    We need to have 11gr2 File_watcher feature in 10.2.0.1 in Windows XP.
    We ran the dbms_scheduler script in 10gR2 database available in ORACLE_HOME/rdbms/admin/dbmssch.sql of 11gR2.
    Since this feature is available in 11gR2.
    we tried to execute the script in 10gR2, we are getting the following error.
    ERROR at line 1:
    ORA-04063: package body "SYS.DBMS_SCHEDULER" has errors
    ORA-06508: PL/SQL: could not find program unit being called:
    "SYS.DBMS_SCHEDULER"
    ORA-06512: at line 2
    Is there any package/scripts/Procedures to enable the file_watcher feature in 10.2.0.1 database.
    Please help me in this regards,
    Thanks
    Kumaresh.

    The new File Watcher feature is really nothing more than a job that wakes up every ten minutes to check for the existence of file(s).
    There is nothing to stop you writing your own PL/SQL that checks for a file using either UTL_FILE or DBMS_LOB and scheduling that every 10 minutes with either DBMS_JOB or DBMS_SCHEDULER. You could, if you wanted, write your PL/SQL so that it puts a message in a queue when it finds a file, or even start a scheduler job. Or anything you like.
    Nothing to stop you at all.

  • Help: I want to auto schedule a load using file watcher but it runs only once for the first time and after that it is not running at all

    Hi All,
    I am trying  to execute the below code as provided from one of the blogs. i am able to run the job only once based on a file watcher object(i.e. for very first time) and after that the job is not running at all and if  i schedule the job to run automatically based on interval of 10 or more minutes it is executing properly). Please let me know or guide me if i have missed any step or configuration.that is needed.
    Version of Oracle 11.2.0.1.0
    OS : Windows 7 Prof
    Given all the necessary privileges
    BEGIN
      DBMS_SCHEDULER.CREATE_CREDENTIAL(
         credential_name => 'cred',
         username        => 'XXXX',
         password        => 'XXXX');
    END;
    CREATE TABLE ZZZZ (WHEN timestamp, file_name varchar2(100),
       file_size number, processed char(1));
    CREATE OR REPLACE PROCEDURE YYYY
      (payload IN sys.scheduler_filewatcher_result) AS
    BEGIN
      INSERT INTO ZZZZ VALUES
         (payload.file_timestamp,
          payload.directory_path || '/' || payload.actual_file_name,
          payload.file_size,
          'N');
    END;
    BEGIN
      DBMS_SCHEDULER.CREATE_PROGRAM(
        program_name        => 'prog1',
        program_type        => 'stored_procedure',
        program_action      => 'YYYY',
        number_of_arguments => 1,
        enabled             => FALSE);
      DBMS_SCHEDULER.DEFINE_METADATA_ARGUMENT(
        program_name        => 'prog1',
        metadata_attribute  => 'event_message',
        argument_position   => 1);
      DBMS_SCHEDULER.ENABLE('prog1');
    END;
    BEGIN
      DBMS_SCHEDULER.CREATE_FILE_WATCHER(
        file_watcher_name => 'file_watcher1',
        directory_path    => 'D:\AAAA',
        file_name         => '*.txt',
        credential_name   => 'cred',
        destination       => NULL,
        enabled           => FALSE);
    END;
    BEGIN
      DBMS_SCHEDULER.CREATE_JOB(
        job_name        => 'job1',
        program_name    => 'prog1',
        queue_spec      => 'file_watcher1',
        auto_drop       => FALSE,
        enabled         => FALSE);
      DBMS_SCHEDULER.SET_ATTRIBUTE('job1','PARALLEL_INSTANCES',TRUE);
    END;
    EXEC DBMS_SCHEDULER.ENABLE('file_watcher1,job1');
    Regards,
    kumar.

    Please post a copy and paste of a complete run of a test case, similar to what I have shown below.
    SCOTT@orcl12c> SELECT banner FROM v$version
      2  /
    BANNER
    Oracle Database 12c Enterprise Edition Release 12.1.0.1.0 - 64bit Production
    PL/SQL Release 12.1.0.1.0 - Production
    CORE    12.1.0.1.0    Production
    TNS for 64-bit Windows: Version 12.1.0.1.0 - Production
    NLSRTL Version 12.1.0.1.0 - Production
    5 rows selected.
    SCOTT@orcl12c> CONN / AS SYSDBA
    Connected.
    SYS@orcl12c> -- set file watcher interval to one minute:
    SYS@orcl12c> BEGIN
      2    DBMS_SCHEDULER.SET_ATTRIBUTE
      3       ('file_watcher_schedule',
      4        'repeat_interval',
      5        'freq=minutely; interval=1');
      6  END;
      7  /
    PL/SQL procedure successfully completed.
    SYS@orcl12c> CONNECT scott/tiger
    Connected.
    SCOTT@orcl12c> BEGIN
      2    -- create credential using operating system user and password (fill in your own):
      3    DBMS_SCHEDULER.CREATE_CREDENTIAL
      4       (credential_name     => 'cred',
      5        username          => '...',
      6        password          => '...');
      7  END;
      8  /
    PL/SQL procedure successfully completed.
    SCOTT@orcl12c> -- create table to insert results into:
    SCOTT@orcl12c> CREATE TABLE ZZZZ
      2    (WHEN      timestamp,
      3      file_name varchar2(100),
      4      file_size number,
      5      processed char(1))
      6  /
    Table created.
    SCOTT@orcl12c> -- create procedure to insert results:
    SCOTT@orcl12c> CREATE OR REPLACE PROCEDURE YYYY
      2    (payload IN sys.scheduler_filewatcher_result)
      3  AS
      4  BEGIN
      5    INSERT INTO ZZZZ VALUES
      6        (payload.file_timestamp,
      7         payload.directory_path || '/' || payload.actual_file_name,
      8         payload.file_size,
      9         'N');
    10  END;
    11  /
    Procedure created.
    SCOTT@orcl12c> -- create program, define metadata, and enable:
    SCOTT@orcl12c> BEGIN
      2    DBMS_SCHEDULER.CREATE_PROGRAM
      3       (program_name          => 'prog1',
      4        program_type          => 'stored_procedure',
      5        program_action      => 'YYYY',
      6        number_of_arguments => 1,
      7        enabled          => FALSE);
      8    DBMS_SCHEDULER.DEFINE_METADATA_ARGUMENT(
      9       program_name         => 'prog1',
    10       metadata_attribute  => 'event_message',
    11       argument_position   => 1);
    12    DBMS_SCHEDULER.ENABLE ('prog1');
    13  END;
    14  /
    PL/SQL procedure successfully completed.
    SCOTT@orcl12c> BEGIN
      2    -- create file watcher:
      3    DBMS_SCHEDULER.CREATE_FILE_WATCHER
      4       (file_watcher_name   => 'file_watcher1',
      5        directory_path      => 'c:\my_oracle_files',
      6        file_name          => 'f*.txt',
      7        credential_name     => 'cred',
      8        destination          => NULL,
      9        enabled          => FALSE);
    10  END;
    11  /
    PL/SQL procedure successfully completed.
    SCOTT@orcl12c> BEGIN
      2    -- create job:
      3    DBMS_SCHEDULER.CREATE_JOB
      4       (job_name          => 'job1',
      5        program_name          => 'prog1',
      6        queue_spec          => 'file_watcher1',
      7        auto_drop          => FALSE,
      8        enabled          => FALSE);
      9    -- set attributes:
    10    DBMS_SCHEDULER.SET_ATTRIBUTE ('job1', 'PARALLEL_INSTANCES', TRUE);
    11  END;
    12  /
    PL/SQL procedure successfully completed.
    SCOTT@orcl12c> -- enable:
    SCOTT@orcl12c> EXEC DBMS_SCHEDULER.enable ('file_watcher1, job1');
    PL/SQL procedure successfully completed.
    SCOTT@orcl12c> -- write file (file must not exist previously):
    SCOTT@orcl12c> CREATE OR REPLACE DIRECTORY upncommon_dir AS 'c:\my_oracle_files'
      2  /
    Directory created.
    SCOTT@orcl12c> declare
      2    filtyp utl_file.file_type;
      3  begin
      4    filtyp := utl_file.fopen ('UPNCOMMON_DIR', 'file1.txt', 'W', NULL);
      5    utl_file.put_line (filtyp, 'File has arrived ' || SYSTIMESTAMP, TRUE);
      6    utl_file.fclose (filtyp);
      7  end;
      8  /
    PL/SQL procedure successfully completed.
    SCOTT@orcl12c> -- wait long enough (may take more than one minute) for job to run:
    SCOTT@orcl12c> EXEC DBMS_LOCK.SLEEP (100)
    PL/SQL procedure successfully completed.
    SCOTT@orcl12c> -- check for results:
    SCOTT@orcl12c> SELECT * FROM zzzz
      2  /
    WHEN
    FILE_NAME
    FILE_SIZE P
    22-OCT-13 10.12.28.309000 PM
    c:\my_oracle_files/file1.txt
            57 N
    1 row selected.
    SCOTT@orcl12c> declare
      2    filtyp utl_file.file_type;
      3  begin
      4    filtyp := utl_file.fopen ('UPNCOMMON_DIR', 'file2.txt', 'W', NULL);
      5    utl_file.put_line (filtyp, 'File has arrived ' || SYSTIMESTAMP, TRUE);
      6    utl_file.fclose (filtyp);
      7  end;
      8  /
    PL/SQL procedure successfully completed.
    SCOTT@orcl12c> -- wait long enough (may take more than one minute) for job to run:
    SCOTT@orcl12c> EXEC DBMS_LOCK.SLEEP (100)
    PL/SQL procedure successfully completed.
    SCOTT@orcl12c> -- check for results:
    SCOTT@orcl12c> SELECT * FROM zzzz
      2  /
    WHEN
    FILE_NAME
    FILE_SIZE P
    22-OCT-13 10.12.28.309000 PM
    c:\my_oracle_files/file1.txt
            57 N
    22-OCT-13 10.14.08.580000 PM
    c:\my_oracle_files/file2.txt
            57 N
    2 rows selected.

  • File Watcher issue...

    I am hoping someone can nail this or point me in the right direction because I seem to be hitting a brick wall...
    Until last night I was successfully using my file watcher job and then it just stopped "watching" for some unexplainable reason. The file watcher and the event job is pretty straightforward based on several examples provided in this forum and elsewhere. Few details;
    Oracle EBS R12 (12.1.3)
    Database Version:
    BANNER
    Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
    PL/SQL Release 11.2.0.2.0 - Production
    CORE     11.2.0.2.0     Production
    TNS for Linux: Version 11.2.0.2.0 - Production
    NLSRTL Version 11.2.0.2.0 - ProductionFile Watcher and Job DDL. Please note, this is not the original piece that I was working with when the problem started, but in an effort to diagnose the issue I picked a simpler version from one of the posts on this forum (posted by 'RnR'):
    begin
      dbms_scheduler.create_credential (
        'external_user',
        'osuser',
        'ospassword');
      dbms_scheduler.create_file_watcher (
        file_watcher_name => 'file_watcher',
        directory_path    => '/tmp',
        file_name         => 'file.txt',
        credential_name   => 'external_user',
        enabled           => TRUE);
      dbms_scheduler.create_job (
        job_name          =>'filewatchjob',
        queue_spec        =>'file_watcher',
        job_type          =>'plsql_block',
        job_action        =>'null;',
        event_condition   => NULL,
        enabled           =>true);
    end;
    NOTE: I have used different parameter values for directory_path, file_watcher & job name, and credential.
    1. I have tested and confirmed that 'Credential' works. This was tested by using another 'External' job which moves files from location A to B.
    2. I altered 'REPEAT_INTERVAL' attribute of 'FILE_WATCHER_SCHEDULE' from the default 10mins to 3mins.
    3. Created and touched the file "file.txt" at frequent intervals in anticipation it will get pooled.
    However,
    1. **schedulerjob_run_details* and **schedulerjob_log* does not show the said job as expected.
    2. The file watcher is created correctly and appears in dba_scheduler_file_watchers.
    3. The file watcher job appears in user_scheduler_jobs as ENABLED
    4. From table dba_scheduler_global_attribute the value for attribute FILE_WATCHER_COUNT is 6. Which sounds about right before things stopped.
    5. Finally (no quite as I tried several other things in-between), as a last resort the database server was bounced, but still no change.
    It almost feels like the background process that queues the file watcher queue has stopped!! Just a guess. But I have no idea how to check for that. I have looked at dba_running_jobs to see if sys.file_watcher job is running, but no. I am not sure if this is something I should be looking for....
    So, please any questions, suggestions, thoughts, etc... will be truly appreciated.
    thanks
    ilyas
    P.S. What tags to use to format code in forum post?
    Edited by: ilyas001 on Jul 7, 2011 11:38 PM
    Our DBA pointed out a BUG ID on metalink 11715143: FILE WATCHER DOESN'T EXECUTE THE JOB WHEN THERE'S FILES IN THE WATCHED DIRECTORY
    The symptoms listed in the bug note are very similar to my problem with two exceptions: 1). Our server is not generating a trace file for filewatcher (it did generate trace when I screwing up with 'External' job types), and 2). As mentioned previously, file watcher was working until 24Hrs back.....
    Edited by: ilyas001 on Jul 8, 2011 9:27 AM

    @mseberg
    suggestion :
    set parallel_instances=trueYES. The parallel inst attribute for the job was set to TRUE. Not for the job in the code snippet I posted, but for the original code that was working successfully - as expected. In the latter test code case I was creating and touching files every so often (my default job class interval was changed to 3mins.
    I know you have done this but I would triple check :
    SELECT credential_name,
    username
    FROM user_scheduler_credentials;YES. Creating Credentials was the first heartburn I had because it would get created, but just couldn't run any OS commands. Sorry, can't remember the exact error msg, it was something others had experienced on this forum. After a lot of digging on google and here it finally started to work after (re)linking libpam library (64bit).
    So, it appears in the scheduler credential table and have frequently tested it by running another job of type EXECUTABLE to move files around from the same source location where Filewatcher is polling from.
    Mseberg, thanks for your feedback.

  • File Watcher doesn't work

    Hi,
    I have Oracle 11g R2 on E Linux 5.5 64-bit.
    I created a File Watcher but couldn't get it to work.
    Following is the script I used to create the file watcher:
    http://www.ahmedbaraka.com/temp/fwscript.sql
    Following is the output of executing the script:
    http://www.ahmedbaraka.com/temp/fwoutput.htm
    Any guideline is appreciated.

    yes, does not produce expected results.
    Error of commission or error of omission?
    Answer is TBD.
    Edited by: sb92075 on Dec 20, 2010 5:49 PM

  • Console Message: EV_DELETE failed for file watcher

    Hi all,
    MBP 2.5GHz/4GB RAM/250GB HD/10.6.4 with all updates.
    I get the following Console message 8 times, in less than 2 seconds, each time I log out, restart, shut down, start up, log in:
    com.apple.notifyd 12 EV_DELETE failed for file watcher
    Any thoughts on cause or solution?
    Thanks!

    William Boyd, Jr. wrote:
    If you search these discussion groups for "EV_DELETE" (without the quotes), you'll see several threads about it. Unfortunately, there doesn't seem to be a lot of reliable advice about how to prevent it. One thread elsewhere suggested that it can be caused by a hardware problem.
    I've read a lot of them, tried some things, but no luck yet. I'm doubting that it's a hardware issue, based on my previous post, but who knows.
    I tried this
    this error comes from the file_watcher module from notifyd when some permissions are buggy (unknown)
    So check that / and the first level files and folder under / are not unknown. (use 'ls -l / 'command in terminal to check them)
    If they are with bad owner and/or group 'unknown' (or some of them),
    use chown root:wheel my_file to correct them (where myfile is a file with weird owner/group)
    then execute the following in a Terminal window:
    sudo chown root:admin /
    sudo kextcache -system-prelinked-kernel
    sudo kextcache -system-caches
    and while "ls -l /" did find some things, the sudo commands did nothing.
    I also ran across this
    One thing, if you do man kextcache, it says instead of running kextcache you should "run touch(1) on the /System/Library/Extensions/ directory of the installation target volume" which I did instead of running kextcache.
    but I have no idea what this person is trying to say (I'm way out of my league running Terminal commands. All I do is copy and paste what I consider to be promising commands from seemingly knowledgeable and helpful people; sure hoping to run across one or more of them here! ).
    Message was edited by: tjk

  • Text Message: Unable to execute file for security ...

    Whenever I'm viewing a text message, when I try to open up the "Options" menu, I see the above message, "Text Message: Unable to execute file for security reasons". This doesn't seem to impact the functionality of the menu at all, everything seems to work.
    Anyone ever come across this before?
    I've updated the phone (Nokia E66) to the latest software, and I've only got one application installed other than the default base install (Google calendar sync utility), removing that doesn't change the problem.
    Thanks in advance!

    I get the same error after SW update to latest version when I try to run some apps 

  • My excel report is not working in executable file ,however,it works well in vi

    Hi all ,
         Could any one please help me in getting the reason behind the executable file not working for excel report generation,however I can get the same function without any problem in main vi.
    I am attaching my code and executable file also ,please have a look into it and let me know where I am wrong.
    Thanks & Regards !
    sarita
    Message Edited by MindPower on 10-24-2007 01:40 AM
    Message Edited by MindPower on 10-24-2007 01:43 AM
    Attachments:
    test datalog.vi ‏264 KB
    test datalog-NEW.zip ‏1020 KB

    I can't open the vi in the moment. But by your description I think that I know the solution.
    When you build the executable you've to add dinammically the vi's from report generator that aren't in your main vi hierarchy. So, you've to open the vi's and find those that are open trough "open vi reference" and add them dinamicaly.
    And don't know if these tips are enough.
    From NI Zvezdana S.
    "When you use the Report Generation Toolkit to build a stand-alone application with the Application Builder, you must add _Word Dynamic VIs.vi from _wordsub.llb and _Excel Dynamic VIs.vi from _exclsub.llb as dynamic VIs. These two VIs contain subVIs that are called dynamically by the high-level Report Generation VIs. I believe that if you grab these VIs from the (desired office version part of the) installation CD instead of from the development machine, then everything should work. "
    Software developer
    www.mcm-electronics.com
    PS: Don't forget to rate a good anwser ; )
    Currently using Labview 2011
    PORTUGAL

  • Unix Executable files - need help to open

    Hi folks, sorry i have been looking through previous discussions re these type of files but its all well and truley above me.  I have been given a video file and when copied to 'finder' it showed it was a unix executable file and it opened Terminal, again made no sense to me.  I was informed to download MPEG Streamclip with no luck and the jargon I have read is goobledegook to me, sorry.  Can anyone help pls in simple terms???? 

    One thing you could try is to drop one of the files on to the vlc video player.  If the file is truely a video file then odds are vlc will figure that out and be able to play it.  It also has a menu to tell you info about the file so you could figure out what kind of file it actually is.
    In the case of windows .wmv files you should add Flip4Mac.  That would allow you to play those with QuickTime.
    Similarly add Perian to add more power to QuickTime so that it too could possibly handle those files like vlc.

  • How to convert the javasource file(*.class) to execute file(*.exe)?

    How to convert the javasource file(*.class) to execute file(*.exe)?
    thank you!

    Although i have seen a few programs (that are platform specific) that will embed a small jvm into an exe with your class file, it is generally excepted that you cannot create an executable file using java. The JAR executable file is probably the closest your going to get
    Pete

  • How do I import old FCP projects that have mysteriously changed to Linux Executable files?  Is it as simple as renaming the files with the.fcp extension?

    I had some FCP projects on an old G3 tower that I finally want to finish. I was able to grab everything, media, etc. to my macbook pro but all of the Final Cut Pro actual movies/projects have turned into "linux executable files" that FCP X won't import.
    I tried googling this issue but didn't really see any good answers. Would it be as simple as renaming the files with the .fcp extension?  I can't recall if my old version (really old) of FCP saves projects as .mov or .fcp files, but I'm assuming I'm not the only person this has happened to.
    Thanks for your help!

    I had some FCP projects on an old G3 tower that I finally want to finish.
    What version of FCP was this? The project files can probably no longer be opened in the newer version of the OS. You could try adding the .fcp suffix, but I don't think it will help for this. Projects files are .fcp.
    Regardless of the version, no legacy FCP projects will import into FCPX.
    Media is a different matter. These are probably QuickTime .mov files. If these are appearing as Unix ececutables, they're probably not recoverable either.

  • How to create an executable file by including my C# project and database(SQL) in visual studio ?

    Hi,
         I had developed a project in visual studio c# and my database in SQL server. How can i create a executable file including both. 
    can any one give me a solution for this.
    I am trying to make executable in installshield.
    Thank you

    Hi,
    Try to use custom actions to call some managed method, execute the SQL script to create and initialize the database in the method.
    Check this article, it should be helpful for you to create the script and installation:
    https://msdn.microsoft.com/en-us/magazine/cc163919.aspx#S2
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How can I run a Local PC executable file from Enterprise Portal?

    I want to run local PC executable files from inside the portal. To be more specific I want to be able to open the Outlook and some powerbuilder executable applications.
    How can I do it?

    If you absolutely want to do it, you can use vbscript for it (though there are a lot of security contstraints)
    See Re: Displaying office programs

Maybe you are looking for

  • Can I install Snow Leopard on MacBook Pro 2013

    Can I install Snow Leopard on my new MacBook Pro 2013. I'm so tired of the UGLY grey icons. I keep thinking that the mail or iPhoto window is not the active one because everything is grey.  I use Snow Leopard on my 27inch iMac and love it. Nice RED d

  • Multiple signatures in a shared review.

    Greetings, I am a tech writer working at an engineering company. I am driving the company toward a digital sign off process for our documentation, and I am using the shared review system in Acrobat Pro X to facilitate this process. These reviews invo

  • Safari suddenly VERY slow

    I have a iMac G5, a PowerBook G4, and a Dell Desktop all connected to the internet wirelessly via an Airport. This configuration hasn't changed for months, and suddenly this morning my iMac takes forever to load pages via Safari. Remarkably, the inte

  • Run Photoshop elements installed on a XenApp  Server

    I tried  running PE 12  with a purchased serial on a XenApp Server and it fails. Once a user logs in gets the message that it is a trial version This error is annoying pretty. Was thinking of getting 50-75 licences. If not will have to stick with GIM

  • Best way to upload via FTP

    Is there a way to upload my iWeb files to my web server so that ALL the files don't need to be uploaded each time I publish? I'm publishing a podcast with large mp3 files. I don't want to have to upload those files each time. What settings should I u