Missing Parent

Hi,
I'm trying to get missing parent in indentation order. I'm having problem in the logic. Could somebody show some light. Here the data and query.
for the fourth row before 3 i have needed to get 1 and 2 . But for that my query is not working. Please help me out.
create table hrch_test (HrchyId number(4), Role varchar2(20),Name varchar2(20),Hrchyid_sq number(4));
insert into hrch_test  
select 1 HrchyId,'Manager'    Role, 'Scott' Name, 1 Hrchyid_sq from dual    union all
select 2 HrchyId,'Supervisor' Role, 'Mary'  Name, 2 Hrchyid_sq from dual    union all  
select 3 HrchyId,'Clerk'      Role, 'Henry' Name, 3 Hrchyid_sq from dual    union all
select 3 HrchyId,'Clerk'      Role, 'Tyson' Name, 4 Hrchyid_sq from dual    union all 
select 1 HrchyId,'Manager'    Role, 'Lee'   Name, 5 Hrchyid_sq from dual    union all
select 3 HrchyId,'Clerk'      Role, 'Murry' Name, 6 Hrchyid_sq from dual    union all 
select 1 HrchyId,'Manager'    Role, 'Kirk'  Name, 7 Hrchyid_sq from dual    union all
select 4 HrchyId,'Jr Clerk'   Role, 'Tony'  Name, 8 Hrchyid_sq from dual;
select HRCHYID_SQ,role,name, Hrchyid
from hrch_test 
model 
partition by(Hrchyid_sq ) 
dimension by( Hrchyid rn) 
measures(role,name,HrchyId, lead(Hrchyid)over(order by Hrchyid_sq ) nxt) 
(role[for rn from HrchyId[1]+1 to nxt[1]-HrchyId[1] increment 1]= case when cv(rn)=2 then 'No s
upervisor'  
when cv(rn)=3 then 'No Clerk'  end,
HrchyId[rn]=cv(rn)  )
order by Hrchyid_sq
HRCHYID_SQ     ROLE     NAME     HRCHYID
1     Manager          Scott     1
2     Supervisor     Mary     2
3     Clerk          Henry     3
4     Clerk          Tyson     3
5     Manager          Lee     1
5     "No supervisor"          2
6     Clerk          Murry     3
7     Manager          Kirk     1
7     "No supervisor"          2
7     No Clerk          3
8     Jr Clerk     Tony     4Thanks,
Ramana.

I used this sample data:
insert into hrch_test  
select 1 HrchyId,'Manager'    Role, 'Scott' Name, 1 Hrchyid_sq from dual    union all
select 2 HrchyId,'Supervisor' Role, 'Mary'  Name, 2 Hrchyid_sq from dual    union all  
select 3 HrchyId,'Clerk'      Role, 'Henry' Name, 3 Hrchyid_sq from dual    union all
select 3 HrchyId,'Clerk'      Role, 'Tyson' Name, 4 Hrchyid_sq from dual    union all 
select 1 HrchyId,'Manager'    Role, 'Lee'   Name, 5 Hrchyid_sq from dual    union all
select 3 HrchyId,'Clerk'      Role, 'Murry' Name, 6 Hrchyid_sq from dual    union all 
select 1 HrchyId,'Manager'    Role, 'Kirk'  Name, 7 Hrchyid_sq from dual    union all
select 4 HrchyId,'Jr Clerk'   Role, 'Tony'  Name, 8 Hrchyid_sq from dual    union all
select 1 HrchyId,'Manager'    Role, 'Alf'   Name, 9 Hrchyid_sq from dual    union all
select 3 HrchyId,'Clerk'      Role, 'Dana'  Name, 10 Hrchyid_sq from dual    union all
select 3 HrchyId,'Clerk'      Role, 'Chris' Name, 11 Hrchyid_sq from dual    union all
select 4 HrchyId,'Jr Clerk'   Role, 'Pam'   Name, 12 Hrchyid_sq from dual    union all
select 3 HrchyId,'Clerk'      Role, 'Jack'  Name, 13 Hrchyid_sq from dualand if I'm not misunderstanding the OP's requirements this thing should do it.
SELECT hrchyid,
       case when hrchyid = 1 and role is null then 'NO MANAGER'
            when hrchyid = 2 and role is null then 'NO SUPERVISOR'
            when hrchyid = 3 and role is null then 'NO CLERK'
       else role end as role,
       name,
       nvl(hrchyid_sq, r) AS hrchyid_sq,
       r root_sq,
       root_id
  FROM (WITH t AS (SELECT h.*,
                          CASE
                            WHEN lead(hrchyid) over(ORDER BY hrchyid_sq) > hrchyid THEN
                             lead(hrchyid) over(ORDER BY hrchyid_sq)
                            ELSE
                             NULL
                          END next_hrchyid,
                          CASE
                            WHEN lead(hrchyid) over(ORDER BY hrchyid_sq) > hrchyid THEN
                             lead(hrchyid_sq) over(ORDER BY hrchyid_sq)
                            ELSE
                             NULL
                          END next_hrchyid_sq
                     FROM hrch_test h)
         SELECT hrchyid, role, NAME, hrchyid_sq, connect_by_root hrchyid_sq root_sq, connect_by_root hrchyid root_id
           FROM t
          START WITH nvl2(next_hrchyid - hrchyid, NULL, 1) = 1
         CONNECT BY PRIOR (hrchyid_sq) - 1 = hrchyid_sq
                    AND PRIOR hrchyid = next_hrchyid)
model
partition by(root_sq as r)
dimension by(hrchyid rn)
measures(role,name,HrchyId,Hrchyid_sq,root_id,cast(null as varchar2(10)) as iter)
rules upsert iterate (100) until previous(iter[1]) = iter[1]
(role[for rn from 1 to root_id[iteration_number] increment 1]= role[cv(rn)],
iter[1] = root_id[iteration_number],
HrchyId[rn]=cv(rn))
order by root_sq, HrchyIdDisregard the last 2 columns.
   HRCHYID ROLE                 NAME                 HRCHYID_SQ    ROOT_SQ    ROOT_ID
         1 Manager              Scott                         1          3          3
         2 Supervisor           Mary                          2          3          3
         3 Clerk                Henry                         3          3          3
         1 NO MANAGER                                         4          4
         2 NO SUPERVISOR                                      4          4
         3 Clerk                Tyson                         4          4          3
         1 Manager              Lee                           5          6          3
         2 NO SUPERVISOR                                      6          6
         3 Clerk                Murry                         6          6          3
         1 Manager              Kirk                          7          8          4
         2 NO SUPERVISOR                                      8          8
         3 NO CLERK                                           8          8
         4 Jr Clerk             Tony                          8          8          4
         1 Manager              Alf                           9         10          3
         2 NO SUPERVISOR                                     10         10
         3 Clerk                Dana                         10         10          3
         1 NO MANAGER                                        12         12
         2 NO SUPERVISOR                                     12         12
         3 Clerk                Chris                        11         12          4
         4 Jr Clerk             Pam                          12         12          4
   HRCHYID ROLE                 NAME                 HRCHYID_SQ    ROOT_SQ    ROOT_ID
         1 NO MANAGER                                        13         13
         2 NO SUPERVISOR                                     13         13
         3 Clerk                Jack                         13         13          3
23 rows selected
SQL>

