Forms Sever dump file location?

Hi
Where is the best place to locate any forms server process error log file? I am checking on OAM, but I need to find the file that was written to last night - one of the forms server processes was down and I need to know why.
Thanks,
DA
Ok - I have located the forms $ORACLE_HOME/forms/trace ..is this where I can find errors with Forms?
Again, seems the log files for forms are in $COMMON_TOP/logs as usual. The next step is understanding them!
Edited by: Dan A on Feb 24, 2009 5:31 AM
cat f60webmx_dump_1159
[Mon Feb 23 17:38:02 2009 GMT]::Client Status [ConnId=0, PID=1159]
>> ERROR: Abnormal termination of connection, Error Code: 6
FORM/BLOCK/FIELD: APXINWKB:INV_SUM_FOLDER.QUICK_PO_NUMBER
Last Trigger: WHEN-BUTTON-PRESSED - (In Progress)
Msg: <NULL>
Last Builtin: USER_EXIT - (In Progress)
------------- Call Stack Trace [ConnId = 0, ProcId = 1159] -------------
calling call entry argument values in hex
location type point (? means dubious value)
siehjmpterm()+413 CALL siehDumpStackTraceU 487 ? 487 ? 43DFF4 ?
B7DB4EC3 ? 0 ? 20 ?
CALL
CALL
CALL
ixfso()+27 CALL
iwpbxo()+436 CALL ixfso()+0 0 ? B6648640 ? B6A77ED0 ?
iwpbeh()+437 CALL iwpbxo()+0 B69904A0 ? B6648750 ? 1 ?
ixobjhm_handlemessa CALLr B6C31030 ? BFFF7C50 ?
BFFF7C53 ?
iifwixm_handleMessa CALL ixobjhm_handlemessa
CALL BFFF7CA0 ? 86196B9 ?
CALL
CALL 0 ? 180A2D04 ?
CALL 0 ? 0 ? 9084EC0 ? 2795 ?
90847B3 ? 9092560 ? 76C ?
90825F0 ? 1 ? 1 ? 9092560 ?
0 ? 0 ?
CALLr 8595F7D ? BFFF84C0 ?
B65B3D18 ?
CALL
CALLr
CALL
CALL
CALL
ifzxit()+387 CALLr
ipzuxt()+201 CALL ifzxit()+0
ibfrun()+14835 CALL ipzuxt()+0
ibfuxt()+14 CALL ibfrun()+0
CALLr 2 ? 0 ? BFFF96C0 ?
CALL
depxcrun()+823 CALL
CALL
ipfrun()+979 CALL
ifzmgt()+3545 CALL ipfrun()+0
ifzmky()+60 CALL ifzmgt()+0
ifzevl()+61 CALL ifzmky()+0
ifzefi()+127 CALL ifzevl()+0
ifzevf()+380 CALL ifzefi()+0 B61B5FD8 ?
ifzerc()+801 CALL ifzevf()+0
ifzebk()+545 CALL ifzerc()+0
ifzefm()+287 CALL ifzebk()+0
ifzeif()+3210 CALL ifzefm()+0
ifzexf()+846 CALL ifzeif()+0
ifzexe()+145 CALL ifzexf()+0
ifzman()+5325 CALL ifzexe()+0
if4ssl()+30 CALL ifzman()+0
if4mmo()+20 CALL if4ssl()+0
snnlpmcal()+762 CALLr
snnlslmai()+234 CALLr
CALL
CALLr
CALL
Edited by: Dan A on Feb 24, 2009 6:02 AM

Dan,
Did you review the following notes?
Note: 271095.1 - Forms Servlet Logging Explained
https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=271095.1
Note: 219471.1 -How to Interpret Forms Listener Servlet Debug / Log Information?
https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=219471.1

