Fresh fired for FORALL does not not enough values error

Hello

I am trying to copy data from one table to the other which have a different number of columns. I do the following. But he threw not enough values error.

Table A has more than 10 million records. So I use bulk collect instead of using insert into select from.

TABLE A (has the more columns - 25)
Number of C1
number of C2
VARCHAR2 C3
C4 varchar2
...
...
...
C25 varchar2

TABLE B (less than columns - like 7)
Number of C1
number of C2
VARCHAR2 C3
C4 varchar2
number of C5
date of C7
C10 varchar2

declare

TYPE c IS REF CURSOR;

c V_c;

v_Sql VARCHAR2 (2000);
Table TYPE is table B % ROWTYPE;
L_data table;


Start

v_Sql: = 'SELECT c1, c2, c3, c4, c5, c7, c10 OF A ORDER BY c1;

V_c OPEN FOR v_Sql;

LOOP
Fetch the v_c COLLECT LOOSE ldata LIMIT 100000;

FORALL i in 1... lData. Count
INSERT
B
VALUES ldata (i);

END LOOP;
COMMIT;

exception
WHILE OTHERS THEN
ROLLBACK;
dbms_output.put_line ('Exception occurred' |) SQLERRM);
END;


When I run this, I get
PL/SQL: ORA-00947: not enough values

Any suggestions please. Thanks in advance.

Table A has more than 10 million records. So I use bulk collect instead of using insert into select from.

That makes sense to me. An INSERT... SELECT will be more effective, easier to manage, easier to write and easier to understand.

INSERT INTO b( c1, c2, c3, c4, c5, c7, c10 )
  SELECT c1, c2, c3, c4, c5, c7, c10
    FROM a;

will be faster, use fewer resources, much less error-prone and have a more obvious use when a maintenance programmer coming that any PL/SQL block that does the same thing.

If you insist on the use of PL/SQL, what version of Oracle are you using? You should be able to do something like

DECLARE
  TYPE b_tbl IS TABLE OF b%rowtype;
  l_array b_tbl;

  CURSOR a_cursor
      IS SELECT c1, c2, c3, c4, c5, c7, c10 FROM A;
BEGIN
  OPEN a_cursor;
  LOOP
    FETCH a_cursor
     BULK COLLECT INTO l_array
    LIMIT 10000;

    EXIT WHEN l_array.COUNT = 0;

    FORALL i IN l_array.FIRST .. l_array.LAST
      INSERT INTO b
        VALUES l_array(i);
  END LOOP;
  COMMIT;
END;

At least, that eliminates the infinite loop and the unnecessary dynamic SQL. If you are using older versions of Oracle (it is always useful to display this information at the front), the code may need to be a little more complex.

Justin

Published by: Justin cave on January 19, 2011 17:46

Tags: Database

