Problem while updating the records. IN clause no. of items

We have an issue in updating a table when the inside IN more than 1000 numbers are passed ,
it throws error message - ORA-01795 : maximum nunbers of experssions in a list is 1000. Is there any workarround (wihtout using ARRAYs).
experssions list is passed from java.
update <table> c
set c.data='test'
where c.id in (123,345,.... 25,0000 records);We tried this way , it throws error.
DECLARE
txt  varchar2(32000):= <Text size 30000>
BEGIN
update <table> c
    set c.data='test'
  where c.id in (select To_number(REGEXP_SUBSTR (txt, '[^,]+', 1, level))  from dual
                     connect by level <= regexp_count(txt,',')+1
);thanks in advance..

Hi,
you can use WITH refactoring clause and UNION like shown below:
with gen1 as (select level x from dual connect by level <= 1000),
gen2 as (select level+1000 x from dual connect by level <= 1000),
gen3 as
(select * from gen1
  union
select * from gen2)
select * from dual where 1 not in (select x from gen3);Best regards,
Nikolay

Similar Messages

  • Problem while updating the Support Package 17 on my SAP WAS SP9

    Hi,
    I'm facing problem while updating the Support Package 17 on my SAP WAS SP9
    ERROR 2006-10-13 10:23:22
    FSL-06002  Error 2 (The system cannot find the file specified.
    ) in execution of a 'CreateProcess' function, line (284), with parameter (java.exe ...).
    Please help me in this regard.....
    Thanks in advance...
    Satya

    Hello gentlemen, I am also having problem with the following running on 64 bit Windows and SQL2005/64 bit. I am erroring in Step 8 'Updating JDBC' driver. I am attempting to update from SP9 to SP18. The WEBAS Jave installed went flawless but I seem to be stuck here. Any help is appreciated...
    ERROR 2006-11-22 10:13:57
    FSL-06002  Error 2 (The system cannot find the file specified.
    ) in execution of a 'CreateProcess' function, line (284), with parameter (java.exe ...).

  • Problem while creating the record in IT0080 from background

    Dear All,
    I have a requirement to Create the record for Maternity Leave in IT0080 from background, whenever applied from ESS.
    Once the leave gets aaproved, while posting the documents from tcode PTARQ ( Program - RPTARQPOST), in the BADI PT_ABS_REQ, in method IF_EX_PT_ABS_REQ~POST_VIA_BLOP for the implementation, I am trying to submit the program in which the actual record is created in IT0080.
    In this program through BDC i have created the BDC data and have used CALL transaction, as internally IT 2001 also needs to be updated, which gets calculated  indirectly...
    But when executed, it gives error of Employee cannot be locked... as the Document which is posted through PTARQ, have several locks... I tried to dequeue the same...
    but cannot resolve the problem...
    Secondly i tried to create the Job also... which would be executed after some time... but still its not getting updated...
    Any help... will be highly appreciated...
    Regards,
    Heena

    Hello s.s
    I'm not understand exacly what is your problem?
    Field can have both values at the same time(Time Stamp and User stamp)  only if that field calculated
    Maybe you told about two different fields?
    User stamp field return username only it's standart functionality
    Create stamp - return date/time combination
    Remote key is avialable when you repository configured to work with some remote systems
    All records from repository (LUT, taxonomy attributes ets.) you can map to corresponding Destination items
    Regards
    Kanstantsin

  • Error while updating the records through a DB link

    Hi ,
    I am getting the below error while updating around 15 thousands records, i suspect it to be timeout but not sure.Please can you let me know what solutions needs to be taken.
    Not Found
    The requested URL /pls/htmldb/wwv_flow.show was not found on this server.
    Not Found
    The requested URL /pls/htmldb/wwv_flow.show was not found on this server.
    Oracle-Application-Server-10g/10.1.2.0.0 Oracle-HTTP-Server Server at htmldb.oraclecorp.com Port 80
    Object Type TABLE Object GWB_GRN_GRP_COUNTRIES_LU
    Table Column Data Type Length Precision Scale Primary Key Nullable Default Comment
    GWB_GRN_GRP_COUNTRIES_LU NAME Varchar2 720 - - - - - -
    ALIAS Varchar2 720 - - - - - -
    ACTIVE Varchar2 3 - - - - - -
    REGION Varchar2 300 - - - - -
    1 - 4
    Thanks & Regards,
    Ramu

    Hi Sangu,
    See if the following notes help you:
    Error when calling API from SQL*Developer, eg. ORA-01403 in API OE_ORDER_PUB.PROCESS_ORDER (Doc ID 1054295.1)
    Cancellation Of Transfer Orders Is Not Possible - ORA-01403: no data found in Package OE_Order_PVT Procedure Process_Order (Doc ID 391307.1)
    Thanks &
    Best Regards,

  • Problem while updating the forecast value in m.master by direct input menth

    Hi All
      Good Day
      I am updating the forecast value in material master by direct input method.
    my program is working fine when I am running it online.
    but when i am runnig in back ground I am getting one error which is mentioned below
                                                                                    Job ZM_OPTIMIZA_UPLOAD: Data does not match the job definition; job terminated    BD    078     E    
    Please anyone can help ne in above case.
    Thanks in advance.
    Cheers
    Vallabhaneni

    Hi Hakim
    How are you
    Thanks for your valuable suggestion.
    I am executing my program in background with bmv0 transaction with variant, in development I can run this job in background with out any logical errors but in QA I am getting errors.
    Can you please help me in the above case.
    In Bmv0 transaction first I defined the job and in  program rmdatind (execute) screen first I mentioned the Max. no of logical errors as 500 and Transactions per commit unit as 500 and I run the program in background in bmv0 transaction and I am getting the message background job terminated immediately
    Because of this again I changed the Max. no of logical errors 500 to 99999 and transaction per commit unit 500 to 999999 and then i scheduled my program in background.
    Alomost it ran for 27 hours and then it has given the message background job terminated.
    Job log entries are as follows.
    22.12.2008  11:19:46  A system error has occurred while locking                                 
    22.12.2008  11:19:46  Transaction 0000040840; material number SUJ82J8400; error gravity E       
    22.12.2008  11:19:46  Transaction 0000040840: Taxes for sales org.  cannot be transferred       
    22.12.2008  11:19:46  A system error has occurred while locking                                 
    22.12.2008  11:19:46  Transaction 0000040841; material number SUJ84G3001; error gravity E       
    22.12.2008  11:19:46  Transaction 0000040841: Taxes for sales org.  cannot be transferred       
    22.12.2008  11:19:46  A system error has occurred while locking                                 
    22.12.2008  11:19:46  Transaction 0000040842; material number SUJ84G3002; error gravity E       
    22.12.2008  11:19:46  Transaction 0000040842: Taxes for sales org.  cannot be transferred       
    22.12.2008  11:19:46  A system error has occurred while locking                                 
    22.12.2008  11:19:46  Transaction 0000040843; material number SUJ86G0100; error gravity E       
    22.12.2008  11:19:46  Transaction 0000040843: Taxes for sales org.  cannot be transferred       
    22.12.2008  11:19:46  A system error has occurred while locking                                 
    22.12.2008  11:19:46  Transaction 0000040844; material number SUJ86G0300; error gravity E       
    22.12.2008  11:19:46  Transaction 0000040844: Taxes for sales org.  cannot be transferred       
    22.12.2008  11:19:46  A system error has occurred while locking                                 
    22.12.2008  11:19:46  Transaction 0000040845; material number SUJ86G0900; error gravity E       
    22.12.2008  11:19:46  Transaction 0000040845: Taxes for sales org.  cannot be transferred       
    22.12.2008  11:19:46  A system error has occurred while locking                                 
    22.12.2008  11:19:46  Transaction 0000040846; material number SUJ86G9600; error gravity E       
    22.12.2008  11:19:46  Transaction 0000040846: Taxes for sales org.  cannot be transferred       
    22.12.2008  11:19:46  A system error has occurred while locking                                 
    22.12.2008  11:19:46  Transaction 0000040847; material number SUJ86G9601; error gravity E       
    22.12.2008  11:19:46  Transaction 0000040847: Taxes for sales org.  cannot be transferred       
    22.12.2008  11:19:46  A system error has occurred while locking                                 
    22.12.2008  11:19:46  Transaction 0000040848; material number SUJ86J0000; error gravity E       
    22.12.2008  11:19:46  Transaction 0000040848: Taxes for sales org.  cannot be transferred       
    22.12.2008  11:19:46  A system error has occurred while locking                                 
    22.12.2008  11:20:54  Transaction 0000040848 completed Mat. no.  No. of log. errors 0000040848  
    22.12.2008  11:21:30  ABAP/4 processor: TSV_TNEW_PAGE_ALLOC_FAILED                              
    22.12.2008  11:21:30  Job cancelled      
    I know it has taken long time to process the job  because of I changed the transactions per commit unit (500 to 999999) it kills the system
    But I am supposed to provide some number < 999999 in transactions per commit unit
    actually I haven't tried like I said above < 999999 because i don't have any hopes.
    Please look at this problem and help me in this case.
    Thanks in advance.
    Vallabhaneni

  • Foreign Key updation in DB while updating the records in referenced table

    Hi
    I am having 2 DB Tables.
    1.Employees
    ID
    FirstName
    LastName
    AddressID
    2.Address
    ID
    City
    State
    Country
    The ID's are generated through Sequences and Triggers.
    I created a VO, and created a form in UI,
    the UI has following inputText
    FirstName
    LastName
    City
    State
    Country
    I entered the information and the data was saved sucessfully in Employees and Address Table.
    But the ForeignKey(AddressID) in Employees Tables which maps between Employees and Address is not set.
    Can anybody let me know how to achieve that?
    Do I need to use Triggers or is there any way to that ?
    If so, It will be more helpful If you can explain me or guide me.
    Thanks

    I have Associations and the viewlink specified.
    Its like the Referencial constraint..
    I am having a Employee and Location details in a VO
    I dragged it in my JSF as a form..
    Employee table has EmployeeID(PK) and AddressID(FK)
    Address table has AddressID(PK)
    now from UI, I can insert the Data like FirstName,LastName,City,State using my VO
    FirstName,LastName --- > Employee Table
    City,State --> Address Table
    For the EmployeeId(PK) and AddressId(PK) I am using Sequence.
    While inserting the data from the UI, through the inputText - FirstName,LastName,City,State-- a row is created in Employee Table and Address Table..
    but the AddressId(FK) in the Employee table is null, because I dint write anything there so as to update AddressID(FK) column in employee table,,, once I get a new row in AddressTable..
    how to acheive this ?
    please guide me..
    Thanks

  • Problem while updating the forecast value in m.master by direct input metho

    Hi Hakim
    Thanks for your prompt response.
    Yeah, I can see the same in St22 as you said, If I contaced the basis team for memory extension
    is my problem can get solved?
    and I will change the Transactions per commit unit to 100 again.
    Is there anything else is causing the background job termination
    really I couldn't find anything wrong in my program and it is running successfully in development client
    and it is giving the message completed and
    Job name Last update Current status
    ZM_OPTIMIZA_FORECAST 23.12.2008 09:18:47 C Completed: job executed w/o logical errors
    ZM_OPTIMIZA_FORECAST 19.12.2008 11:22:31 C Completed: job executed w/o logical errors
    ZM_OPTIMIZA_FORECAST 19.12.2008 11:21:20 C Completed: job executed w/o logical errors
    and the job log is as follows in development client.
    23.12.2008 09:18:47 The field MARA-FORMT is not ready for input and was therefore not initialized
    23.12.2008 09:18:47 The field MARA-KUNNR is not ready for input and was therefore not initialized
    23.12.2008 09:18:47 The field MARA-MEINS is not ready for input and was therefore not initialized
    23.12.2008 09:18:47 The field MARA-PRZUS is not ready for input and was therefore not initialized
    23.12.2008 09:18:47 No changes made
    23.12.2008 09:18:47 Transaction 0000000004; material number 2210017320; error gravity W
    23.12.2008 09:18:47 Transaction 0000000004: Taxes for sales org. cannot be transferred
    23.12.2008 09:18:47 Not possible to transfer tax data
    23.12.2008 09:18:47 The field MARA-BEGRU is not ready for input and was therefore not initialized
    23.12.2008 09:18:47 The field MARA-BMATN is not ready for input and was therefore not initialized
    23.12.2008 09:18:47 The field MARA-FERTH is not ready for input and was therefore not initialized
    23.12.2008 09:18:47 The field MARA-FORMT is not ready for input and was therefore not initialized
    23.12.2008 09:18:47 The field MARA-KUNNR is not ready for input and was therefore not initialized
    23.12.2008 09:18:47 The field MARA-MEINS is not ready for input and was therefore not initialized
    23.12.2008 09:18:47 The field MARA-PRZUS is not ready for input and was therefore not initialized
    23.12.2008 09:18:47 No changes made
    23.12.2008 09:18:47 Transaction 0000000005; material number 6777295J01; error gravity W
    23.12.2008 09:18:47 Transaction 0000000005: Taxes for sales org. cannot be transferred
    23.12.2008 09:18:47 Not possible to transfer tax data
    23.12.2008 09:18:47 The field MARA-BEGRU is not ready for input and was therefore not initialized
    23.12.2008 09:18:47 The field MARA-BMATN is not ready for input and was therefore not initialized
    23.12.2008 09:18:47 The field MARA-FERTH is not ready for input and was therefore not initialized
    23.12.2008 09:18:47 The field MARA-FORMT is not ready for input and was therefore not initialized
    23.12.2008 09:18:47 The field MARA-KUNNR is not ready for input and was therefore not initialized
    23.12.2008 09:18:47 The field MARA-MEINS is not ready for input and was therefore not initialized
    23.12.2008 09:18:47 The field MARA-PRZUS is not ready for input and was therefore not initialized
    23.12.2008 09:18:47 No changes made
    23.12.2008 09:18:47 Transaction 0000000005 completed Mat. no. T6777295J01 No. of log. errors 0000000000
    23.12.2008 09:18:47 Data transfer (job 00000007) completed
    23.12.2008 09:18:47 No logical (business) errors occurred
    23.12.2008 09:18:47 Job finished
    But in QA it is behaving totally different like i said in my earlier threat .
    Thanks
    Vallabhaneni

    Hi Nani,
    Dont open multiple threads for the same question. Im requesting you to close your threads similar to this thread.Keep only one thread open for the same issue.
    Please read the Rules of Engagement in SCN.
    Regards,
    Hakim

  • Problem while updating the domain data of CMS

    Hi
    I am trying configuring the Chage Management Service. When i am clicking on the <b>"update CMS"</b> button which is under CMS > Landscape Configuratore > Domain Data i am getting the following error...
    <b>"Unexpected error; inform your system administrator: No object found exception"</b>
    How to resolve this problem?
    Best Regards
    Ravi Shankar

    HI
    Following are main error i found in log file
    <b>Exception in method updateCMSServer
    No object found
    Could not find clientID</b>
    Thanks & Regards
    Ravi Shankar B

  • Problem while updating multiple records through standard RFC

    HI all,
    I am doing multiple  object updation using a standard RFC(BAPI_PROJECT_MAINTAIN). The RFC i am calling from Enterprise portal. I am sending data to RFC one by one. But the error i am getting is object is locked by user so data can't be save.
    Though i am using Lock and unlock method before and after calling RFC the project lock error comes up.
    What might be the reason
    regards
    sandeep

    use saveandwait instead save in bapi

  • & problem while updating the table

    SQL> update users set coname='Falcon Minerals & Metals' where co_id=1020;
    update users_loc set country='Finland' where co_id=1020;Enter value for metals: old   1: update users set coname='Falcon Minerals & Metals' where co_id=1020
    new   1: update users set coname='Falcon Minerals ' where co_id=1020
    1 row updated. thanks and best regards

    SQL> SET DEFINE OFF

  • Problem While updaing the around 25 lacs record

    Hi,
    we have the more the 25 lacs in DB table we introduced the new Column in that table so that column contain the null values for that
    25 lacs record now we need to update the all record with particular value based on the primary key of that table
    so we wirte the cursor to findout the all record and then update the all record with particular value based on the promary key
    But it take lot of time to execute .
    is there any way that we can excute this query fater means we can update the record in faster way.
    Waiting for any positive response.
    Thanks,
    ahsish

    Hi,
    We use cursor because we need to update the all null
    records with the ids based on the some condition from
    some other tables.
    thanks,
    AsUpdating null columns has the little problem that an index on such a column is usually not used. One workaround would to create a multi column index first.
    For example on the NULL column and on the ID column. Then do a single update like this.
    UPDATE yourTable t
    SET t.col1 = (conditional select from some other tables WHERE t.id = otherTable_fkid)
    WHERE t.col1 is null;

  • Updating the  records  problem urgent

    Hi All,
    i have developed search page by using the query region. in that i have created update image icon to navigate update page to update the records. i have 4 search records, when i click the go button 4 records are come to the advance table. i will select any one of the row and select update icon to update the records by using the apply button in update page.when i click the apply button its navigate to the search page and showing only updated records row only. i did not get all 4 rows in advancetable.I re-query on the page, but I can’t get the other 3 rows back unless I close the page and come back in.
    here i am not facing any error, after update the records and come back to the main page i am not getting all records only updated row records Only 1 of the four rows only appear.
    can any one help me its urgent
    Thanks in advance.

    Hi Avajain, thanks for your reply.
    i have used below code for apply button.
    if (pageContext.getParameter("Apply") != null)
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    am.invokeMethod("apply");
    OAException message = new OAException("POS","MODPOS_PROGRAM_UPDATED_CONF",
    null,OAException.CONFIRMATION,null);
    pageContext.putDialogMessage(message);
    pageContext.forwardImmediately("OA.jsp?page=/xxaam/oracle/apps/pos/program/webui/SupProgramPG",
    null,
    OAWebBeanConstants.KEEP_MENU_CONTEXT,
    null,
    null,
    true, // retain AM
    OAWebBeanConstants.ADD_BREAD_CRUMB_NO);
    AMCODE
    public void apply()
    getTransaction().commit();
    Thanks

  • Trigger is not working while updating the values of UDF

    Dear Freind,
    I have created one Trigger for ORDR for Sales order. It is working fine. For that i have created two UDF to Title level. When i fill all fields it shows the correct result in DocTotal. But problem is that, while updateing specific record it also update but only refresh the DocTotal.
    Means suppose i change the value of UDF fields that time it is not working it gives following error.
    "There is difference between the document total and component total"
    ALTER TRIGGER AmountForPC1
    ON dbo.ORDR
    AFTER INSERT,
    UPDATE
    AS
    SET NOCOUNT ON
    UPDATE x
    SET x.DocTotal = COALESCE(i.DocTotalSy, 0) + COALESCE(i.U_Ref, 0) + COALESCE(i.U_Sub, 0)
    FROM dbo.ORDR AS x
    INNER JOIN inserted AS i ON i.DocEntry = x.DocEntry
    Thanks
    Swapnil

    Hi Swapnil,
    Are you aware that you might run into trouble, at least when it comes to a support case, because you have created triggers?
    Accordingly to note [896891|https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMSZ3PTU4ODAwMDAr)/bc/bsp/spn/smb_searchnotes/display.htm?note_langu=E&note_numm=896891] triggers are not supported.
    Regards
    Mario

  • Problem while executing the transaction code FMBV (Reconstruct)

    We are facing a problem while executing the transaction code FMBV
    (Reconstruct Availability Control in Funds Management) in it when we
    execute this transaction system only updates the expenditure which is
    made before technical upgrade from 4.6c to ECC6 EHP6, against the
    Assigned Budget (KBFC budget type) in the Annual Budget Table (BPJA)
    and
    the expenditure which we made after the upgrade, the program just
    ignore
    it. We can also see the expenditure in the standard FBL3N report.
    Please guide us.
    Thanks and Best Regards,

    Dear Abrar
    In your description, you refer to missing update after an upgrade. First of all, see if table FMIT is consistent, as it is the basis for calculating the assigned values during AVC reconstruction.
    Refer to this note:
    977016 FMIT: Missing totals records in Funds Management  And perform following steps:
    1.- Run program RGZZGLUX
    2.- Run program RFFMRC04 to match totals table with line items. A test run after a successful effective run should not find inconsistencies.
    3.- If RFFMRC04 does not show more inconsistencies, run FMBV as final step.
    Note that this reconstruction must be done without any other budgeting/posting activities at the same time, otherwise you may cause  other inconsistencies.
    Please let me know the results.
    Best regards,
    977016 - FMIT: Missing totals records in Funds Management
    Symptom
    After the upgrade to ERP 2004 or higher you realize that the FMIT totals table is no longer updated in Funds Management. You start the RFFMRC04 report to reconstruct the totals, but the report still displays the missing totals after an update run.
    Other Terms
    FMIT, EA-PS, ECC 5.00, ECC 6.00, ECC 7.00
    Reason and Prerequisites
    This problem occurs due to a generation error.
    Solution
    Start the RGZZGLUX report to generate missing source code in FI-SL. Then start the RFFMRC04 report to reconstruct the totals, now another run of the report should no longer display any errors.

  • Windows Server 2008: Sysprep Error: Error [0x0f0073] SYSPRP RunExternalDlls:Not running DLLs; either the machine is in an invalid state or we couldn't update the recorded state, dwRet = 32[gle=0x00000020]

    I have a base template (which has never been sysprep'd) from which I create linked clones.  After the linked clone comes up, I run the following command:
    c:\windows\system32\sysprep\sysprep.exe /generalize /oobe /reboot /unattend:c:\windows\panther\unattend.xml
    This works fine for the first few linked clones, but after about 3-4 linked clones are running, I start to hit "A fatal error occurred while trying to sysprep the machine."
    ****c:\windows\panther\setuperr.log****
    2013-03-29 16:40:07, Error      [0x0f0073] SYSPRP RunExternalDlls:Not running DLLs; either the machine is in an invalid state or we couldn't update the recorded state, dwRet = 32[gle=0x00000020]
    2013-03-29 16:40:07, Error      [0x0f00a8] SYSPRP WinMain:Hit failure while processing sysprep cleanup providers; hr = 0x80070020[gle=0x00000020]
    ****c:\windows\panther\unattend.xml****
    <?xml version='1.0' encoding='utf-8'?>
    <unattend xmlns="urn:schemas-microsoft-com:unattend">
        <settings pass="oobeSystem">
            <component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                <InputLocale>en-US</InputLocale>
                <SystemLocale>en-US</SystemLocale>
                <UILanguage>en-US</UILanguage>
                <UILanguageFallback>en-US</UILanguageFallback>
                <UserLocale>en-US</UserLocale>
            </component>
            <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                <AutoLogon>
                    <Enabled>true</Enabled>
                    <Username>Administrator</Username>
                    <Password>
                        <Value>ca$hc0w</Value>
                        <PlainText>true</PlainText>
                    </Password>
                </AutoLogon>
                <OOBE>
                    <HideEULAPage>true</HideEULAPage>
                    <NetworkLocation>Work</NetworkLocation>
                    <ProtectYourPC>3</ProtectYourPC>
                </OOBE>
                <UserAccounts>
                    <AdministratorPassword>
                        <Value>ca$hc0w</Value>
                        <PlainText>true</PlainText>
                    </AdministratorPassword>
                </UserAccounts>
                <TimeZone>Pacific Standard Time</TimeZone>
            </component>
        </settings>
        <settings pass="specialize">
            <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                <ProductKey>7M67G-PC374-GR742-YH8V4-TCBY3</ProductKey>
                <ComputerName>*</ComputerName>
            </component>
        </settings>
    </unattend>
    ****c:\windows\panther\setupact.log****
    2013-03-29 16:40:07, Info       [0x0f004d] SYSPRP The time is now 2013-03-29 16:40:07
    2013-03-29 16:40:07, Info       [0x0f004e] SYSPRP Initialized SysPrep log at c:\windows\system32\sysprep\Panther
    2013-03-29 16:40:07, Info       [0x0f0054] SYSPRP ValidateUser:User has required privileges to sysprep machine
    2013-03-29 16:40:07, Info       [0x0f0056] SYSPRP ValidateVersion:OS version is okay
    2013-03-29 16:40:07, Info       [0x0f005e] SYSPRP ScreenSaver:Screen saver was already disabled, no need to disable it for sysprep
    2013-03-29 16:40:07, Info       [0x0f007e] SYSPRP FCreateTagFile:Tag file c:\windows\system32\sysprep\Sysprep_succeeded.tag does not already exist, no need to delete anything
    2013-03-29 16:40:07, Info       [0x0f005f] SYSPRP ParseCommands:Found supported command line option 'GENERALIZE'
    2013-03-29 16:40:07, Info       [0x0f005f] SYSPRP ParseCommands:Found supported command line option 'OOBE'
    2013-03-29 16:40:07, Info       [0x0f005f] SYSPRP ParseCommands:Found supported command line option 'REBOOT'
    2013-03-29 16:40:07, Info       [0x0f005f] SYSPRP ParseCommands:Found supported command line option 'UNATTEND'
    2013-03-29 16:40:07, Info       [0x0f004a] SYSPRP WaitThread:Entering spawned waiting thread
    2013-03-29 16:40:07, Info                         [sysprep.exe] UnattendFindAnswerFile: Looking at explicitly provided unattend file [c:\windows\panther\unattend.xml]...
    2013-03-29 16:40:07, Info                         [sysprep.exe] UnattendFindAnswerFile: [c:\windows\panther\unattend.xml] meets criteria
    for an explicitly provided unattend file.
    2013-03-29 16:40:07, Info                  SYSPRP SysprepSearchForUnattend: Using unattend file at [c:\windows\panther\unattend.xml].
    2013-03-29 16:40:07, Info                  SYSPRP SysprepSearchForUnattend: [generalize] pass in unattend file [c:\windows\panther\unattend.xml] either doesn't exist or passed
    validation
    2013-03-29 16:40:07, Info                  SYSPRP WinMain:Found unattend file at [c:\windows\panther\unattend.xml]; caching...
    2013-03-29 16:40:07, Info                  SYSPRP WinMain:Processing unattend file's 'generalize' pass...
    2013-03-29 16:40:07, Info                  SYSPRP Sysprep is running a generalize pass with the following unattend file: [%windir%\panther\unattend.xml]
    2013-03-29 16:40:07, Info                  SYSPRP RunUnattendGeneralizePass: Sysprep unattend generalize pass exits; hr = 0x0, hrResult = 0x0, bRebootRequired = 0x0
    2013-03-29 16:40:07, Info       [0x0f003f] SYSPRP WinMain:Processing 'cleanup' request.
    2013-03-29 16:40:07, Error      [0x0f0073] SYSPRP RunExternalDlls:Not running DLLs; either the machine is in an invalid state or we couldn't update the recorded state, dwRet = 32[gle=0x00000020]
    2013-03-29 16:40:07, Error      [0x0f00a8] SYSPRP WinMain:Hit failure while processing sysprep cleanup providers; hr = 0x80070020[gle=0x00000020]
    2013-03-29 16:48:52, Info       [0x0f004c] SYSPRP WaitThread:Exiting spawned waiting thread
    2013-03-29 16:48:52, Info       [0x0f0059] SYSPRP ScreenSaver:Screen saver was originally disabled, leaving it disabled
    2013-03-29 16:48:52, Info       [0x0f0052] SYSPRP Shutting down SysPrep log
    2013-03-29 16:48:52, Info       [0x0f004d] SYSPRP The time is now 2013-03-29 16:48:52

    Hi,
    This is typical of an OEM license issue.
    To avoid this in the future you should look at site/volume licensing.
    Anyway.
    so, first check if you can re-arm by runing the
    slmgr.vbs /dlv and check the re-arm counter, if it set to zero.. you need to do the following :
    http://support.microsoft.com/kb/929828 (set the <SkipRearm>1</SkipRearm> like in the example, note: this option will make the product key window to appear in the setup process).
    you can also try running : slmgr.vbs -rearm, to rearm Windows.
    after that, let's come back to the sysprep process.. for syspreping already syspreped machine we have to change few keys in the registry :
    HKEY_LOCAL_MACHINE\SYSTEM\Setup\Status\SysprepStatus\GeneralizationState\
    CleanupState:2
    HKEY_LOCAL_MACHINE\SYSTEM\Setup\Status\SysprepStatus\GeneralizationState\
    GeneralizationState:7
    After done with the registry, do the following :
    Start -> Run : msdtc -uninstall (wait few seconds)
    Start -> Run : msdtc -install (wait few seconds)
    Restart the machine
    Check the registry for the right registry keys values
    sysprep with the new XML answerfile.
    Source: Olegm
    If you find my information useful, please rate it. :-)