Similar Messages

  • Add button to PDF Form to save file to specific location

    I have a simple form that is completed daily by various supervisors. I have successfully added a button to the form to email the form which then sends the form to an email group. Now, I'm trying to add a second button to save the form to a network location. I'm looking for this to be a one-click type situation, where the button then saves the form to the specified folder on the network.
    Lets call our form "Form.pdf". I'd like the filename to be "Form - date - time.pdf" where date and time are fields on the form that are completed by the user. The location will always remain the same and will be a UNC path ie \\server\share\filename
    All users are using Acrobat X standard when completing the forms, will be connected to the network and will have permissions to write to the file share.
    This seems like it sohould be easy, but I cant figure out how to do it in Acrobat.
    Thanks in advance for any help.

    It's only possible if you can install a script on the local machine of each
    user. For more info, see this tutorial:
    http://acrobatusers.com/tutorials/how-save-pdf-acrobat-javascript

  • Get Current File Location in ADOBE form

    Hi All
    I need to get the location and file name of current file upon http submit in the form.
    How can we get current file location in abobe form.
    I am trying to use JavaScript var path = window.location.pathname;
    Also tried app.activeDocument.path property. But this does not work either.
    Any inputs will be really helpful
    Thanks
    Kaushal

    Hi Suhail,
    You can query the runtime on this, and these are some examples on how to get this:
    You will need to find the correct location:
    select location_name
    from all_rt_locations
    where location_type = 'File System'
    You will also need the path:
    select PARAMETER_VALUE from ALL_RT_LOCATION_PARAMETERS
    where location_name = 'SRC_FILES_LOC'
    and PARAMETER_NAME = 'RootPath'
    Do NOTE that the location type and RootPath things are case sensitive.
    For the file name..., I think you will have to dig around in the mapping. I don't have an exact example but this is in the direction you will need to be looking if you want to select this from the repository:
    -- This script selects all mappings, its operators and the binding to the repository objects
    -- You can use this to assess the impact of a change to a repository object to your mappings
    -- The script will ask for a parameter specifying the project name. Note that this is case sensitive
    set pages 999
    col PROJECT format a20
    col MODULE format a20
    col MAPPING format a25
    col OPERATOR format a20
    col OP_TYPE format a15
    col REP_OBJECT format a30
    select mod.project_name PROJECT
    , map.information_system_name MODULE
    , map.map_name MAPPING
    , cmp.map_component_name OPERATOR
    , cmp.operator_type OP_TYPE
    , nvl(cmp.data_entity_name
    , '-- No Value --'
    ) REP_OBJECT
    from all_iv_xform_maps map
    , all_iv_modules mod
    , all_iv_xform_map_components cmp
    where mod.information_system_id = map.information_system_id
    and map.map_id = cmp.map_id
    and mod.project_name = '&Project'
    order by 1,2,3,4
    Hope that this is something that you can take and solve your problem with...
    JP

  • Adobe Form From Excel Has Excel File Location in Form

    I took an excel sheet that we use as a form and used the adobe form wizard to convert it to a pdf form and it has the excel files
    location at the bottom of the form C:\Documents and Settings\My Name\Desktop\stsform.xls.
    How can i make it so that this does not show up in the pdf form? This is being read in from somewhere as it does not appear on the excel form.
    This may be a basic question but this is my first try at adobe forms. I am using acrobat 9 Pro.

    Hi..
    does any one here to explain how the coding to be done..

  • Dump file created during opening the CFL

    Hi,
        I am facing a problem in SAP8.8. When i am opening a CFL of Business Partner then .dmp file is created.   The file location is
       C:\Documents and Settings\BODHISATYA\Local Settings\Application Data\SAP\SAP Business One
       Can anybody help me why this problem occur?

    Hello
    Sometimes, when a user settings (customized settings of a form) is contains a field, which is deleted from SAP B1, the application dumps. This happens only in one company database.
    Could you try it from the sap b1 application
    - another user in the same company db (i think it must dump also)
    - a different company database
    Come back with the results.
    it s a test or a productive database?
    Regards
    János

  • How to import external table, which exist in export dump file.

    My export dump file has one external table. While i stated importing into my developement instance , I am getting the error "ORA-00911: invalid character".
    The original definition of the extenal table is as given below
    CREATE TABLE EXT_TABLE_EV02_PRICEMARTDATA
    EGORDERNUMBER VARCHAR2(255 BYTE),
    EGINVOICENUMBER VARCHAR2(255 BYTE),
    EGLINEITEMNUMBER VARCHAR2(255 BYTE),
    EGUID VARCHAR2(255 BYTE),
    EGBRAND VARCHAR2(255 BYTE),
    EGPRODUCTLINE VARCHAR2(255 BYTE),
    EGPRODUCTGROUP VARCHAR2(255 BYTE),
    EGPRODUCTSUBGROUP VARCHAR2(255 BYTE),
    EGMARKETCLASS VARCHAR2(255 BYTE),
    EGSKU VARCHAR2(255 BYTE),
    EGDISCOUNTGROUP VARCHAR2(255 BYTE),
    EGREGION VARCHAR2(255 BYTE),
    EGAREA VARCHAR2(255 BYTE),
    EGSALESREP VARCHAR2(255 BYTE),
    EGDISTRIBUTORCODE VARCHAR2(255 BYTE),
    EGDISTRIBUTOR VARCHAR2(255 BYTE),
    EGECMTIER VARCHAR2(255 BYTE),
    EGECM VARCHAR2(255 BYTE),
    EGSOLATIER VARCHAR2(255 BYTE),
    EGSOLA VARCHAR2(255 BYTE),
    EGTRANSACTIONTYPE VARCHAR2(255 BYTE),
    EGQUOTENUMBER VARCHAR2(255 BYTE),
    EGACCOUNTTYPE VARCHAR2(255 BYTE),
    EGFINANCIALENTITY VARCHAR2(255 BYTE),
    C25 VARCHAR2(255 BYTE),
    EGFINANCIALENTITYCODE VARCHAR2(255 BYTE),
    C27 VARCHAR2(255 BYTE),
    EGBUYINGGROUP VARCHAR2(255 BYTE),
    QTY NUMBER,
    EGTRXDATE DATE,
    EGLISTPRICE NUMBER,
    EGUOM NUMBER,
    EGUNITLISTPRICE NUMBER,
    EGMULTIPLIER NUMBER,
    EGUNITDISCOUNT NUMBER,
    EGCUSTOMERNETPRICE NUMBER,
    EGFREIGHTOUTBOUNDCHARGES NUMBER,
    EGMINIMUMORDERCHARGES NUMBER,
    EGRESTOCKINGCHARGES NUMBER,
    EGINVOICEPRICE NUMBER,
    EGCOMMISSIONS NUMBER,
    EGCASHDISCOUNTS NUMBER,
    EGBUYINGGROUPREBATES NUMBER,
    EGINCENTIVEREBATES NUMBER,
    EGRETURNS NUMBER,
    EGOTHERCREDITS NUMBER,
    EGCOOP NUMBER,
    EGPOCKETPRICE NUMBER,
    EGFREIGHTCOSTS NUMBER,
    EGJOURNALBILLINGCOSTS NUMBER,
    EGMINIMUMORDERCOSTS NUMBER,
    EGORDERENTRYCOSTS NUMBER,
    EGRESTOCKINGCOSTSWAREHOUSE NUMBER,
    EGRETURNSCOSTADMIN NUMBER,
    EGMATERIALCOSTS NUMBER,
    EGLABORCOSTS NUMBER,
    EGOVERHEADCOSTS NUMBER,
    EGPRICEADMINISTRATIONCOSTS NUMBER,
    EGSHORTPAYMENTCOSTS NUMBER,
    EGTERMCOSTS NUMBER,
    EGPOCKETMARGIN NUMBER,
    EGPOCKETMARGINGP NUMBER,
    EGWEIGHTEDAVEMULTIPLIER NUMBER
    ORGANIZATION EXTERNAL
    ( TYPE ORACLE_LOADER
    DEFAULT DIRECTORY EV02_PRICEMARTDATA_CSV_CON
    ACCESS PARAMETERS
    LOCATION (EV02_PRICEMARTDATA_CSV_CON:'VPA.csv')
    REJECT LIMIT UNLIMITED
    NOPARALLEL
    NOMONITORING;
    While importing , when i seen the log file , it is failing the create the external table. Getting the error "ORA-00911: invalid character".
    Can some one suggest how to import external tables
    Addressing this issue will be highly appriciated.
    Naveen

    Hi Srinath,
    When i observed the create table syntax of external table from import dump log file, it show few lines as below. I could not understand these special characters. And create table definationis failing with special character viz ORA-00911: invalid character
    ACCESS PARAMETERS
    LOCATION (EV02_PRICEMARTDATA_CSV_CON:'VPA.csv').
    I even observed the create table DDL from TOAD. It is same as i mentioned earlier
    Naveen

  • How can I set the workgroup templates file location in Office 2013 to point at a folder stored on Sharepoint (2010/2013)?

    Hi All,
    Been doing quite a bit of research on this but drawn nothing but blanks or alternative suggestions, none of which are viable.
    So the outline of the issue:
    Deploying Office 2013 suite to organisation and wanting to have custom templates available for users to choose from, but want those templates to be centrally stored and managed on a SharePoint site. 
    In Word 2013, for example, when you create a new document, you are presented with a page to choose from 'Featured' templates (or blank document)
    So, if you wanted to have custom corporate templates, you could modify the file location for work group templates, thus creating a Custom Office Templates folder locally on your PC. 
    Great. This means when you select 'New' in Word 2013 you can pick from the 'Featured' templates, or the 'Personal' templates area.
    However, I have a collection of test corporate templates (for Word, Excel, PowerPoint etc). These are stored on a SharePoint site internally. 
    If I try to modify the work group templates location in Word 2013 to point towards my SharePoint site (or any HTTP address for that matter) it won't work.
    I know that I could point it towards a Network Share location instead, but I don't want to do that. 
    Is there any way of getting it to point towards a SharePoint site, any way of modifying it? Or perhaps an even better solution that I could use? 
    Any help, thoughts or ideas would be massively appreciated! And forgive me if any of my logic is off, but it does seem like this should be a straight forward thing to do given that Office and SharePoint are both developed by Microsoft and you
    would like to think they would inherently have better links!
    NOTE: Going to Office 365 is also not an option either!
    Eagerly awaiting an answer from someone incredibly clever!

    Hi Tony, 
    Thanks for your response but this is not what I was looking for. 
    Those articles relate to setting a default template in a SharePoint document or form library.
    I will try to be more concise.
    What I want is:
    (1) For users to be able to load MS Word 2013 on their laptops/desktops (connected to corporate Wireless/LAN)
    (2) Once they have opened MS Word 2013, I want them to be able to choose a template from the welcome screen. (There are MS Word Defaults like 'Blank Document' or 'Cover Letter' etc)
    I want to add a second tab which is called 'Personal' or 'Corporate'.
    (3) MS Word 2013 allows you to create custom WORD templates and save them locally on your machine (either in the default location for templates, or a user-specified custom location (e.g. My Documents, Desktop etc).
    (4) In advanced settings, there is an option to modify file locations. This is where you can point MS Word 2013 towards the folder (locally) that contains the personal templates that you have designed which you want to use.
    (5) QUESTION: Is there a way to have lots of corporate WORD templates (perhaps one for Marketing, Sales, Procurement, Project etc) - Basically LOTS of different templates all stored in one location on SHAREPOINT, or in a SharePoint document
    library. THEN... once those templates (documents) are stored on SharePoint,
    IS THERE A WAY to go back into the advanced settings within MS WORD 2013 and modify the file location for templates so that it points towards the SharePoint document library? 
    I want all the templates to open in MS Word 2013, not within a browser, and I don't want users to have to go to SharePoint to find a template, I want it to be integrated into their local MS Word 2013 so they can choose a corporate template the moment they
    load up MS Word 2013.
    When I have tried to modify the custom file location for templates, I can only set it to an address locally on my machine, or a network address (mapped network drive). 
    However, I do not want the templates to be stored on a shared network folder, I want them to be in a SharePoint Document Library. 
    The issue I have found is that I cannot enter a SharePoint Library URL as my file location, nor can I enter any HTTP address. 
    IS THERE A WAY AROUND THIS? 

  • What should i do with an Oracle 11g Database, MySQL database and a dump file.

    I just joining to a new work field, almost about a database and i know "NOTHING" about this field.
    My company has a system that running by Oracle Database, the problem is that Oracle Database will cost a lot of money when my company expands.
    So the quest is converting Oracle Database to MySQL database.
    Of course i cant try to convert it in the main Database, so i create one Oracle 11g Database on my LocalHost, and it already actived in " Localhost:1158 " etc.
    I have another Sever test that already set up MySQL database, and a dump file from the system.
    So I want to ask these 2 questions :
    1. How to create an new Oracle Database from that dump file ?
    2. Is it alright if i use tool to convert Oracle Database into MySql, or i should do it manually ?
    Thanks alot.

    I just joining to a new work field, almost about a database and i know "NOTHING" about this field.
    My company has a system that running by Oracle Database, the problem is that Oracle Database will cost a lot of money when my company expands.
    So the quest is converting Oracle Database to MySQL database.
    I predict that converting to MySQL will cost your company more as it expands. As you expand managing contention becomes more important - Oracle does this for you. I do not think MySQL does, so you'll have to write more code to deal with this, costing the company money. A big part of making application scalable and reliable is to use stored procedures, how good are MySQL's compared to PL/SQL's. What other features are there that MySQL has that will benefit your company that Oracle doesn't. What do you need to think about as your company expands that need to be taken care of in the database. I would have thought a migration from MySQL to Oracle would be more common to deal with expansion.
    As you know "NOTHING" you need to think about what each database can give you for the next 10 years to cope with you businesses potential requirements, and extimate how much it will cost to implement these requirements, then make the decision

  • Error while importing dump file to Oracle server

    Hi All,
    I'm pretty new to Oracle and I need to do the following job:
    - import data from dump file to Oracle server
    - then export it into CSV format to load to our web system
    Oracle dump file is called EXPDAT.DMP and it is placed in the default location, so no need to specify it. Here I'm trying to do the 1st step:
    impdp SYSTEM/XXXXXX REMAP_SCHEMA=DATA01:SYSTEM
    And then I'm getting the following errors:
    Connected to: Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
    Master table "SYSTEM"."SYS_IMPORT_FULL_01" successfully loaded/unloaded
    Starting "SYSTEM"."SYS_IMPORT_FULL_01": SYSTEM/******** REMAP_SCHEMA=DATA01:SYSTEM
    Processing object type TABLE_EXPORT/TABLE/TABLE
    ORA-39083: Object type TABLE failed to create with error:
    ORA-00959: tablespace 'K_DATA' does not exist
    But tablespace 'K_DATA' exists in Oracle database (I've created it manually). What does it mean? Is it a permission issue? Or may be there is more simple way to accomplish my task? Please help me! Thank you!

    Create the user DATA01 in your database, with sufficient quota on tablespace K_DATA. DO NOT import another schema's objects into SYSTEM. If you must REMAP_SCHEMA to something other than DATA01, create a user other than SYSTEM to receive it.

  • Error while importing a container dump file

    Hi,
    I am trying to import a container from one Oracle Server to another server which are located at two different locations. I have exported the container from the first server and FTPed it to the second server and tried to import the same into the second server. While doing this, i got the following message:
    Connected to: Oracle8i Enterprise Edition Release 8.1.7.0.0 - Production
    With the Partitioning option
    JServer Release 8.1.7.0.0 - Production
    Export file created by EXPORT:V08.01.07 via conventional path
    import done in WE8ISO8859P1 character set and WE8ISO8859P1 NCHAR character set
    . importing REPOS_MANAGER's objects into REPOS_MANAGER
    . . importing table "XTSYS_EXPORT_OBJECTS" 1 rows imported
    . . importing table "XTSYS_IMPORT_IRID_MAPPING"
    IMP-00009: abnormal end of export file
    IMP-00018: partial import of previous table completed: 1281 rows imported
    IMP-00033: Warning: Table "XTSYS_IMPORT_IVID_MAPPING" not found in export file
    IMP-00033: Warning: Table "XTSYS_TABS_EXPORTED" not found in export file
    IMP-00033: Warning: Table "XTSYS_RM$REPOSITORIES" not found in export file
    Import terminated successfully with warnings.
    I am able to import the same dump file into another server located in the same location as the Server One without any issues.
    One thing that i have observed is: On the Server 2, if a container is already present and the XTSYS_ tables are already populated, when i tried to import this dump file, it asked me "Temporary tables are already populated. Do you want to overwrite them. Otherwise the existing temporaty tables will be used for this purpose". If i clicked No, then it imported the container without any problems, BUT, the new container contents are not the same as found on Server 1's container contents.
    Can somebody suggest what could be the problem and how can i import that dump file.
    thanks a lot in advance
    regards,
    Vijay

    Vijay,
    There is a note <Note:160378.1> on the Oracle Support site: http://metalink.oracle.com.
    There are a number of possibilities, the most likely of these is that you are using the wrong import/export utilities for an older or newer database version.
    You don't mention which release of Designer you are using, Designer 9i uses the 9.0.1 export/import utilities by default. You cannot use the 9.0.1 export/import utilities against an 8.1.7 database.
    If not already installed, install the 8.1.7 export/import utilities from the Oracle 8i Release 3 (8.1.7) Client Cd into a new Oracle Home.
    In the Registry, change [hklm]\software\oracle\HOMEx\repos61\EXECUTE_EXPORT
    and EXECUTE_IMPORT to point to the 8.1.7 export/import utitilites.
    (HOMEx corresponds to your Designer 9i Oracle Home)
    A typical value for them would be:
    EXECUTE_EXPORT=d:\des_817\bin\exp.exe
    EXECUTE_IMPORT=d:\des_817\bin\imp.exe
    or
    EXECUTE_EXPORT=d:\V817\bin\exp.exe
    EXECUTE_IMPORT=d:\V817\bin\imp.exe
    After changing the parameters in the Registry, verify if they are active by going into the Repository Administration Utility, Check Requirements,
    Parameter Settings and look for EXECUTE_EXPORT and EXECUTE_IMPORT.
    Regards
    Sue

  • File Location in UTL_FILE

    Hi,
    I'm using UTL_FILE and I've asked my DBA to configure a location on the network as UTL_FILE's default file location, say, "c:\utl" on oraserver. Now, how do I pass this to UTL_FILE.FOPEN ? Do I say :
    X := UTL_FILE.FOPEN( 'C:\UTL', 'TEST', 'w' );
    or like this :
    X := UTL_FILE.FOPEN( '\\oraserver\UTL', 'TEST', 'w' );
    Any help would be really appreciated.
    Regards,
    Alex

    Alex,
    the correct form is:
    X := UTL_FILE.FOPEN( 'C:\UTL', 'TEST', 'w' );
    Greetings,

  • The 2 year old fix for changing temp files is no longer valid, I need to change the temp file location in the latest firefox.

    In 3.6.3 I'm unable to find the parent cache to change where the temp files are located. I have an SSD drive, and I need to get the temp file off, and onto my platter drive. I have read the previous fix of about:config and changing the parent cache location, but it no longer seems to be there. I'm unable to locate anything relating to my SSD drive location in about:config.
    == User Agent ==
    Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.70 Safari/533.4

    Unfortunately, it appears that what I wrote about not being able to find the location IN about:config of the cache to change it from my C: drive to a different location, was mildly misunderstood that I didn't know how to get into about:config.
    The location of browser.cache.disk.parent_directory does not currently exist in 3.6.3. I'm assuming it's under a different location. Also using the simple string of "cache" lists several options, but none of them appear to be where firefox is currently dumping the temp files onto my C:
    I merely need to know how to switch the temp file location from 1 drive, to another. Not downloads, the temp file.

  • Displaying File Location in iTunes

    I can't seem to find a way to display my file locations in iTunes - I don't see it as a column that can be displayed. I'd like to be able to view this column to help with possible duplicate removal. I understand how to remove and even view the duplicates, but the missing piece is the actual location of the files, and I don't want to have to individually click on them to get that information or individually pull up the properties of each song. I'd greaty appreciate the help!

    The following script (Download here, or copy and paste into a file with extension ".vbs") will set the Description of all the tracks in the playlist(s) you select to the file's path. Obviously if you want to see it you have to turn on the Description column
    ' # itunespathdescription.vbs
    ' # This script set the Description of all the files in a single playlist
    ' # to the file Path.
    ' # Copyright (C) 2008 Robert Jacobson
    ' # written by: Robert Jacobson (http://home.comcast.net/~teridon73/itunesscripts)
    ' # Last Updated: 2 Feb 2008
    ' # Version 1.0
    ' # This script is GPL v2. see http://www.gnu.org/copyleft/gpl.html
    ' # Change record:
    ' # 1 Script creation
    Option Explicit
    Dim iTunesApp ' iTunes.Application object used to access the iTunes application.
    Dim tracks ' The tracks collection object of the Library object.
    Dim FileList ' The list of files that have been copied.
    Dim i ' A counter variable.
    Dim Msg ' A string for a message.
    Dim f ' A file object.
    Dim sources
    Dim source
    Dim playlists
    Dim playlist
    Dim playlistName
    Dim j
    Dim m
    Dim songName
    Dim artist
    Dim result
    Dim listarray
    Dim num
    Dim k
    Dim track
    Dim numtracks
    Set iTunesApp = CreateObject("iTunes.Application.1")
    Set sources = iTunesApp.Sources
    DIM use_windows
    Dim Playlist_list
    'detect CSCRIPT context & use InputLine
    IF Instr(lcase(wscript.FullName), "cscript")>0 THEN
    use_windows = 0
    ELSE 'detect WSCRIPT context & use native InputBox
    use_windows = 1
    END IF
    For i = 1 to sources.Count
    Set source = sources.Item(i)
    IF source.Kind = 1 Then
    Set playlists = source.Playlists
    if use_windows = 0 Then
    For j = 1 to playlists.Count
    Set playlist = playlists.Item(j)
    playlistName = playlist.Name
    Wscript.Echo j & ": " & playlistName
    Next
    Else
    For j = 1 to playlists.Count
    Set playlist = playlists.Item(j)
    playlistName = playlist.Name
    Playlist_list = Playlist_list & j & ": " & playlistName & Chr(10)
    Next
    End if
    If use_windows = 0 Then
    Wscript.Echo ""
    Wscript.StdOut.Write "Enter comma-separated lists to process: "
    result = Wscript.StdIn.ReadLine
    Else
    result = InputBox(Playlist_list & Chr(10) & "Enter comma-separated lists to process: ", "Which Playlist(s)")
    End if
    listarray = split(result, ",")
    For k = 0 to UBound(listarray)
    num = listarray(k)
    Set playlist = playlists.Item(num)
    playlistName = playlist.Name
    If use_windows = 0 Then
    Wscript.Echo ""
    Wscript.Echo chr(9) & "Processing playlist " & num & ": " & playlistName
    End If
    Set tracks = playlist.Tracks
    numtracks = tracks.Count
    If use_windows = 0 Then
    Wscript.Echo chr(9) & "tracks: " & numtracks
    End If
    For m = numtracks to 1 step -1
    'If m > tracks.Count Then Exit For
    Set track = tracks.Item(m)
    'Wscript.Echo "num: " & numtracks & " Count: " & tracks.Count & " m: " & m
    If track.Kind = 1 Then
    FileList = track.Location
    track.Description = FileList
    End If
    Next
    If use_windows = 0 Then
    Wscript.Echo "Finished processing playlist " & playlistName
    End If
    Next
    'End If
    End If
    Next
    The forum TOS requires me to say: "I may receive some form of compensation, financial or otherwise, from my recommendation or link" because I have a paypal donation link on my webpage.

  • Issue in getting exception pointer in VC++ CLR project for generating dump file.

    Hi,
    We are working on VC++ CLR (Windows Forms) application.
    We are writing a code to generate Mini dump file (using MINIDUMPWRITEDUMP in dbghelp.dll) whenever application crashes.
    The code available on internet for writing mini dump file in c# generates the mini dump but without Exception code and information, because _EXCEPTION_INFORMATION was set using Marshal::GetExceptionPointers() which returns 0. We called MINIDUMPWRITEDUMP
    inside AppDomain::UnhandledExceptionEventHandler for this.
    To get the valid exception pointer for mini dump we made following attempts with and without AppDomain::UnhandledExceptionEventHandler  –
    Used mixed (managed and unmanaged ) dll to add SetUnhandledExceptionFilter.  Inside top level exception filter function added code to write mini dump.  Inside main the handler is set on 1<sup>st</sup> line. But handler is not invoked
    on any exception. This works fine with console C# project.
    // inside dll
    #pragma unmanaged
    LONG WINAPI ABCExceptionFilter(__in struct _EXCEPTION_POINTERS *pExceptionInfo)
    { // code to write dump
    #pragma managed
    Namespacee SEHHandler {
    public ref class SEHExpHandler
    public:
    static void AddHandler()
    SetUnhandledExceptionFilter(ABCExceptionFilter);
    // inside app main()
    [STAThreadAttribute]
    int main(array<System::String ^> ^args)
    SEHHandler::SEHExpHandler::AddHandler();
    //some code . . .
    Application::Run(gcnew Form1());
    //some code . . .
    Used __try __except inside application main. The exception filter was written in other C++ dll and called inside __except ( expression ) using platform Invoke.  But this throws the caught exception while trying to call handler.
    // inside app class
    [DllImport("SEHhandler.dll")]
    extern int __stdcall se_handler(unsigned int code, IntPtr ep);
    [STAThreadAttribute]
    int main(array<System::String ^> ^args)
    __try
    { //some code. . .
    __except(se_handler(GetExceptionCode(),
    (IntPtr)GetExceptionInformation()))
    { //some code. . .
    // inside dll
    __declspec(dllexport)
    extern int WINAPI se_handler(unsigned int code,
    struct _EXCEPTION_POINTERS* ep)
    { // code to write minidump
    return EXCEPTION_EXECUTE_HANDLER;
    Can anyone help us to get either of the code work. The aim is to write dump file with correct stack trace where exception was thrown.
    Thanks in advance.
    -- Sumit

    Hi,
    Few days back we tried following sample program and we were able to get exception code and pointer for almost all types of exception catch inside __except statement. 
    1. Create sample VC++ > CLR > Windows form application.
    2. Change Common language Runtime support to (/clr).
    3. Set UnhandledExceptionMode to ThrowException in main.
    4. Inside application cpp file add __try __except around Application::Run(gcnew Form1()).
    5. Add new header file to write unmanaged function to be called inside __except statement to handle exception.
    6. Created new Form1 and add few buttons to test different types of exceptions.
    7. Exceptions will be catch in __except statement and exception pointers will be available to write mini dump.
    Inside application main function use __try, __except block.
    #include "stdafx.h"
    #include "Form1.h"
    [STAThreadAttribute]
    int main(array<System::String ^> ^args)
    Application::SetUnhandledExceptionMode(UnhandledExceptionMode::ThrowException);
    Application::EnableVisualStyles();
    Application::SetCompatibleTextRenderingDefault(false);
    __try{
    // Create the main window and run it
    Application::Run(gcnew Form1());
    }__except(exception_filter(GetExceptionCode(), GetExceptionInformation())){
    // write your code
    return 0;
    Add header file and write exception filter
    #pragma once
    #include <windows.h>
    #include <stdio.h>
    #include <string>
    using namespace std;
    #pragma comment(lib, "user32.lib")
    int exception_filter(unsigned int code, struct _EXCEPTION_POINTERS* ep)
    TCHAR buff[100];
    wsprintf(buff, L"Inside exception_filter. Excp Pointer %p", (void*)ep);
    ::MessageBox(NULL,buff,L"Error",MB_OK);
    // add code to write mini dump using MINIDUMPWRITEDUMP
    return EXCEPTION_EXECUTE_HANDLER;
    Thanks.

  • Want to change the SQL Server Agent Job History Text Files Location

    We have SQL Server 2014 installed on a couple servers, but they were not consistent on directory paths during the installs. I am trying to get the servers to all match.
    On one server, SQL Server the Agent Log and Job History files were being written to [H:\Data Root Directory\MSSQL12.MSSQLSERVER\MSSQL\Log].
    I want to change that to [H:\Microsoft SQL Server\MSSQL12.MSSQLSERVER\MSSQL\Log] to match the other server.
    I have ALREADY gone into SSMS - [SQL Server Agent] - [Properties] and changed the "Error Log " "Fle Name" to [H:\Microsoft SQL Server\MSSQL12.MSSQLSERVER\MSSQL\Log\SQLAGENT.OUT].  And that is working great.
    In [SQL Server Configuration Manager] - [SQL Server (MSSQLSERVER)] - [Properties] - Startup Parameters entries have been changed to the new path (-d, -e, and -l), and under [Advanced] both Data Path and Dump Directory are pointing to the new path. 
    In [SQL Server Configuration Manager] - [SQL Server Agent (MSSQLSERVER)] - [Properties] - [Advanced] Dump Directory is pointing to the new path. 
    However, the job's History text files are still being written to the old path.
    There is no setting in the Jobs or the Maintenance Plans that controls the history file location.
    I have searched the registry and changed three settings from the old path to the new path.  The registry does NOT contain any more references to the old path.
    I rebooted the server, but when the jobs run their history text files are still be written to the old path.
    Does anybody have any ideas??   Thanks

    I checked the [Job] - [Step] - [Advanced ] - "Output File", and the field is blank.
    I then reviewed all the tabs and left menu items in the Job...I cannot find any where the references the old path.
    I then went to the Maintenance Plan and checked every thing there.  Still cannot find what is referencing this old path.
    SQL Server is also still writing xel files to this old path...if that offers any clues.
    The text file being generated is the recap of the Job run.  Starts with this:
    Microsoft(R) Server Maintenance Utility (Unicode) Version 12.0.2430
    Report was generated on "xxxxxxxxxxxxxxx".
    Maintenance Plan: SQL_Backups_Log
    Duration: 00:00:03
    Status: Succeeded.
    Details:
    Thanks for the ideas....

Maybe you are looking for

  • Mac vs PC for all in one audio/video workstation?

    Well, I have been a Mac user for my whole life. The more I get involved with motion graphics and post production, as well as audio, and considering the direction Adobe seems to be going with their apps, I am considering going to a PC. PCs seem to hav

  • HOW TO set the input range for analog in (DAQ)?

    How can I set the input range of a - NI DAQ USB 6259 - analog voltage input? I wish to control it directly in my VI. Is it possible to set different ranges for different input channels? Thank you, Roberto

  • Error after Validation on Key_generation

    After installation of BO Data Services (12.1) I get errors each time that the Validation all is processed on a workflow that includes a dataflow with Key Generation. From the Key_generation error screen the Key generation seems empty, but when the ke

  • I need to display a web app search form, inside the detail view of another web app. Does anyone know

    I can't seem to get a web app search form to work inside another web app detail page. Does anyone know if this is possible? I can display a list of web app items; and the search form works on a standard page; but when I try to load it within another

  • Problems with dynamic pagination link

    Hi, I have a dynmaic pagination link <a href="#CGI.SCRIPT_NAME#?#QUERY_STRING#&startRow=#pageRow#">#thisPage#</a> every time I click the link I get multiple startRow variable in the url which breaks the page eventID=22&startRow=9&startRow=1&startRow=