Similar Questions

  • ORA-00947: not enough values error collect in bulk

    Hi guys,.

    I'm trying to COLLECT in a PL/SQL table, but I get ORA-00947: not enough values error message, even if the table has 4 values and select 4 values. Am I missing something?

    I have to add something to this?

    I've included the types of database objects that I created on the database.

    I have commented on the Original code and used the table DOUBLE just to make simple workout.

    /*

    CREATE or REPLACE TYPE Usage_Groups_for_coda_rec as

    object

    (Usage_Group_ID NUMBER (10),)

    Coda_comment VARCHAR2 (45).

    Amount NUMBER,

    Deduction_amount NUMBER);

    CREATE OR REPLACE

    TYPE USAGE_GROUPS_FOR_CODA_TAB AS

    TABLE OF Usage_Groups_for_coda_rec;

    */

    declare

    -CURSOR c_adj_roy_trans

    -EAST

    -SELECT DISTINCT rotr.on_behalf_of_soc_nbr, rotr.right_type

    -OF royalty_transaction rumble

    -WHERE rotr.ps_adjust_royalty_flg = cm_default.get_yes;

    CURSOR c_adj_roy_trans

    IS

    SELECT '052', 'P '.

    DOUBLE;

    t_uge_Grp_for_coda_tab USAGE_GROUPS_FOR_CODA_TAB; -the type of table was created on the database

    Start

    FOR r_adj_roy_trans IN c_adj_roy_trans LOOP

    -SELECT rotr.usage_group_id as Usage_Group_ID,

    -cm_coda_account_default.get_canc_adj_coda_comment | '- CAE' as Coda_comment,

    -SUM (NVL (rotr.gross_amt, 0) + NVL (rotr.reciprocal_deduction_amt, 0)) as an amount

    -SUM (rotr.reciprocal_deduction_amt) as Deduction_amount

    -COLLECT LOOSE t_uge_Grp_for_coda_tab

    -OF royalty_transaction rumble

    -WHERE rotr.ps_adjust_royalty_flg = cm_default.get_yes

    - AND rotr.on_behalf_of_soc_nbr = r_adj_roy_trans.on_behalf_of_soc_nbr

    - AND rotr.right_type = r_adj_roy_trans.right_type

    -Rotr.usage_group_id group;

    SELECT 6874534 as Usage_Group_ID,

    "This is a test - CAE" as Coda_comment.

    100 as an amount

    50 as Deduction_amount

    LOOSE COLLECTION t_uge_Grp_for_coda_tab

    DOUBLE;

    /*

    IF l_uge_Grp_for_coda_tab. COUNT > 0 THEN

    cm002p.std_coda_post_cashing_out_bulk (p_on_behalf_of_society_number = > r_adj_roy_trans.on_behalf_of_soc_nbr,)

    p_right_type = > r_adj_roy_trans.right_type,

    p_Usage_Groups_for_coda_tab = > t_uge_Grp_for_coda_tab,

    p_reverse_posting_direction = > FALSE,

    p_posting_override_direction = > NULL,

    p_cohi_id = > NULL

    );

    END IF;

    */

    END LOOP;

    end;



    Here's what you need to do:


    SELECT Usage_Groups_for_coda_rec(6874534, "It is a test - CAE", 100, 50)

    LOOSE COLLECTION t_uge_Grp_for_coda_tab

    DOUBLE;

    You try bulk collect into a collection of Usage_Groups_for_coda_recs, then you will need to make type compatible using the implicit of the type constructor.

  • Get 'not enough values error' in bulk collect

    I want to insert all the rows in the employees table in the tmp table which has the structure.

    Purpose: Try just feature fired block to create a return to the top of a table.

    Problem: My code is to not "enough of values" error please report if mistaken.

    structure of the employees table:

    SQL > desc employee;

    Name                                      Null?    Type

    ----------------------------------------- -------- ----------------------------

    EMPLOYEE_ID NOT NULL NUMBER (6)

    FIRST NAME VARCHAR2 (20)

    LAST_NAME NOT NULL VARCHAR2 (25)

    EMAIL NOT NULL VARCHAR2 (25)

    PHONE_NUMBER VARCHAR2 (20)

    HIRE_DATE NOT NULL DATE

    JOB_ID NOT NULL VARCHAR2 (10)

    SALARY NUMBER (8.2)

    COMMISSION_PCT NUMBER (2.2)

    MANAGER_ID NUMBER (6)

    DEPARTMENT_ID NUMBER 4

    tmp table structure:

    SQL > tmp desc;

    Name                                      Null?    Type

    ----------------------------------------- -------- ----------------------------

    EMPLOYE_ID NUMBER (6)

    FIRST NAME VARCHAR2 (20)

    LAST_NAME NOT NULL VARCHAR2 (25)

    EMAIL NOT NULL VARCHAR2 (25)

    PHONE_NUMBER VARCHAR2 (20)

    HIRE_DATE NOT NULL DATE

    JOB_ID NOT NULL VARCHAR2 (10)

    SALARY NUMBER (8.2)

    COMMISSION_PCT NUMBER (2.2)

    MANAGER_ID NUMBER (6)

    DEPARTMENT_ID NUMBER 4

    SQL > select * from tmp;

    no selected line

    Code:

    declare

    type rec is the employee table % rowtype

    index by pls_integer;

    a rec;

    Start

    Select * bulk collect in a

    employees;

    ForAll i in a.first... a.Last

    Insert into tmp values (a (i));

    end;

    /

    Result:

    SQL > declare

    2

    3 type rec is the employee table % rowtype

    4 index of pls_integer;

    5 a rec;

    6

    7. start

    8 remove tmp;

    9 select * bulk collect in a

    10 employees;

    11 ForAll i in a.first... a.Last

    12 insert into tmp values (a (i));

    13 end;

    14.

    Insert into tmp values (a (i));

    *

    ERROR on line 12:

    ORA-06550: line 12, column 13:

    PL/SQL: ORA-00947: not enough values

    ORA-06550: line 12, column 1:

    PL/SQL: SQL statement ignored

    Remove parentheses

    insert into tmp values a(i);
    

    or call the individual columns

    insert into tmp( employee_id, first_name, ... )
     values( a(i).employee_id, a(i).first_name, ... );
    

    Justin

  • Not enough values error

    I get this error in the following query. What could be the problem?

    Insert into Identification@Indus_Link
    (Vno,
    Employeecode,
    Employeeno, Employeename, Fathername, Nicno, Fathernicno, Dob, city, District, address, telephone, Mobile, Entrydate, Jobtitle, Jobnature, Joiningdate, Confirmationdate, rest, Issuspended, Eobino, Ssno, Shiftcode, Jobtype, Accountno, Departmentid, Educationcode, experience, Eobi, Ntn, Identification_Mark, sex, Fromdate, so far
    )
    Values (IDSEQ, EMPCODE, EMPNO,
    (Select Employeename, Fathername, Nicno, Fathernicno, date of birth, city,
    Neighborhood, address, telephone, Mobile, Entrydate,
    Current_Designation (Employeecode),
    Current_Jobnature (Employeecode), Joiningdate,
    Still, Issuspended, Eobino, Confirmationdate, Ssno,
    Current_Shift (Employeecode),
    Current_Jobtype (Employeecode), Peru,
    Current_Department (Employeecode), Educationcode,
    Eobi, Ntn, Identification_Mark, sex, experience
    FromDate, so far
    Identification
    Where Employeecode = '911145')
    )

    The values are enough.

    No, they are not... that's what means the error message...

    Willy says:
    IDSEQ,
    EMPCODE,
    EMPNO,

    are variables.

    Yes I know.. I was referring to the SELECT... This should be a scalar subquery

    SQL> create table test
      2  (id number
      3  ,name varchar2(50)
      4  ,lastname varchar2(50)
      5  )
      6  /
    
    Table created.
    
    SQL>
    SQL> insert into test
      2  values (1, (select 'something', 'other' from dual))
      3  /
    insert into test
                *
    ERROR at line 1:
    ORA-00947: not enough values
    
    SQL>
    SQL>
    SQL> insert into test
      2  values (1, 'something', 'other')
      3  /
    
    1 row created.
    
    SQL> 
    

    do this instead:

    insert ...
    Select IDSEQ, EMPCODE, EMPNO,Employeename, Fathername, Nicno, Fathernicno, Dob, City,
    District, Address, Phone, Mobile, Entrydate,
    Current_Designation (Employeecode),
    Current_Jobnature (Employeecode), Joiningdate,
    Confirmationdate, Rest, Issuspended, Eobino, Ssno,
    Current_Shift (Employeecode),
    Current_Jobtype (Employeecode), Accountno,
    Current_Department (Employeecode), Educationcode,
    Experience, Eobi, Ntn, Identification_Mark, Gender,
    Fromdate, Todate
    From Identification
    Where Employeecode = '911145'
    )
    
  • PL/SQL: ORA-00947: not enough values error message

    Hi all I get Error (25.63): PL/SQL: ORA-00947: not enough error message values when executing after the insert statement. I am new to Oracle SPs, if someone could help me solve the problem.

    Insert in estimate (ID, mValue) values ('select (where pm.ID is null then 10))
    of other pm.ID
    End ID), m1.mID, (case when mValue < 1 and m1.mID in (1.7))
    then mValue * 100
    of another mValue
    mValue end) of
    Scott. Left outer join METRICS m1
    Scott. (PROJECTMETRIC h m1.mID = pm.ID and pm.ID = 10)');

    The syntax to insert rows into a table of a subquery is as follows:

    insert into table (col1, col2, ...)
    select ... , ..., ....
    from ..., ....
    where ....
    /
    
  • Firefox for Mac does not recognize a valid SSL certificate

    Firefox for Mac does not recognize the SSL certificate that is valid for this site, I got: https://www.georgeglazer.com. It gives a warning "not reliable." However, the Firefox for Windows does not give a warning. This happens even if I clear the cache and it happens in the Mavericks and OS of Yosemite. The certificate is up-to-date and with Comodo. Firefox for Mac is now the only browser producing these errors (v. 39, put updated) - Internet Explorer, Safari and Chrome are not. Our hosting provider has said it's probably a browser issue, perhaps having to do with intermediate certificates in Firefox being obsolete. I really hope you'll solve the problem, as it's annoying for us when we're going to do right by our customers and pay for the SSL certificate. I have attached a picture of the warning and the other from what you see on a PC: a pop-up that says it is a verified SSL certificate and gives details about the issuer, the period of validity, etc.

    COMODO should you sent a link to download the file 'bundle' containing the intermediate certificates. Who needs to go in the same directory as the certificate of your site. If you are using a control panel, your host can probably help with this process. And if you bought through them, shame on them for not taking care of this for you already!

  • the update of firefox 28 for mac does not, the bar just rotates, I can't get the update

    the update of firefox 28 for mac does not, the bar just rotates, I can't get the update. Thank you

    Hello

    Try to get the full version here:

    Then just install it.

  • I'm having a problem where Firefox keeps asking for my password to Amazon, even if I tell Firefox NOT to remember this password. In Firefox options, Amazon is clearly recognized as a site for which does not save passwords.

    I'm having a problem where Firefox keeps asking for my password to Amazon, even if I tell Firefox NOT to remember this password. In Firefox options, Amazon is clearly recognized as a site for which does not save passwords.

    Do not remove the navigation, search and download history on Firefox to clear the "Site preferences".

    Compensation of the "Site Preferences" clears all exceptions for cookies, images, windows pop up, installation of software and passwords.

  • Serial number for lightroom does not work

    my serial number for lightroom does not work

    Maritah has made education institution give you an indication of the place where you need to download the installation files from?

    You can download Lightroom 5.6 from the following locations:

    The updates contain the complete installation files and should accept your serial number.

  • Adobe Photoshop Elements 12 for Mac does not in Applications. Tutorial for editing in iPhoto shows by selecting the Adobe software in Applications. Am I missing a step in product registration?

    Adobe Photoshop Elements 12 for Mac does not in Applications. Tutorial for editing in iPhoto shows by selecting the Adobe software in Applications. Am I missing a step in product registration?

    I answered my own question: there is a difference between "Download"and 'install'." Hunting the 'install' (1.5 hrs in my case) and align your passwords, Adobe ID, etc., then install. 15 min. The right choice appears in the Applications. However it is to understand why photo selected for editing in iPhoto does not display in the elements.

  • For each does not properly in the XSLT file to two loops on a single node

    Hi all

    I'm transforming 2 inputs to a single target using XSLT. Both of the target entry of the same pattern and have the child element.
    In the XSLT, I gave this condition.
    "< xsl: for each select="$Variable1.payload/ns1:BookStore/ns1:Books ">
    < xsl: for-each select = "/ ns1:BookStore / ns1:Books" >
    "< xsl: if test="$Variable1.payload/ns1:BookStore/ns1:Books/ns3:BookId = ns3:Books / ns3:BookId ">

    My second for each does not work and in the target, I'm getting double elements. Help, please. Here are two xml source and xml desired target.
    1 XML source:

    < bookStore >
    < book >
    Name1 < name > < / name >
    author1 < author > < / author >
    < ID > 1 < / BookId >
    < quantity > 2 < / quantity >
    < price > < price / >
    < status > < / status >
    < book >
    < book >
    name2 < name > < / name >
    Author2 < author > < / author >
    < ID > 2 < / BookId >
    < quantity > 2 < / quantity >
    < price > < price / >
    < status > < / status >
    < book >
    < book >
    < name > NAME3 < / name >
    author of 3 < author > < / author >
    < ID > 3 < / BookId >
    < quantity > 2 < / quantity >
    < price > < price / >
    < status > < / status >
    < book >
    < / book >

    XML source 2:

    < bookStore >
    < book >
    < name > < / name >
    < author > < / author >
    < quantity > < / quantity >
    < ID > 1 < / BookId >
    < price > 100 < / price >
    < status > < / status >
    < book >
    < book >
    < name > < / name >
    < author > < / author >
    < quantity > < / quantity >
    < ID > 2 < / BookId >
    < price > 200 < / price >
    < status > NA < / status >
    < book >
    < book >
    < name > < / name >
    < author > < / author >
    < quantity > < / quantity >
    < ID > 3 < / BookId >
    < price > 300 < / price >
    < status > < / status >
    < book >
    < / book >

    Desired target XML:

    < bookStore >
    < book >
    Name1 < name > < / name >
    author1 < author > < / author >
    < ID > 1 < / BookId >
    < quantity > 2 < / quantity >
    < price > 100 < / price >
    < status > < / status >
    < book >
    < book >
    name2 < name > < / name >
    Author2 < author > < / author >
    < ID > 2 < / BookId >
    < quantity > 2 < / quantity >
    < price > 200 < / price >
    < status > NA < / status >
    < book >
    < book >
    < name > NAME3 < / name >
    author of 3 < author > < / author >
    < ID > 3 < / BookId >
    < quantity > 2 < / quantity >
    < price > 300 < / price >
    < status > < / status >
    < book >
    < / book >

    Thank you

    Hello

    It will not work like that... To do something like the following... Only one for each...

    
      
      
        ns1:Name
        ns1:Author
        ns1:BookId
        $Variable1.payload/ns1:BookStore/ns1:Books[ns1:BookId = $bookId]/Quantity
        $Variable1.payload/ns1:BookStore/ns1:Books[ns1:BookId = $bookId]/Price
        $Variable1.payload/ns1:BookStore/ns1:Books[ns1:BookId = $bookId]/Status
      
    
    

    I don't have to check the syntax, but you get the idea...

    I hope this helps...

    See you soon,.
    Vlad

  • Firefox does not start, no error message, only works in the background

    I click on Firefox it does not start
    no error message it does not start
    It works in the background in 32-bit
    I have re installed it but nothing changes

    It is possible that your security (firewall, antivirus) software blocks or limit Firefox or the process of plugin-container without you inform, possibly after the detection of changes (update) for the Firefox program.

    Delete all rules for Firefox and the plugin-container in the permissions list in the firewall and leave your firewall again ask permission to get full unlimited access to the internet for Firefox and the plugin-container and the update process.

    See:

  • Windows does not update with error code 8024402C

    Windows does not update with error code 8024402C

    Quote your full version of Windows (for example, WinXP SP3;) Windows XP 64 - bit SP2; Vista SP1; Vista 64 - bit SP2; Win7; Win7 64 bit) when you post in a forum or a newsgroup. Please do it in your next reply.

    What application or antivirus security suite is installed and your current subscription?  What anti-spyware (other than Defender) applications?  What third-party firewall (if applicable)?

    A (another) Norton or McAfee application has already been installed on the computer (for example, a free trial version which is preinstalled when you bought it)?

    0x8024402C error code when you try to install updates on Web Windows Update or Microsoft Update sites:
    http://support.Microsoft.com/kb/900936

    ~ Robear Dyer (PA Bear) ~ MS MVP (that is to say, mail, security, Windows & Update Services) since 2002 ~ WARNING: MS MVPs represent or work for Microsoft

  • Windows Defender does not work: encounteredan error: 0x800705b4

    I can't activated the windows Defender. I get this message:

    Windows Defender does not work: encounteredan error: 0x800705b4. This operation returned because the time limit has expired.

    What do you use for your antivirus protection? Windows Defender is not necessary if you use AVG, Microsoft Security Essentials, Norton or McAfee. These AV programs have their own antispyware component builtin and allows you to disable Windows Defender by design.

  • Windows 7 print spooler does not start: System error 1068 occurred. The dependency service or group could not start

    Hello

    I still have the "system error 1068. The dependency service or group was able to start.

    "I use Windows 7 Home premium 64-bit and my printer is HP PSC 1310 series.

    I downloaded the latest driver in the HP website, but it will not continue installation that the print spooler is not started.

    I tried "restart the spooler to print the title of the services, it does not, with the error message above.

    I have check the dependencies and it say HTTP and RPC

    I check on RPC and DCOM Server process Launcher two dependencies and the RPC end point Mapper is started

    I went to regedit and found the keys as follows I don't know if its correct:

    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Spooler]

    'DisplayName"="@%systemroot%\\system32\\spoolsv.exe,-1 '.

    "Group"="SpoolerGroup."

    "ImagePath" = hex (2): 25, 00, 53, 00, 79, 00, 73, 00, 74, 00, 65, 00, 6 d, 00, 52, 00, 6f, 00, 6f, 00,------.

    74,00,25,00, 5 C, 00, 53, 00, 79, 00, 73, 00, 74, 00, 65, 00, 6 D, 00, 33, 00, 32, 00, 5 C, 00, 73,------.

    00,70,00, 6f 00 6f, 6 c, 73, 00, 00, 00, 76, 00, 2nd, 00, 65, 00, 78, 00, 65, 00, 00, 00

    'Description"="@%systemroot%\\system32\\spoolsv.exe,-2 '.

    "LocalSystem ObjectName"=""

    "ErrorControl" = DWORD: 00000001

    "Start" =: 00000002

    'Type' = dword:00000110

    "DependOnService" is hex (7): 52, 00, 50, 00, 43, 00, 53, 00, 53, 00, 00, 00, 68, 00, 74, 00, 74, 00,------.

    70,00,00,00,00,00

    "ServiceSidType" = DWORD: 00000001

    "RequiredPrivileges" is hex (7): 53, 00, 65, 00, 54, 00, 63, 00 62 00, 50, 00, 72, 00, 69, 00, 76,------.

    00,69,00, 6 C, 00, 65, 00, 67, 00, 65, 00, 00, 00, 53, 00, 65, 00, 49, 00, 6 D, 00, 00, 65, 70, 00,------.

    72,00,73,00, 6f, 00, 6F, 00, 61, 00, 74, 00, 65, 00, 50, 00, 72, 00, 69, 00, 76, 00, 69, 00, 6 c,

    00,65,00,67,00,65,00,00,00,53,00,65,00,41,00,75,00,64,00,69,00,74,00,50,00,------.

    72,00,69,00,76,00,69,00, 6 C, 00, 65, 00, 67, 00, 65, 00, 00, 00, 53, 00, 65, 00, 43, 00, 68,.

    00,61,00, 6F, 00, 00, 65, 67, 00, 4F, 00, 6f, 00, 74, 00, 69, 00, 66, 00, 79, 00, 50, 00, 72, 00,------.

    69,00,76,00,69,00 6 C 00, 65, 00, 67, 00, 65, 00, 00, 00, 53, 00, 65, 00, 41, 00, 73, 00, 73,------.

    00,69,00,67,00, 6F, 00, 50, 00, 72, 00, 69, 00, 6 d, 00, 61, 00, 72, 00, 79, 00, 54, 00, 6f, 00,------.

    6 b, 65, 00, 00, 6F, 00, 50, 00, 72, 00, 69, 00, 76, 00, 69, 00, 6 c, 00, 65, 00, 67, 00, 65, 00, 00,------.

    00,53,00,65,00, 4 c, 00, 6f, 00, 61, 00, 64, 00, 44, 00, 72, 00, 69, 00, 76, 00, 65, 00, 72, 00,------.

    50,00,72,00,69,00,76,00,69,00 6 C 00, 65, 00, 67, 00, 65, 00, 00, 00, 00, 00

    "FailureActions" = hex: 80, 51, 01, 00, 00, 00, 00, 00, 00, 00, 00, 00, 03, 00, 00, 00, 14, 00, 00,------.

    00,01,00,00,00,60, EE, 00, 00, 01, 00, 00, 00, 60, ea, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00


    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Spooler\Performance]

    "Close" ="PerfClose."

    "Collect"="PerfCollect."

    "Collect Timeout" = dword:000007 d 0

    "Library"="winspool.drv".

    "Object list"="1450".

    "Open" = "PerfOpen."

    "Open Timeout" = dword:00000fa0


    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Spooler\Security]

    "Security" = hex: 01, 00, 14, 80, 78, 00, 00, 00, 84, 00, 00, 00, 14, 00, 00, 00, 30, 00, 00, 00, 02,------.

    00, 1 c, 00, 01, 00, 00, 00, 02, 80, 14, 00, ff, 01, 0f, 00, 01, 01, 00, 00, 00, 00, 00, 01, 00, 00,------.

    00,00,02,00,48,00,03,00,00,00,00,00,14,00, 8 d, 01, 02, 00, 01, 01, 00, 00, 00, 00, 00,------.

    05, 0, 00, 00, 00, 00, 00, 18, 00, ff, 01, 0f, 00, 01, 02, 00, 00, 00, 00, 00, 05, 20, 00, 00, 00,------.

    20,02,00,00,00,00,14,00, fd, 01, 02, 00, 01, 01, 00, 00, 00, 00, 00, 05, 12, 00, 00, 00, 01,

    01,00,00,00,00,00,05,12,00,00,00,01,01,00,00,00,00,00,05,12,00,00,00

    I go to C:\Windows\System32\spool\PRINTERS, there is nothing for me to remove it.

    Any other advice would be greatly appreciated...

    Hello yan_dao69,

    I suggest that you try the methods below to solve the problem.

    Method 1:

    I suggest that you run the printer troubleshooter. This will automatically diagnose and fix printing problems:

    http://Windows.Microsoft.com/en-us/Windows7/open-the-printer-Troubleshooter

    Ideally, this would set the print spooler service issues.

    Method 2:

    I suggest that you disable the Antivirus software temporarily and verify if you are able to start the print spooler service. You can check the link that will give you information disable antivirus below:

    http://Windows.Microsoft.com/en-in/Windows7/disable-antivirus-software

    Note: Please make sure that you enable the antivirus software after the test to keep your computer protected.

    Method 3:

    Check the dependency of the spooler services in the registry.

    a. Click Start, type regedit in the search box and press ENTER.

    b. look for, and then click the following registry key:

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Spooler

    c. right-click on spooler, click Export, save a backup file on your desktop.

    NOTE: If an unforeseen problem be encountered after changing the registry, please double-click on the file to restore the backup.

    d. in the details pane, if the DependOnService value shows values of RPCSS and other key, right-click DependOnService and then click on edit.

    e. in the value data box, delete the other keys and then click OK.

    f. exit the registry editor.

    Important: This section, method, or task contains steps that tell you how to modify the registry. However, serious problems can occur if you modify the registry incorrectly. Therefore, make sure that you proceed with caution. For added protection, back up the registry before you edit it. Then you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click on the number below to view the article in the Microsoft Knowledge Base:

    322756 (http://support.microsoft.com/kb/322756 ) how to back up and restore the registry in Windows.

    Thank you
    Irfan H, Engineer Support Microsoft Answers. Visit our Microsoft answers feedback Forum and let us know what you think.

Maybe you are looking for

  • my iphone

    How can I activate phone i if the owner is not moo

  • No sound on my monitor HP 2010

    The sound on my screen (HP 2010) worked for many years, suddenly I have no sound. I checked all connections and they are OK. Any suggestions?

  • Measures with the date Conference

    Hello I have to make an application, as part of my end of study project, which allows to calculate heat flow. Pour this, I have data measured with thermocouples. These data are stored on a data recorder that record these data on a .txt, .xls or .csv

  • HP OfficeJet 4500 G510h: HP OfficeJet 4500 G510h - analysis stalls...

    Hi HP of veterans. I have tried to solve the problems of the last few days and turn on the forum because I'm out of ideas. Background My machine is a HP OfficeJet 4500 G510h.  It is connected via USB.  My PC is running 10 (64-bit) Windows.  I just un

  • Western Digital Passport Essential cannot eject Windows 7

    I have a Western Digital Passport Essential 320 GB for daily use. Whenever I have to eject it from my home PC (Windows XP SP3) desktop tool to remove the device safely, it will be stop turning after 5 to 10 seconds and ready to pull the plug.  But it