Maybe you are looking for

  • Built-in PDF not working on Mac.

    Hi there, I can not create PDF's on my Mac at the moment. When I do all I get are parts of the file in a PDF, not a complete file e.g. images and text missing. Also when i receive PDF's via email, I can view them partially, but again text and images

  • Does Portg R700-17W lsupport extended desktop across 3 screens?

    Hi, I've a Portg R700-17W laptop with a replicator port. I'd like to have an extended desktop in Windows 7, with one external monitor on the VGA port, one on the HDMI, and the laptop screen. Is this possible? If so, what resolutions can it support? M

  • Lightroom 2.1 History Bug with Edited File

    I downloaded Lightroom 2.1 and now when I edit a file in Photoshop and then it comes back into Lightroom, if I click on one of the Presets, such as a B&W preset, then there is no way to get back to the edited file in color. The first entry in the His

  • File transfer programs and third party software to new i-mac

    Hi I own a I-mac 2.93ghz 24'inch 4gb and have just upgraded to a I-mac 3.9ghz 27inch I-mac 4gb, i run logic pro 9 and reason as well as a load of third party soft synths and plugins how can i transfer them over from my old I-mac to my new model witho

  • Business Unit Analyst create planning round problem

    In the Business Unit Analyst 2.0 (mySAP ERP 2005) portal business package when creating a planning round I can go through to the 3rd screen "Review and Save", but when I hit save the following error appears on the screen and it does not save the plan