Similar Messages

  • Missing parent object when using FXML - cannot manipulate other content

    Hi,
    today I was playing around with FXML and embedded it into a custom made "Dialog" class (an abstract class to provide some basic stuff, like add OK/Cancel Button, handle result type and so on programmatically).
    Basically I've created an implementation which content is defined by an FXML document and contains a handler method for a password field.
    After finding out how to work with the Event-API of JavaFX I know tried to enable/disable the programmatically created ok button of the dialog within the handler... But nothing happend.
    Via debugging I found out, that no parent was set to the button anymore, but I checked (debugged): it was set, when I created the dialog content.
    I assume that the missing parent (and who knows what else) is responsible for this behaviour.
    Is this a know issue? Should I file a bug? Or submit some code for others to test/confirm?
    Greetings,
    Daniel

    Hi Daniel,
    I think I was having a correct idea about that what I've done wrong:
    I was using my Dialog class as the Controller, however the controller is instantiated by the FXMLLoader seperatly and has nothing in common with the class that called the loader.
    However I could have set the controller manually via .setController() or via a controller factory and there I could have set the dialog to be the controller...
    This is now what I've done and this is how it works.
    If you want some code samples, I could provide them - I guess my english is not good enough to fully describe all the problems I encounter ;-)
    Daniel

  • Missing parent members in 3.1 Outline Extractor

    All,<BR><BR>I am using OLAP Underground 3.1 Outline extractor. The server is windows 2003 and I am using Hyperion Essbase 6.5.7 I am taking a dimension that has been updatred and manipulated and trying to get it into 50 other databases in a automated process. I have built the automated process but the problem is with the outline that is extracted using 3.1 outline extractor, it is missing several parent members. This dimension has 27,598 members. <BR><BR>Thanks<BR>Anthony

    I was running into the same issue on dimensions with a large number of members. If I remember correctly it is a known bug that they plan to address in some future release of the Outline Extractor.

  • Missing Parental Controls Pane! Help!

    For some time I've not been able to access some apps of mine because of Parental Controls blocking them, I know my Admin password and all but apparently the Parental Preferences are 'missing and not available', please help. I really need and love the apps that the Other Admin person some how managed to block from use and also some how managed to get rid of the Startup Disk, Sharing and Parental Control Preferences from the System Preferences, magically. The Icons and names of them are still there but it says 'Could not load [Name] Preferences Pane'. Please please help D:
    By the way, I'm using a Macbook Air, updated to version 10.9, But I don't even know if that would make my macbook a mavericks, since it's the only Operating system that's 10.9 on Mac OS X.

    iTunes needs an administrator account name and password to lock parental controls; i.e. you need to set Windows to require a password to login to your account before you can lock the controls.

  • BPC 7.5: Hierarchy load fra BW. Missing "parent" nodes.

    Hi,
    i'm having problems uploading a 0profit_center hierarchy from  SAP BW to BPC.
    My problem is that the load fails due to missing dimensions members on profit_center in BPC. The missing members is the hierarchy parents, which are not a part of the masterdata on the infoobject "0profit_center"
    So for example I have a simple hierarchy:
    Parent1:
    -child1
    -child2
    -child3
    Child1-Child3 are masterdata on (dimension members) on 0profit_center. Parent1 is NOT masterdata. So the load will fail due to the fact that parent1 is not a dimension memeber in  'BPC' profit_center.
    Do I have to load the hierarchy table from BW to BPC (profit_center) in order to get the dimension members for the hierarchy ??
    Thank You,
    Joergen Dalby

    Hi,
    you need to use a formula to remove the spaces. Though not sure how to define it for hierarchy notes.....
    The formula can be defined in the conversion file.
    The formula is js:%external%.toString().replace(/s+/g,"")
    And your conversion file should look like (transposed for reading purpose).:
    EXTERNAL = *
    INTERNAL = js:%external%.toString().replace(/s+/g,"")
    FORMULA
    You can read more here:
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c02d0b47-3e54-2d10-0eb7-d722b633b72e?quicklink=index&overridelayout=true
    Under section 4.4.
    Hope this helps,
    jdalby

  • Connect By Prior - Performance and Missing Parent

    I have to say right off the top that I'm not a SQL expert by any means so please be gentle. :)
    I have a query that runs through a Bill Of Materials that works except for two things:
    1. It is horribly slow - 60-90 seconds to return under 300 rows.
    2. It doesn't show the parent node.
    I'm looking into indexes now, so I'm not sure if there's an issue there or not. As far as #2 goes, there are two tables that are involved: BOM_STRUCTURES_B and BOM_COMPONENTS_B. Every item below the parent node has a BOM_COMPONENTS_B record. If a BOM_COMPONENT is a parent to other components, there is a BOM_STRUCTURES_B record for that. (In other words, everything that is a parent has a BOM_STRUCTURES_B record, and all the children have a BOM_COMPONENTS_B record that point to the parent - BOM_STRUCTURES_B). The only exception to this is the parent node, which only has a BOM_STRUCTURES_B record (it is NOT a child, so there is no BOM_COMPONENTS_B record). I've added a "UNION" to the bottom of the script below, but it changes my sort order completely.
    Here's my script:
    select bbm.assembly_item_id,
    bic.component_item_id Component ,
    msi.segment1 Name,
    msi.description Description,
    bic.component_quantity Quantity,
    lpad( ' ', level*2 ) || level MyLevel
    from bom_structures_b bbm
    ,bom_components_b bic
    , mtl_system_items msi
    where bbm.bill_Sequence_id = bic.bill_sequence_id
    and msi.inventory_item_id = bic.component_item_id
    and msi.organization_id = bbm.organization_id
    start with bbm.assembly_item_id = 271962
    and bbm.organization_id = 85
    connect by prior bic.component_item_id = bbm.assembly_item_id;
    I've hard-coded "start with bbm.assembly_item_id = 271962", as it is the root node of a tree (BOM).
    Here's my structure, with extra fields clipped out:
    DBMS_METADATA.GET_DDL('TABLE','BOM_STRUCTURES_B','BOM')
    CREATE TABLE "BOM"."BOM_STRUCTURES_B"
    ( "ASSEMBLY_ITEM_ID" NUMBER,
    "ORGANIZATION_ID" NUMBER NOT NULL ENABLE,
    "COMMON_BILL_SEQUENCE_ID" NUMBER NOT NULL ENABLE,
    ) PCTFREE 20 PCTUSED 80 INITRANS 10 MAXTRANS 255 NOCOMPRESS LOGGING
    STORAGE(INITIAL 131072 NEXT 131072 MINEXTENTS 1 MAXEXTENTS 2147483645
    PCTINCREASE 0 FREELISTS 4 FREELIST GROUPS 4 BUFFER_POOL DEFAULT)
    TABLESPACE "APPS_TS_TX_DATA"
    DBMS_METADATA.GET_DDL('TABLE','BOM_COMPONENTS_B','BOM')
    CREATE TABLE "BOM"."BOM_COMPONENTS_B"
    ("COMPONENT_ITEM_ID" NUMBER,
    "BILL_SEQUENCE_ID" NUMBER NOT NULL ENABLE,
    "PARENT_BILL_SEQ_ID" NUMBER,
    ) PCTFREE 35 PCTUSED 50 INITRANS 10 MAXTRANS 255 NOCOMPRESS LOGGING
    STORAGE(INITIAL 131072 NEXT 131072 MINEXTENTS 1 MAXEXTENTS 2147483645
    PCTINCREASE 0 FREELISTS 4 FREELIST GROUPS 4 BUFFER_POOL DEFAULT)
    TABLESPACE "APPS_TS_TX_DATA"
    DBMS_METADATA.GET_DDL('TABLE','MTL_SYSTEM_ITEMS_B','INV')
    CREATE TABLE "INV"."MTL_SYSTEM_ITEMS_B"
    ( "INVENTORY_ITEM_ID" NUMBER NOT NULL ENABLE,
    "ORGANIZATION_ID" NUMBER NOT NULL ENABLE,
    "DESCRIPTION" VARCHAR2(240),
    ) PCTFREE 10 PCTUSED 70 INITRANS 10 MAXTRANS 255 NOCOMPRESS LOGGING
    STORAGE(INITIAL 131072 NEXT 131072 MINEXTENTS 1 MAXEXTENTS 2147483645
    PCTINCREASE 0 FREELISTS 4 FREELIST GROUPS 4 BUFFER_POOL DEFAULT)
    TABLESPACE "APPS_TS_TX_DATA"
    The relationship between the tables is:
    A BOM_STRUCTURES_B has many BOM_COMPONENTS_B where BOM_COMPONENTS_B.PARENT_BILL_SEQ_ID = BOM_STRUCTURES_B.BILL_SEQUENCE_ID. Both BOM_STRUCTURES_B.ASSEMBLY_ITEM_ID and BOM_COMPONENTS_B.COMPONENT_ITEM_ID are related to a single MTL_SYSTEM_ITEMS_B.INVENTORY_ITEM_ID.
    Thanks to anyone who can help with this horrible problem I've been fighting with for much too long! :)
    Thank you!
    Steve

    Due to an error in the otn forums (*), this got posted to the wrong forum, sorry for that, I'll repost in the correct one.
    *) For the forum admins: I was browsing the SQL/PLSQL forum, clicked on 'new message', got the login prompt, logged in, and apparently this got me to the application server forum for some reason.

  • 4.0 EA2 Commit in subversion gives error due to missing parent entry

    Hello,
    I am using Data Modeler 4.0 EA2 with SVN.
    In the following scenario an error occurs when committing the change in SVN:
    1- open a model in DM
    2- add a physical model to the relational model
    3- save the model
    4- commit the changes in SVN
    The following error is displayed in a popup window:
    svn:E200009: Commit failed (details follow):
    svn:E200009: '<path>\rel\<ID>\phys\<ID>\Table\seg_0' is not known to exist in the repository and is not part of the commit, yet its child
    '<path>\rel\<ID>\phys\<ID>\Table\seg_0'\<ID>.xml' is part of the commit.
    Joop

    Modeler does not handle corectly directory additions (when segment is added new directories are created).
    Is it for DM 4 or it's for previous releases?
    Philip

  • 7410 can't scan wirelessly

    Installed the full version, over the network on my 7410 - printing works fine on Win XP.  It doesn't appear that the scanner driver is installed - as the HP digital imaging monitor shows the device as disconnected.
    What I've done.
    1.installed with official HP release on their web site
    2.uninstalled/reinstalled many times - the wireless printing always works
    2a. uninstalled each component using the windows control panel add/remove programs
    2b. uninstalled using the HP level 3 .bat file contained on the distrubtion located in utils/ccc
    3. on installation, the install seems to bog down at the 96% mark for quite a while - but will always finish
    4. I get a bunch of install failed messages in my setupapi.log  - see below
    [SetupAPI Log]
    OS Version = 5.1.2600 Service Pack 3
    Platform ID = 2 (NT)
    Service Pack = 3.0
    Suite = 0x0100
    Product Type = 1
    Architecture = x86
    [2012/01/03 18:28:50 628.3 Driver Install]
    #-019 Searching for hardware ID(s): vid_03f0&pid_4311&ip_scan
    #-198 Command line processed: C:\WINDOWS\system32\services.exe
    #-166 Device install function: DIF_SELECTBESTCOMPATDRV.
    #W059 Selecting best compatible driver failed. Error 0xe0000228: There are no compatible drivers for this device.
    #W157 Default installer failed. Error 0xe0000228: There are no compatible drivers for this device.
    [2012/01/03 18:29:09 3660.2]
    #-199 Executing "C:\WINDOWS\system32\rundll32.exe" with command line: rundll32.exe newdev.dll,ClientSideInstall \\.\pipe\PNP_Device_Install_Pipe_0.{C6029209-C434-​4B64-B6F2-74987DC8E3D2}
    #I060 Set selected driver.
    #-019 Searching for hardware ID(s): vid_03f0&pid_4311&ip_scan
    #-166 Device install function: DIF_SELECTBESTCOMPATDRV.
    #W059 Selecting best compatible driver failed. Error 0xe0000228: There are no compatible drivers for this device.
    #W157 Default installer failed. Error 0xe0000228: There are no compatible drivers for this device.
    [2012/01/03 18:48:31 3496.3]
    #-198 Command line processed: "C:\Documents and Settings\AJS\Desktop\HP7410_full\Setup\hpzprl01.ex​e" -m preloadproductdrivers -ll enu,esn,fra,ptb,enu,ell,plk,rus,trk,chs,cht,csy,da​n,deu,esn,fin,fra,hun,ita,jpn,kor,nld,nob,ptb,sve  -l ENU -f C:\WINDOWS\hpoins05.dat -Validate No -w 131554
    #W389 No [STRINGS.0409] or [STRINGS.0009] section in C:\Program Files\HP\Digital Imaging\{342C7C88-D335-4bc2-8CF1-281857629CE2}\hpo​scu08.inf, using [STRINGS] instead.
    [2012/01/03 18:48:29 3496.1]
    #-198 Command line processed: "C:\Documents and Settings\AJS\Desktop\HP7410_full\Setup\hpzprl01.ex​e" -m preloadproductdrivers -ll enu,esn,fra,ptb,enu,ell,plk,rus,trk,chs,cht,csy,da​n,deu,esn,fin,fra,hun,ita,jpn,kor,nld,nob,ptb,sve  -l ENU -f C:\WINDOWS\hpoins05.dat -Validate No -w 131554
    #W389 No [STRINGS.0409] or [STRINGS.0009] section in C:\Program Files\HP\Digital Imaging\{342C7C88-D335-4bc2-8CF1-281857629CE2}\hpo​scu08.inf, using [STRINGS] instead.
    #W389 No [STRINGS.0409] or [STRINGS.0009] section in C:\WINDOWS\INF\oem27.inf, using [STRINGS] instead.
    [2012/01/03 18:49:40 3068.1]
    #-199 Executing "C:\Documents and Settings\AJS\Desktop\HP7410_full\Setup\hponiscan01​.exe" with command line: hponiscan01.exe -f "C:\Documents and Settings\AJS\Desktop\HP7410_full\setup\..\hposcu08​.inf" -m "VID_03F0&Pid_4311&IP_SCAN" -a 192.168.0.2 -e 0018715BD88F -n 1
    #W389 No [STRINGS.0409] or [STRINGS.0009] section in C:\Documents and Settings\AJS\Desktop\HP7410_full\hposcu08.inf, using [STRINGS] instead.
    [2012/01/03 18:49:40 3068.132]
    #-199 Executing "C:\Documents and Settings\AJS\Desktop\HP7410_full\Setup\hponiscan01​.exe" with command line: hponiscan01.exe -f "C:\Documents and Settings\AJS\Desktop\HP7410_full\setup\..\hposcu08​.inf" -m "VID_03F0&Pid_4311&IP_SCAN" -a 192.168.0.2 -e 0018715BD88F -n 1
    #I060 Set selected driver.
    #-019 Searching for hardware ID(s): vid_03f0&pid_4311&ip_scan
    #W389 No [STRINGS.0409] or [STRINGS.0009] section in c:\documents and settings\ajs\desktop\hp7410_full\hposcu08.inf, using [STRINGS] instead.
    #I022 Found "VID_03F0&Pid_4311&IP_SCAN" in c:\documents and settings\ajs\desktop\hp7410_full\hposcu08.inf; Device: "HP Officejet 7400 series"; Driver: "HP Officejet 7400 series"; Provider: "Hewlett-Packard"; Mfg: "Hewlett-Packard"; Section name: "PSC.Net.NTWIA".
    #I023 Actual install section: [PSC.Net.NTWIA]. Rank: 0x00000000. Effective driver date: 10/23/2002.
    #-019 Searching for hardware ID(s): vid_03f0&pid_4311&ip_scan
    #-166 Device install function: DIF_SELECTBESTCOMPATDRV.
    #I063 Selected driver installs from section [PSC.Net.NTWIA] in "c:\documents and settings\ajs\desktop\hp7410_full\hposcu08.inf".
    #I320 Class GUID of device remains: {6BDD1FC6-810F-11D0-BEC7-08002BE2092F}.
    #I060 Set selected driver.
    #I058 Selected best compatible driver.
    [2012/01/03 18:49:41 3068.134]
    #-199 Executing "C:\Documents and Settings\AJS\Desktop\HP7410_full\Setup\hponiscan01​.exe" with command line: hponiscan01.exe -f "C:\Documents and Settings\AJS\Desktop\HP7410_full\setup\..\hposcu08​.inf" -m "VID_03F0&Pid_4311&IP_SCAN" -a 192.168.0.2 -e 0018715BD88F -n 1
    #W389 No [STRINGS.0409] or [STRINGS.0009] section in c:\documents and settings\ajs\desktop\hp7410_full\hposcu08.inf, using [STRINGS] instead.
    [2012/01/03 18:49:41 3068.135]
    #-199 Executing "C:\Documents and Settings\AJS\Desktop\HP7410_full\Setup\hponiscan01​.exe" with command line: hponiscan01.exe -f "C:\Documents and Settings\AJS\Desktop\HP7410_full\setup\..\hposcu08​.inf" -m "VID_03F0&Pid_4311&IP_SCAN" -a 192.168.0.2 -e 0018715BD88F -n 1
    #W389 No [STRINGS.0409] or [STRINGS.0009] section in c:\documents and settings\ajs\desktop\hp7410_full\hposcu08.inf, using [STRINGS] instead.
    #I140 Installing device class: "Image" {6bdd1fc6-810f-11d0-bec7-08002be2092f}.
    #E067 Could not locate section [ClassInstall32].
    #E142 Class: {6BDD1FC6-810F-11D0-BEC7-08002BE2092F}. Install failed. Error 0xe0000101: The required section was not found in the INF.
    [2012/01/03 19:04:53 3460.3]
    #-198 Command line processed: "C:\Documents and Settings\AJS\Desktop\HP7410_full\Setup\hpzprl01.ex​e" -inf -m preloadproductdrivers  -l ENU -f C:\WINDOWS\hpoins05.dat -Validate No -w 131554
    #W389 No [STRINGS.0409] or [STRINGS.0009] section in C:\Program Files\HP\Digital Imaging\{342C7C88-D335-4bc2-8CF1-281857629CE2}\hpo​scu08.inf, using [STRINGS] instead.
    [2012/01/03 19:04:52 3460.1]
    #-198 Command line processed: "C:\Documents and Settings\AJS\Desktop\HP7410_full\Setup\hpzprl01.ex​e" -inf -m preloadproductdrivers  -l ENU -f C:\WINDOWS\hpoins05.dat -Validate No -w 131554
    #W389 No [STRINGS.0409] or [STRINGS.0009] section in C:\Program Files\HP\Digital Imaging\{342C7C88-D335-4bc2-8CF1-281857629CE2}\hpo​scu08.inf, using [STRINGS] instead.
    #W389 No [STRINGS.0409] or [STRINGS.0009] section in C:\WINDOWS\INF\oem27.inf, using [STRINGS] instead.
    Obsevations
    1.when trying to install, I've always had to kill the wrapper.exe process to coax it to proceed (is this normal?)
    Bottom line - can anyone help me out?
    p.s. Other things I've tried
    1. swung dead chicken bones and chanted heavily and vociferously - and with gusto.
    2. said many prayers - i tried all of the known deities to no avail.
    3. employed the hp motto "think" - also to no avail.
    3. loaded my 12 guage and pointed it at the printer - I guess idle threats didn't work, but it was worth a shot (no pun intended)

    Ok, I think I've solved this difficult issue.  There was a couple of missing parent keys.  Try adding this to your registry.  I had noticed the missing keys by comparing to a 'healthy' machine.  I think the uninstall level 4 may be the culprit.  The keys have to do with where imaging devices are parked.  Once added, not only did my scanner work wirelessly, but the install went all the way through without stalling at 96% and also fixed another issue with my "Add a scanner" not working.  Please ignore my Canon A60 and Intel microscope in the entries.  Just copy the keys and import.  Copy carefully from the below - there are 2 keys - look for --KEY--- and ---KEY2---
    ---KEY1---
    Windows Registry Editor Version 5.00
    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contr​ol\Class\{6BDD1FC6-810F-11D0-BEC7-08002BE2092F}]
    "Class"="Image"
    @="Imaging devices"
    "Installer32"="sti_ci.dll,ClassInstall"
    "TroubleShooter-0"="hcp://help/tshoot/tsInputDev.h​tm"
    "Icon"="0"
    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contr​ol\Class\{6BDD1FC6-810F-11D0-BEC7-08002BE2092F}\00​01]
    "DevLoader"="*ntkern"
    "NTMPDriver"="STVqx3.sys"
    "PageOutWhenUnopened"=hex:01
    "DontSuspendIfStreamsAreRunning"=hex:01
    "InfPath"="oem19.inf"
    "InfSection"="Camera.Device"
    "InfSectionExt"=".NT"
    "ProviderName"="Intel"
    "DriverDateData"=hex:00,80,56,84,e3,c2,c0,01
    "DriverDate"="4-12-2001"
    "DriverVersion"="1.10.18.0"
    "MatchingDeviceId"="usb\\vid_0813&pid_0001"
    "DriverDesc"="Intel Play QX3 Microscope"
    "Vendor"="Intel"
    "FriendlyName"="Intel Play QX3 Microscope"
    "DeviceID"="{6BDD1FC6-810F-11D0-BEC7-08002BE2092F}​\\0001"
    "Capabilities"=dword:00000000
    "DeviceType"=dword:00000000
    "DeviceSubType"=dword:00000000
    "IsPnP"=dword:00000001
    "Camera Name"=hex:00,00,00,00,00,00,00,00,00,00,00,00,00,0​0,00,00,00,00,00,00,\
      00,00,00,00,00,00,00,00,00,00,00,00
    "Brightness"=hex:94,11,00,00,02,00,00,00,02,00,00,​00
    "Contrast"=hex:88,13,00,00,02,00,00,00,02,00,00,00
    "Saturation"=hex:88,13,00,00,02,00,00,00,02,00,00,​00
    "Last Image Size"=hex:40,01,00,00,f0,00,00,00
    "Compression"=hex:00
    "VFFOV Control"=hex:00
    "Sensor Rate"=hex:04
    "50Hz Banding Filter"=hex:00
    "Never Flicker"=hex:00
    "Backlit"=hex:00
    "Disable Banding Filter"=hex:01
    "Maximum Alternate"=hex:03
    "Pan/Tilt"=hex:04,00,00,00,06,00,00,00
    "Zoom"=hex:00
    "Colour Balance"=hex:14,05,07
    "Exposure"=hex:01,00,97,01
    "CompGains"=hex:dc,d6,d6,e6
    "Disable AutoExposure"=hex:00
    "Disable Colour Balance"=hex:01
    "AEC Gain Ceiling"=hex:01
    "ACB Matrix"=hex:60,e2,fe,f7,59,f0,fc,e4,60
    "Enable Push Button"=hex:01
    "GPIO PP Out"=hex:0f
    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contr​ol\Class\{6BDD1FC6-810F-11D0-BEC7-08002BE2092F}\00​02]
    "DevLoader"="*ntkern"
    "NTMPDriver"="STVqx3.sys"
    "PageOutWhenUnopened"=hex:01
    "DontSuspendIfStreamsAreRunning"=hex:01
    "InfPath"="oem19.inf"
    "InfSection"="Camera.Device"
    "InfSectionExt"=".NT"
    "ProviderName"="Intel"
    "DriverDateData"=hex:00,80,56,84,e3,c2,c0,01
    "DriverDate"="4-12-2001"
    "DriverVersion"="1.10.18.0"
    "MatchingDeviceId"="usb\\vid_0813&pid_0001"
    "DriverDesc"="Intel Play QX3 Microscope"
    "Vendor"="Intel"
    "FriendlyName"="Intel Play QX3 Microscope #2"
    "DeviceID"="{6BDD1FC6-810F-11D0-BEC7-08002BE2092F}​\\0002"
    "Capabilities"=dword:00000000
    "DeviceType"=dword:00000000
    "DeviceSubType"=dword:00000000
    "IsPnP"=dword:00000001
    "Camera Name"=hex:00,00,00,00,00,00,00,00,00,00,00,00,00,0​0,00,00,00,00,00,00,\
      00,00,00,00,00,00,00,00,00,00,00,00
    "Brightness"=hex:88,13,00,00,02,00,00,00,02,00,00,​00
    "Contrast"=hex:88,13,00,00,02,00,00,00,02,00,00,00
    "Saturation"=hex:88,13,00,00,02,00,00,00,02,00,00,​00
    "Last Image Size"=hex:40,01,00,00,f0,00,00,00
    "Compression"=hex:00
    "VFFOV Control"=hex:00
    "Sensor Rate"=hex:04
    "50Hz Banding Filter"=hex:00
    "Never Flicker"=hex:00
    "Backlit"=hex:00
    "Disable Banding Filter"=hex:01
    "Maximum Alternate"=hex:03
    "Pan/Tilt"=hex:04,00,00,00,06,00,00,00
    "Zoom"=hex:00
    "Colour Balance"=hex:14,05,07
    "Exposure"=hex:01,00,97,01
    "CompGains"=hex:dc,d6,d6,e6
    "Disable AutoExposure"=hex:00
    "Disable Colour Balance"=hex:01
    "AEC Gain Ceiling"=hex:01
    "ACB Matrix"=hex:60,e2,fe,f7,59,f0,fc,e4,60
    "Enable Push Button"=hex:01
    "GPIO PP Out"=hex:0f
    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contr​ol\Class\{6BDD1FC6-810F-11D0-BEC7-08002BE2092F}\00​03]
    "DevLoader"="*ntkern"
    "NTMPDriver"="STVqx3.sys"
    "PageOutWhenUnopened"=hex:01
    "DontSuspendIfStreamsAreRunning"=hex:01
    "InfPath"="oem19.inf"
    "InfSection"="Camera.Device"
    "InfSectionExt"=".NT"
    "ProviderName"="Intel"
    "DriverDateData"=hex:00,80,56,84,e3,c2,c0,01
    "DriverDate"="4-12-2001"
    "DriverVersion"="1.10.18.0"
    "MatchingDeviceId"="usb\\vid_0813&pid_0001"
    "DriverDesc"="Intel Play QX3 Microscope"
    "Vendor"="Intel"
    "FriendlyName"="Intel Play QX3 Microscope #3"
    "DeviceID"="{6BDD1FC6-810F-11D0-BEC7-08002BE2092F}​\\0003"
    "Capabilities"=dword:00000000
    "DeviceType"=dword:00000000
    "DeviceSubType"=dword:00000000
    "IsPnP"=dword:00000001
    "Camera Name"=hex:00,00,00,00,00,00,00,00,00,00,00,00,00,0​0,00,00,00,00,00,00,\
      00,00,00,00,00,00,00,00,00,00,00,00
    "Brightness"=hex:88,13,00,00,02,00,00,00,02,00,00,​00
    "Contrast"=hex:88,13,00,00,02,00,00,00,02,00,00,00
    "Saturation"=hex:88,13,00,00,02,00,00,00,02,00,00,​00
    "Last Image Size"=hex:60,01,00,00,20,01,00,00
    "Compression"=hex:05
    "VFFOV Control"=hex:00
    "Sensor Rate"=hex:82
    "50Hz Banding Filter"=hex:00
    "Never Flicker"=hex:00
    "Backlit"=hex:00
    "Disable Banding Filter"=hex:00
    "Maximum Alternate"=hex:03
    "Pan/Tilt"=hex:00,00,00,00,00,00,00,00
    "Zoom"=hex:00
    "Colour Balance"=hex:0a,0a,0a
    "Exposure"=hex:00,00,8b,00
    "CompGains"=hex:dc,d6,d6,e6
    "Disable AutoExposure"=hex:00
    "Disable Colour Balance"=hex:00
    "AEC Gain Ceiling"=hex:02
    "ACB Matrix"=hex:60,e0,f8,e8,60,f3,ef,e8,60
    "Enable Push Button"=hex:00
    "GPIO PP Out"=hex:ff
    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contr​ol\Class\{6BDD1FC6-810F-11D0-BEC7-08002BE2092F}\00​05]
    "HardwareConfig"=hex:04
    "USDClass"="{B5EE90B0-D5C5-11D2-82D5-00C04F8EC183}​"
    "InfPath"="ptpusb.inf"
    "InfSection"="PTP"
    "ProviderName"="Microsoft"
    "DriverDateData"=hex:00,80,62,c5,c0,01,c1,01
    "DriverDate"="7-1-2001"
    "DriverVersion"="5.1.2600.0"
    "MatchingDeviceId"="usb\\class_06&subclass_01&prot​_01"
    "DriverDesc"="Canon PowerShot A60"
    "CreateFileName"=""
    "SubClass"="StillImage"
    "Vendor"="Generic"
    "FriendlyName"="Canon PowerShot A60"
    "ICMProfiles"="sRGB Color Space Profile.icm"
    "DeviceID"="{6BDD1FC6-810F-11D0-BEC7-08002BE2092F}​\\0005"
    "Capabilities"=dword:00000035
    "DeviceType"=dword:00000002
    "DeviceSubType"=dword:00000000
    "IsPnP"=dword:00000001
    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contr​ol\Class\{6BDD1FC6-810F-11D0-BEC7-08002BE2092F}\00​05\DeviceData]
    "Model"="PTP"
    "QueryDeviceForName"=dword:00000000
    "Server"="local"
    "UI DLL"="sti.dll"
    "UI Class ID"="{4DB1AD10-3391-11D2-9A33-00C04FA36145}"
    "ICMProfile"=hex:73,00,52,00,47,00,42,00,20,00,43,​00,6f,00,6c,00,6f,00,72,00,\
      20,00,53,00,70,00,61,00,63,00,65,00,20,00,50,00,72​,00,6f,00,66,00,69,00,6c,\
      00,65,00,2e,00,69,00,63,00,6d,00,00,00,00,00
    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contr​ol\Class\{6BDD1FC6-810F-11D0-BEC7-08002BE2092F}\00​05\Events]
    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contr​ol\Class\{6BDD1FC6-810F-11D0-BEC7-08002BE2092F}\00​05\Events\Connected]
    @="Digital camera connected"
    "GUID"="{A28BBADE-64B6-11d2-A231-00C04FA31809}"
    "LaunchApplications"="*"
    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contr​ol\Class\{6BDD1FC6-810F-11D0-BEC7-08002BE2092F}\00​05\Events\Disconnected]
    @="Digital camera  disconnected"
    "GUID"="{143E4E83-6497-11d2-A231-00C04FA31809}"
    "LaunchApplications"="*"
    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contr​ol\Class\{6BDD1FC6-810F-11D0-BEC7-08002BE2092F}\00​06]
    "HardwareConfig"=hex:04
    "USDClass"="{B5EE90B0-D5C5-11D2-82D5-00C04F8EC183}​"
    "InfPath"="ptpusb.inf"
    "InfSection"="PTP"
    "ProviderName"="Microsoft"
    "DriverDateData"=hex:00,80,62,c5,c0,01,c1,01
    "DriverDate"="7-1-2001"
    "DriverVersion"="5.1.2600.0"
    "MatchingDeviceId"="usb\\class_06&subclass_01&prot​_01"
    "DriverDesc"="Canon PowerShot A60"
    "CreateFileName"=""
    "SubClass"="StillImage"
    "Vendor"="Generic"
    "FriendlyName"="Canon PowerShot A60"
    "ICMProfiles"="sRGB Color Space Profile.icm"
    "DeviceID"="{6BDD1FC6-810F-11D0-BEC7-08002BE2092F}​\\0006"
    "Capabilities"=dword:00000035
    "DeviceType"=dword:00000002
    "DeviceSubType"=dword:00000000
    "IsPnP"=dword:00000001
    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contr​ol\Class\{6BDD1FC6-810F-11D0-BEC7-08002BE2092F}\00​06\DeviceData]
    "Model"="PTP"
    "QueryDeviceForName"=dword:00000000
    "Server"="local"
    "UI DLL"="sti.dll"
    "UI Class ID"="{4DB1AD10-3391-11D2-9A33-00C04FA36145}"
    "ICMProfile"=hex:73,00,52,00,47,00,42,00,20,00,43,​00,6f,00,6c,00,6f,00,72,00,\
      20,00,53,00,70,00,61,00,63,00,65,00,20,00,50,00,72​,00,6f,00,66,00,69,00,6c,\
      00,65,00,2e,00,69,00,63,00,6d,00,00,00,00,00
    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contr​ol\Class\{6BDD1FC6-810F-11D0-BEC7-08002BE2092F}\00​06\Events]
    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contr​ol\Class\{6BDD1FC6-810F-11D0-BEC7-08002BE2092F}\00​06\Events\Connected]
    @="Digital camera connected"
    "GUID"="{A28BBADE-64B6-11d2-A231-00C04FA31809}"
    "LaunchApplications"="*"
    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contr​ol\Class\{6BDD1FC6-810F-11D0-BEC7-08002BE2092F}\00​06\Events\Disconnected]
    @="Digital camera  disconnected"
    "GUID"="{143E4E83-6497-11d2-A231-00C04FA31809}"
    "LaunchApplications"="*"
    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contr​ol\Class\{6BDD1FC6-810F-11D0-BEC7-08002BE2092F}\00​07]
    "DevLoader"="*ntkern"
    "NTMPDriver"="STVqx3.sys"
    "PageOutWhenUnopened"=hex:01
    "DontSuspendIfStreamsAreRunning"=hex:01
    "InfPath"="oem19.inf"
    "InfSection"="Camera.Device"
    "InfSectionExt"=".NT"
    "ProviderName"="Intel"
    "DriverDateData"=hex:00,80,56,84,e3,c2,c0,01
    "DriverDate"="4-12-2001"
    "DriverVersion"="1.10.18.0"
    "MatchingDeviceId"="usb\\vid_0813&pid_0001"
    "DriverDesc"="Intel Play QX3 Microscope"
    "Vendor"="Intel"
    "FriendlyName"="Intel Play QX3 Microscope #4"
    "DeviceID"="{6BDD1FC6-810F-11D0-BEC7-08002BE2092F}​\\0007"
    "Capabilities"=dword:00000000
    "DeviceType"=dword:00000000
    "DeviceSubType"=dword:00000000
    "IsPnP"=dword:00000001
    "Camera Name"=hex:00,00,00,00,00,00,00,00,00,00,00,00,00,0​0,00,00,00,00,00,00,\
      00,00,00,00,00,00,00,00,00,00,00,00
    "Brightness"=hex:88,13,00,00,02,00,00,00,02,00,00,​00
    "Contrast"=hex:88,13,00,00,02,00,00,00,02,00,00,00
    "Saturation"=hex:88,13,00,00,02,00,00,00,02,00,00,​00
    "Last Image Size"=hex:60,01,00,00,20,01,00,00
    "Compression"=hex:05
    "VFFOV Control"=hex:00
    "Sensor Rate"=hex:81
    "50Hz Banding Filter"=hex:00
    "Never Flicker"=hex:00
    "Backlit"=hex:00
    "Disable Banding Filter"=hex:00
    "Maximum Alternate"=hex:03
    "Pan/Tilt"=hex:00,00,00,00,00,00,00,00
    "Zoom"=hex:00
    "Colour Balance"=hex:0a,0a,0a
    "Exposure"=hex:00,00,97,00
    "CompGains"=hex:dc,d6,d6,e6
    "Disable AutoExposure"=hex:00
    "Disable Colour Balance"=hex:00
    "AEC Gain Ceiling"=hex:02
    "ACB Matrix"=hex:60,e0,f8,e8,60,f3,ef,e8,60
    "Enable Push Button"=hex:00
    "GPIO PP Out"=hex:ff
    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contr​ol\Class\{6BDD1FC6-810F-11D0-BEC7-08002BE2092F}\00​08]
    "HardwareConfig"=hex:04
    "USDClass"="{B5EE90B0-D5C5-11D2-82D5-00C04F8EC183}​"
    "InfPath"="ptpusb.inf"
    "InfSection"="PTP"
    "ProviderName"="Microsoft"
    "DriverDateData"=hex:00,80,62,c5,c0,01,c1,01
    "DriverDate"="7-1-2001"
    "DriverVersion"="5.1.2600.0"
    "MatchingDeviceId"="usb\\class_06&subclass_01&prot​_01"
    "DriverDesc"="Canon PowerShot A60"
    "CreateFileName"=""
    "SubClass"="StillImage"
    "Vendor"="Generic"
    "FriendlyName"="Canon PowerShot A60"
    "ICMProfiles"="sRGB Color Space Profile.icm"
    "DeviceID"="{6BDD1FC6-810F-11D0-BEC7-08002BE2092F}​\\0008"
    "Capabilities"=dword:00000035
    "DeviceType"=dword:00000002
    "DeviceSubType"=dword:00000000
    "IsPnP"=dword:00000001
    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contr​ol\Class\{6BDD1FC6-810F-11D0-BEC7-08002BE2092F}\00​08\DeviceData]
    "Model"="PTP"
    "QueryDeviceForName"=dword:00000000
    "Server"="local"
    "UI DLL"="sti.dll"
    "UI Class ID"="{4DB1AD10-3391-11D2-9A33-00C04FA36145}"
    "ICMProfile"=hex:73,00,52,00,47,00,42,00,20,00,43,​00,6f,00,6c,00,6f,00,72,00,\
      20,00,53,00,70,00,61,00,63,00,65,00,20,00,50,00,72​,00,6f,00,66,00,69,00,6c,\
      00,65,00,2e,00,69,00,63,00,6d,00,00,00,00,00
    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contr​ol\Class\{6BDD1FC6-810F-11D0-BEC7-08002BE2092F}\00​08\Events]
    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contr​ol\Class\{6BDD1FC6-810F-11D0-BEC7-08002BE2092F}\00​08\Events\Connected]
    @="Digital camera connected"
    "GUID"="{A28BBADE-64B6-11d2-A231-00C04FA31809}"
    "LaunchApplications"="*"
    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contr​ol\Class\{6BDD1FC6-810F-11D0-BEC7-08002BE2092F}\00​08\Events\Disconnected]
    @="Digital camera  disconnected"
    "GUID"="{143E4E83-6497-11d2-A231-00C04FA31809}"
    "LaunchApplications"="*"
    ---KEY 2---
    Windows Registry Editor Version 5.00
    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contr​ol\DeviceClasses\{6bdd1fc6-810f-11d0-bec7-08002be2​092f}]
    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contr​ol\DeviceClasses\{6bdd1fc6-810f-11d0-bec7-08002be2​092f}\##?#DOT4#Vid_03f0&Pid_2311&Rev_0100&SCAN#5&5​714445&3&1#{6bdd1fc6-810f-11d0-bec7-08002be2092f}]
    "DeviceInstance"="DOT4\\Vid_03f0&Pid_2311&Rev_0100​&SCAN\\5&5714445&3&1"
    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contr​ol\DeviceClasses\{6bdd1fc6-810f-11d0-bec7-08002be2​092f}\##?#DOT4#Vid_03f0&Pid_2311&Rev_0100&SCAN#5&5​714445&3&1#{6bdd1fc6-810f-11d0-bec7-08002be2092f}\​#]
    "SymbolicLink"="\\\\?\\DOT4#Vid_03f0&Pid_2311&Rev_​0100&SCAN#5&5714445&3&1#{6bdd1fc6-810f-11d0-bec7-0​8002be2092f}"
    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contr​ol\DeviceClasses\{6bdd1fc6-810f-11d0-bec7-08002be2​092f}\##?#USB#Vid_03f0&Pid_4111&MI_00#5&1dc9c0b4&3​&0000#{6bdd1fc6-810f-11d0-bec7-08002be2092f}]
    "DeviceInstance"="USB\\Vid_03f0&Pid_4111&MI_00\\5&​1dc9c0b4&3&0000"
    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contr​ol\DeviceClasses\{6bdd1fc6-810f-11d0-bec7-08002be2​092f}\##?#USB#Vid_03f0&Pid_4111&MI_00#5&1dc9c0b4&3​&0000#{6bdd1fc6-810f-11d0-bec7-08002be2092f}\#]
    "SymbolicLink"="\\\\?\\USB#Vid_03f0&Pid_4111&MI_00​#5&1dc9c0b4&3&0000#{6bdd1fc6-810f-11d0-bec7-08002b​e2092f}"
    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contr​ol\DeviceClasses\{6bdd1fc6-810f-11d0-bec7-08002be2​092f}\##?#USB#Vid_04a9&Pid_3074#4&2e05fc02&0&1#{6b​dd1fc6-810f-11d0-bec7-08002be2092f}]
    "DeviceInstance"="USB\\Vid_04a9&Pid_3074\\4&2e05fc​02&0&1"
    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contr​ol\DeviceClasses\{6bdd1fc6-810f-11d0-bec7-08002be2​092f}\##?#USB#Vid_04a9&Pid_3074#4&2e05fc02&0&1#{6b​dd1fc6-810f-11d0-bec7-08002be2092f}\#]
    "SymbolicLink"="\\\\?\\USB#Vid_04a9&Pid_3074#4&2e0​5fc02&0&1#{6bdd1fc6-810f-11d0-bec7-08002be2092f}"
    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contr​ol\DeviceClasses\{6bdd1fc6-810f-11d0-bec7-08002be2​092f}\##?#USB#Vid_04a9&Pid_3074#4&2e05fc02&0&2#{6b​dd1fc6-810f-11d0-bec7-08002be2092f}]
    "DeviceInstance"="USB\\Vid_04a9&Pid_3074\\4&2e05fc​02&0&2"
    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contr​ol\DeviceClasses\{6bdd1fc6-810f-11d0-bec7-08002be2​092f}\##?#USB#Vid_04a9&Pid_3074#4&2e05fc02&0&2#{6b​dd1fc6-810f-11d0-bec7-08002be2092f}\#]
    "SymbolicLink"="\\\\?\\USB#Vid_04a9&Pid_3074#4&2e0​5fc02&0&2#{6bdd1fc6-810f-11d0-bec7-08002be2092f}"
    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contr​ol\DeviceClasses\{6bdd1fc6-810f-11d0-bec7-08002be2​092f}\##?#USB#Vid_04a9&Pid_3074#4&36c2944&0&2#{6bd​d1fc6-810f-11d0-bec7-08002be2092f}]
    "DeviceInstance"="USB\\Vid_04a9&Pid_3074\\4&36c294​4&0&2"
    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contr​ol\DeviceClasses\{6bdd1fc6-810f-11d0-bec7-08002be2​092f}\##?#USB#Vid_04a9&Pid_3074#4&36c2944&0&2#{6bd​d1fc6-810f-11d0-bec7-08002be2092f}\#]
    "SymbolicLink"="\\\\?\\USB#Vid_04a9&Pid_3074#4&36c​2944&0&2#{6bdd1fc6-810f-11d0-bec7-08002be2092f}"

  • Confusion about third-party-libraries in different versions in CE 71.

    Hi
    After some research on the use of different versions of third-party-libraries in SAP netweaver CE 7.1, I am actually quite confused and would be happy if someone could shed a light on that subject....
    1. Is there a way to tell netweaver CE 7.1 to use a library in my WEB-INFlib-folder by simple configuration?
    E.g. we would like to use a third-party-lib in a newer version than the one which is loaded by CE 7.1. Many application server provide a simple configuration option (e.g inside META-INFapplication.xml) where the web as can be forced to use the library inside WEB-INFlib for this application.
    2.Is the concept of "heavy loading" described in a blog by Georgi Danov(Using Hibernate in SAP NetWeaver Composition Environment) the answer to question 1.?
    Does it also work for other third-party-libraries than hibernate? Does it work at all?
    3. In the blog mentioned in question 2, Mr. Danov is talking about "shared libraries". Does this mean, that I have to forget everything about "bundled" and "standard" libraries explained in help.sap.com/CE, if I want to create a heavy loader?
    He is referencing another blog (Applications and shared libraries) which is two years old? Can I still apply the information there to CE?
    4. Are "Bundled libraries" applicable when using different versions of third-party-libraries in CE 7.1?
    In "Working with libraries" (http://help.sap.com/saphelp_nwce10/helpdata/en/44/f4e00e56ec0486e10000000a155369/frameset.htm) it says:
    "Bundled libraries: These provide resources only to a single enterprise application, and are packed inside the application's EAR file."
    =>As I want to provide the lib only to my enterprise application, I will probably have to create a bundled library, right? Does this also work if netweaver CE 7.1 uses a different version of the same library?
    5. Do I need Netweaver Developer Studio for creating "bundled" libraries?
    Or can I copy the binaries in the WEB-INFlib-folder of my application, deploy it and use it?
    6. Is configuration of application-j2ee-engine.xml the right place to reference a third-party-library in a specific version which exists in WEB-INF/lib-folder in my application even if it exists also in another version on netweaver?
    => In the document "Troubleshooting: Finding Missing Parent-Child Relations" it says: "To implement the chain of parent-child relations in the deployment descriptor of the component, use either application-j2ee-engine.xml (for applications) or provider.xml (for libraries and services)."
    => "Creating standard libraries" (http://help.sap.com/saphelp_nwce10/helpdata/en/44/f447a8d62b0484e10000000a155369/frameset.htm9 tells me, that I have to configure the file application-j2ee-engine.xml, too.
    => But in "Working with libraries" (http://help.sap.com/saphelp_nwce10/helpdata/en/44/f4e00e56ec0486e10000000a155369/frameset.htm) it says:
    "Standard libraries: These provide resources to all enterprise applications deployed on the server. They are packed in EAR files like the enterprise applications."
    => Does this mean, that I have to force Netweaver CE 7.1 to use a higher version of a certain third-party-library? Does this even work? Do all applications deployed on Netweaver 7.1 have to use this library in the higher version?
    It is really confusing to read through the documentation!!! Sorry for that avalanche of questions, but I really hope it will make the issue of using libraries (especially if they exist in different versions on the CE 7.1) a little clearer!
    Best regards
    Bettina

    Hi Bettina,
    I'll try to answer your questions:
    >
    > Hi
    >
    > After some research on the use of different versions of third-party-libraries in SAP netweaver CE 7.1, I am actually quite confused and would be happy if someone could shed a light on that subject....
    >
    > 1. Is there a way to tell netweaver CE 7.1 to use a library in my WEB-INFlib-folder by simple configuration?
    >
    > E.g. we would like to use a third-party-lib in a newer version than the one which is loaded by CE 7.1. Many application server provide a simple configuration option (e.g inside META-INFapplication.xml) where the web as can be forced to use the library inside WEB-INFlib for this application.
    >
    First of all, the appropriate docs are here: [http://help.sap.com/saphelp_nwce10/helpdata/en/44/f4e00e56ec0486e10000000a155369/frameset.htm|http://help.sap.com/saphelp_nwce10/helpdata/en/44/f4e00e56ec0486e10000000a155369/frameset.htm].
    Basically what you do is define a lib project in the studio and deploy it do the server. This may be less comfortable then just configuring manually, therefore it work better in larger environments because the server checks that libs are available in all running instances - which it could not do if you manipulate diretories manually  (an approach you should never attempt in any SAP envrionment)
    > 2.Is the concept of "heavy loading" described in a blog by Georgi Danov(Using Hibernate in SAP NetWeaver Composition Environment) the answer to question 1.?
    >
    > Does it also work for other third-party-libraries than hibernate? Does it work at all?
    >
    If Georgi describes it, I hope so, as he is one of our developers who knows best.
    > 3. In the blog mentioned in question 2, Mr. Danov is talking about "shared libraries". Does this mean, that I have to forget everything about "bundled" and "standard" libraries explained in help.sap.com/CE, if I want to create a heavy loader?
    >
    "shared" are all of theses libs, as otherwise they would be specific to an application.
    > He is referencing another blog (Applications and shared libraries) which is two years old? Can I still apply the information there to CE?
    >
    This was about anearly version of CE and even Georgi updated the blog this year to talk about slight differences. So yes, this still applies.
    > 4. Are "Bundled libraries" applicable when using different versions of third-party-libraries in CE 7.1?
    >
    > In "Working with libraries" (http://help.sap.com/saphelp_nwce10/helpdata/en/44/f4e00e56ec0486e10000000a155369/frameset.htm) it says:
    >
    > "Bundled libraries: These provide resources only to a single enterprise application, and are packed inside the application's EAR file."
    >
    > =>As I want to provide the lib only to my enterprise application, I will probably have to create a bundled library, right? Does this also work if netweaver CE 7.1 uses a different version of the same library?
    >
    That depends... Your application uses it's own classloader which means it should only use your libs in case there is another version available on the server. But if you're trying to deploy a lib that is used by a service of the server (int that case loaded by the server not your classloader!) I'm not so sure.
    > 5. Do I need Netweaver Developer Studio for creating "bundled" libraries?
    >
    > Or can I copy the binaries in the WEB-INFlib-folder of my application, deploy it and use it?
    >
    You need the Studio. No way around that. [Edit:] Sorry, misunderstood you here: I thought you want to copy something into the deployed directory on the server! - Of course, any deployment method would do it and though copying binaries seems to be valid. However,  I'm checking this currently with development in detail.
    > 6. Is configuration of application-j2ee-engine.xml the right place to reference a third-party-library in a specific version which exists in WEB-INF/lib-folder in my application even if it exists also in another version on netweaver?
    >
    > => In the document "Troubleshooting: Finding Missing Parent-Child Relations" it says: "To implement the chain of parent-child relations in the deployment descriptor of the component, use either application-j2ee-engine.xml (for applications) or provider.xml (for libraries and services)."
    >
    > => "Creating standard libraries" (http://help.sap.com/saphelp_nwce10/helpdata/en/44/f447a8d62b0484e10000000a155369/frameset.htm9 tells me, that I have to configure the file application-j2ee-engine.xml, too.
    >
    > => But in "Working with libraries" (http://help.sap.com/saphelp_nwce10/helpdata/en/44/f4e00e56ec0486e10000000a155369/frameset.htm) it says:
    >
    > "Standard libraries: These provide resources to all enterprise applications deployed on the server. They are packed in EAR files like the enterprise applications."
    >
    > => Does this mean, that I have to force Netweaver CE 7.1 to use a higher version of a certain third-party-library? Does this even work? Do all applications deployed on Netweaver 7.1 have to use this library in the higher version?
    >
    >
    >
    > It is really confusing to read through the documentation!!! Sorry for that avalanche of questions, but I really hope it will make the issue of using libraries (especially if they exist in different versions on the CE 7.1) a little clearer!
    >
    > Best regards
    > Bettina
    Could you tell me what you're trying to deploy? I'll try to get Georgi on this....
    Regards,
    Benny
    Edited by: Benny Schaich-Lebek on Nov 5, 2008 1:40 PM

  • Index seen in RoboHelp does not match CHM

    I have a project which has conditional text and topics to
    enable me to create different CHM Help files for four variations of
    an application. I haven't noticed any problems with the indexes in
    previous versions of the Help files that I've generated but am
    having real problems this time.
    The index looks fine in RoboHelp. It's designed so that
    parent keywords which have associated sub-keywords do not have
    links to help topics. It uses some re-direct topics to avoid
    keywords appearing in an index for the wrong product.
    When I generate the CHM files the indexes omit some parent
    keywords. The sub-keywords for the missing parent keywords are
    inserted under other (inappropriate) parent keywords. I've been
    struggling with this for days without finding anything obvious that
    might be causing the problem. In the end I deleted the index and
    re-entered all index entries manually again. Unfortunately, this
    didn't fix the problem.
    In the end, to enable me to release the Help files I had to
    use the following, unsatisfactory workaround. I went through slowly
    identifying each missing parent keyword and gave each of them a
    link to a topic that was displayed in all versions of the Help. So
    I've ended up linking to some topics that are not particularly
    appropriate, and having an index which is not consistent (some
    parent keywords have links and most don't).
    Any suggestions on what's going on here?

    Ressucitating this topic as I have a similar issue but I am
    not working on a merged project....
    I am using RH for HTML X5 and generating HTML Help. I was
    working on the index (adding keywords) when RH crashed on me (CPD
    issue). I restored my CPD file and for some reason now, the index
    from the RH project does not match the index of the compiled CHM
    file! I tried opening the project.hhk file and the rhkkeyword.apj
    file in a text editor and tried to find the keywords that are in
    the compiled help but not in the project. Both files looked like my
    index from within the RH project, i.e. they did not have these
    extra keywords. Basically, I have got a few keywords stored
    somewhere, but not in my hhk or apj files, that I cannot edit.
    Any ideas of where these could be stored (CPD?). How can I
    get to them? I need to edit the topics linked to one of these
    keywords and cannot do this. I tried re-adding the keyword to my
    index in RH but the software tells me it already exists (and I
    cannot see it)...
    Thanks in advance for any assistance,

  • Intermittent ClassNotFoundException when using the Attach API

    I'm trying to load an agent dynamically and I'm getting occasional an occasional CNFE. It doesn't make any sense because I'll run once and it'll work. Then I'll turn around and run the same scenario and it fails. In both instances I KNOW that the class is indeed in the classpath. Any ideas what I may want to look at?
    Thanks,
    Rick

    curtisr7 wrote:
    I would expect a missing parent class, or an exception from a static block happen every time.
    Nope. For example if a static block was attempting a socket connection and the timing on that was bordeline such that timeouts occurred sometimes and not others.
    Or it reads a file. And something intermittently messes up the format of the file.
    I'm running a single threaded application(so this isn't a threading issue) that fails every 3-4 runs. Any other ideas?You are not running the Sun VM then. It always has multiple threads.

  • 10g: Must all related tables be in the same project?

    Since we will eventaully have over 500 tables to map, we would like to be able to maintain these tables/classes in different projects. How do we map foreign key references between tables/classes that we would like to maintain in different projects?
    I don't know if theis is why I'm getting this error, but I initially created two projects with independent tables. Then I wanted to join some tables in one project to some tables in another project. (This is all using Offline Database Objects.) I dropped some tables managed in project A into the diagram for project B and created the foreign key relations (from B to A.) Now whenever I try to open the TopLink Mappings node for project B in the Navigator, I get the following error. I get this error even if I drop ALL the tables from project A into project B's diagram (meaning there is nothing left in the schema that could be the missing 'parent'.)
    Local Exception Stack:
    Exception [TOPLINK-98] (Oracle9iAS TopLink - Release 2 (9.0.4.0) (Build 030612)): oracle.toplink.exceptions.DescriptorException
    Exception Description: The underlying descriptor callback method [postBuild], with parameter (DescriptorEvent), triggered an exception.
    Internal Exception: java.lang.reflect.InvocationTargetException
    Target Invocation Exception: java.lang.IllegalStateException: This object is missing a parent: MWTable[C14] (AVEGA.DATAMART)
    Descriptor: XMLDescriptor(oracle.toplink.workbench.model.MWProject --> [DatabaseTable(project)])
         at oracle.toplink.exceptions.DescriptorException.<init>(DescriptorException.java:207)
         at oracle.toplink.exceptions.DescriptorException.<init>(DescriptorException.java:212)
         at oracle.toplink.exceptions.DescriptorException.targetInvocationWhileEventExecution(DescriptorException.java:1364)
         at oracle.toplink.publicinterface.DescriptorEventManager.executeEvent(DescriptorEventManager.java:133)
         at oracle.toplink.internal.descriptors.ObjectBuilder.buildAttributesIntoObject(ObjectBuilder.java:179)
         at oracle.toplink.internal.descriptors.ObjectBuilder.buildObject(ObjectBuilder.java:331)
         at oracle.toplink.queryframework.ObjectLevelReadQuery.buildObject(ObjectLevelReadQuery.java:227)
         at oracle.toplink.queryframework.ReadObjectQuery.execute(ReadObjectQuery.java:344)
         at oracle.toplink.queryframework.DatabaseQuery.execute(DatabaseQuery.java:498)
         at oracle.toplink.queryframework.ReadQuery.execute(ReadQuery.java:111)
         at oracle.toplink.publicinterface.Session.internalExecuteQuery(Session.java:1968)
         at oracle.toplink.publicinterface.Session.executeQuery(Session.java:1096)
         at oracle.toplink.publicinterface.Session.executeQuery(Session.java:1048)
         at oracle.toplink.publicinterface.Session.readObject(Session.java:2502)
         at oracle.toplink.workbench.ui.WorkbenchSession.getMWProjectNamed(WorkbenchSession.java:270)
         at oracle.toplink.addin.persistence.MWJDeveloperPersistence.open(MWJDeveloperPersistence.java:176)
         at oracle.toplink.tsceditor.persistence.PersistenceManager.open(PersistenceManager.java:942)
         at oracle.toplink.addin.manager.MWJDeveloperMediator.openMWProject(MWJDeveloperMediator.java:164)
         at oracle.toplink.addin.manager.MWJDeveloperMediator.locateAndOpenProjectImp(MWJDeveloperMediator.java:626)
         at oracle.toplink.addin.manager.MWJDeveloperMediator.getEditableObjectFor(MWJDeveloperMediator.java:430)
         at oracle.toplink.addin.ui.view.explorer.MWExplorer.updateExplorer(MWExplorer.java:586)
         at oracle.toplink.addin.ui.view.explorer.MWExplorer.setContext(MWExplorer.java:458)
         at oracle.ideimpl.explorer.ExplorerManagerImpl.getExplorerForHost(ExplorerManagerImpl.java:1048)
         at oracle.ideimpl.explorer.ExplorerWindowImpl.viewSelectionChanged(ExplorerWindowImpl.java:544)
         at oracle.ide.addin.AbstractPinnable.viewSelectionChanged(AbstractPinnable.java:232)
         at oracle.ideimpl.explorer.ExplorerWindowImpl.viewSelectionChanged(ExplorerWindowImpl.java:376)
    ... etc.

    If you wish to split your project up into two projects and have some relationships between some of those objects in the projects, you could map all of the objects for each project, but do not map the relationships. For those classes with relationships to other classes in other project you can define an amendment method. An amendment method is a callback into Java code that will be called when the descriptor is loaded. In this method you can then create the mapping to the class in the other project through the descriptor and mapping code API. (see oracle.toplink.mappings, oracle.toplink.publicinterface.Descriptor)
    You can also make use of descriptor deactivation to define relationships between projects. For this you would import the related classes into the project and deactivate them. This will allow you to define relationships to them, but will not export their mapping information when deploying.
    In general it is probably easier to keep everything in one project and use your content/code management system and merge tools to manage the project.

  • ORA-02298

    SQL> alter table jti.DIS_ROOM_REQUESTS
    2 add constraint DIS_FK2_ROOM_REQUESTS_ST_ID foreign key (STUDENT_ID)
    3 references jtisp.sis_students (STUDENT_ID);
    add constraint DIS_FK2_ROOM_REQUESTS_ST_ID foreign key (STUDENT_ID)
    ERROR at line 2:
    ORA-02298: cannot validate (JTI.DIS_FK2_ROOM_REQUESTS_ST_ID) - parent keys not
    found
    plz help me...to come out this error...

    Hi:
    From techonthenet.com
    Cause:
    You tried to execute an ALTER TABLE ENABLE CONSTRAINT command, but it failed because your table has orphaned child records in it.
    Action:
    The options to resolve this Oracle error are:
    1- Remove the orphaned child records from the child table (foreign key relationship), and then re-execute the ALTER TABLE ENABLE CONSTRAINT command.
    2- Create the missing parent records in the parent table (foreign key relationship), and then re-execute the ALTER TABLE ENABLE CONSTRAINT command.Saad,
    http://saadnayef.blogspot.com

  • Constraint trouble

    I have disabled a foreign key constraint and deleted all parent records in table A. I tried to re-enable the constraint and PLSQL complained about children in table B missing parent records. I want to tie the orphaned child records in table B to newly created records in Table C via a separate column. Is there anything I can do to reactivate the FK short of deleting the child records?

    You cannot have the same column constrained against two different tables, so you may be out of luck. However, if you need to constraint those orphans against a different column that will be null for the other records, you have two choices.
    First, you could insert a dummy parent in the parent table and assign the current orphans to that dummy parent. The other option would be to enable the constraint with the novalidate option.
    I assume you situation is something like this:
    SQL> CREATE TABLE t (id NUMBER, descr VARCHAR2(10));
    Table created.
    SQL> CREATE TABLE t1 (t1_id NUMBER, t_id NUMBER, descr VARCHAR2(10));
    Table created.
    SQL> ALTER TABLE t1 ADD CONSTRAINT t1_t_fk
      2     FOREIGN KEY (t_id) REFERENCES t (id);
    Table altered.
    SQL> INSERT INTO t VALUES(1, 'One');
    1 row created.
    SQL> INSERT INTO t VALUES(2, 'Two');
    1 row created.
    SQL> INSERT INTO t VALUES(3, 'Three');
    1 row created.
    SQL> INSERT INTO t1 VALUES (1, 1, 'T1One');
    1 row created.
    SQL> INSERT INTO t1 VALUES (2, 2, 'T1Two');
    1 row created.
    SQL> INSERT INTO t1 VALUES (3, 3, 'T1Three');
    1 row created.
    SQL> COMMIT;
    Commit complete.
    SQL> ALTER TABLE t1 DISABLE CONSTRAINT t1_t_fk;
    Table altered.
    SQL> DELETE FROM t WHERE id = 3;
    1 row deleted.
    SQL> COMMIT;
    Commit complete.You are here now. Creating a "dummy" parent requires an insert into parent (t in my example) and and update to child (t1 in my example). The novalidate option would go lke:
    SQL> ALTER TABLE t1 ENABLE NOVALIDATE CONSTRAINT t1_t_fk;
    Table altered.
    SQL> INSERT INTO t1 VALUES (4, 3, 'T13Again');
    INSERT INTO t1 VALUES (4, 3, 'T13Again')
    ERROR at line 1:
    ORA-02291: integrity constraint (OPS$ORACLE.T1_T_FK) violated - parent key not foundSo you cannot enter new orphans, but the existing ones will be fine. You can even update them if neccessary:
    SQL> UPDATE t1 SET descr = 'Will Fail'
      2  where t1_id = 3;
    1 row updated.
    SQL> COMMIT;
    Commit complete.HTH
    John

  • Drvconfig not creating instances for my pseudo-driver

    Hi,
    I have written a pseudo driver which intercepts writes to the disk.
    My problem is - my driver should create new minor nodes for the new disks being added without bringing the the driver down and installing it again. Bringing the driver down and installing it works perfect, but i will be losing the data.
    Observation:-
    when i do drvconfig on solaris.....it is triggering SD(SCSI disk driver) to create device special files.
    if SD has already created device special files for disk1, then when i add another disk(daisy chain)....i did drvconfig....which again triggers SD to create device special files for this new disk. This is absolutely perfect.
    But drvconfig is not triggering my pseudo driver to create new instances for new disks.
    drvconfig is triggering my pseudo driver only if it is not added by add_drv i.e. pseudo driver is not installed. Once my driver is installed, then drvconfig is not at all triggering pseudo driver but triggers SD.
    I need to fix this customer requirement of adding new disks when pseudo driver is installed....my pseudo driver should see dynamically added new disks.
    One more question.....is there a way to trigger kernel to call pseudo drivers attach entry point? this will also help me to solve my problem.
    I tried to create minor nodes thru the ioctl entry point, but my driver is dumping.
    Please help me and let me know ASAP. This would be a great help to me.
    thanks
    regards
    kiran
    925-875-8157(w)

    thanks Jienhua...!!
    i tried it already 2days ago....but i am getting an error "missing parent or class"....
    When drvconfig is triggering SD, why not pseudo driver?
    Can you suggest any way to create minor nodes for the new disks? Is there a way to cause kernel to call attach routine ?
    Please take a look at this and let me know.
              instances_per_driver=256
              driver_count = 4
              driver_name1= �sd�
              driver_name2= �ssd�
              driver_name3=�dad�
              driver_name4=�rdriver�
              instance_bits4=10
              instance_shift4=4
              name=�wi� parent=�pseudo� instance=0;

Maybe you are looking for