Identifier not valid key foreign error

Hi people,

I'm new in the Oracle environment, and I try to create the below tables for a University project. I checked with the Professor, and he's OK with me consultation of the Oracle forum on the issues I'm having.

So far, PATIENT_IDENTIFICATION, LAB_INFORMATION, EXPERIMENTAL_DRUG_TRIAL_DATA and STUDY_INFORMATION have been done without problems. For the other three tables (VITAL_SIGNS, AE_SAE and STAFF_TIME_CARD), I have need of foreign keys that reference the above created paintings, but I get the error message ' ERROR on line 1:
"ORA-00904: invalid identifier" issue when you try to run the CREATE statement. I know the syntax for the STAFF_TIME_CARD fk is wrong - I worked only on those VITAL_SIGNS and AE_SAE so far, but any help would be appreciated.

Sorry if this is in the wrong forum or area - any advice would be appreciated!


Thank you!


1 CREATE TABLE PATIENT_IDENTIFICATION (patientID char (5) PRIMARY KEY, race NVARCHAR2 (10), height TANK (2), (3) tank weight, ethnicity NVARCHAR2 (10), dateOfBirth DATE, childbearingStatus NVARCHAR2 (2), NVARCHAR2 type (1), dateOfInformedConsent DATE, affectedSystem NVARCHAR2 (15), DATE startDate, endDate DATE, issueStatus NVARCHAR2 (15), diagnosis NVARCHAR2 (20));
2
3 table created.
4
5
6 CREATE TABLE LAB_INFORMATION (IDB char (5) PRIMARY KEY, testStatus NVARCHAR2 (10), labValues char (10), collectionData NVARCHAR2 (15), labAddress NVARCHAR2 (50), studyLocations NVARCHAR2 (50));
7
8 table created.
9
10
11 CREATE TABLE VITAL_SIGNS (temperature INTEGER PRIMARY KEY, FOREIGN KEY (patientID) REFERENCES PATIENT_IDENTIFICATION (patientID), uid tank (3), (2) TANK breaths, pulse tank (3), blood pressure NVARCHAR2 (7));
12
13
14
15
16 TABLE of CREATE AE_SAE (uid INTEGER PRIMARY KEY, patientID char(5) PATIENT_IDENTIFICATION (patientID), sideEffects NVARCHAR2 REFERENCES (50), timeOfOnset TIMESTAMP, natureOfEvent NVARCHAR2 (50), gravity, NVARCHAR2 (50), finalOutcome NVARCHAR2 (50));
17
18
19
20
21 CREATE TABLE EXPERIMENTAL_DRUG_TRIAL_DATA (drugID char (5) PRIMARY KEY, baselineSignsAndSymptoms NVARCHAR2 (50), dosage, NVARCHAR2 (50), dateOfDosage TIMESTAMP, postAdministrationSymptoms NVARCHAR2 (50));
22
23 table created.
24
25
CREATE TABLE STUDY_INFORMATION 26 (Coordinator NVARCHAR2 Organizer (25) PRIMARY KEY, NVARCHAR2 (25), studySize (5) tank, studyDeadline DATE, studyDescription NVARCHAR2 (50), studyInformation TIMESTAMP, studyCompensation CHAR (4));
27
28 table created.
29
30
31 CREATE TABLE STAFF_TIME_CARD (employeeID PRIMARY KEY of char (5), sponsor NVARCHAR2 (25) FOREIGN KEY, CHAR (6) salary, loginTime TIMESTAMP, TIMESTAMP logoutTime, fName NVARCHAR2 (20), lName NVARCHAR2 (20), address NVARCHAR2 (50), and NVARCHAR2 (15));

Hello

Welcome to the forum!

917284 wrote:
... So far, PATIENT_IDENTIFICATION, LAB_INFORMATION, EXPERIMENTAL_DRUG_TRIAL_DATA and STUDY_INFORMATION have been done without problems. For the other three tables (VITAL_SIGNS, AE_SAE and STAFF_TIME_CARD), I have need of foreign keys that reference the above created paintings, but I get the error message ' ERROR on line 1:
"ORA-00904: invalid identifier" issue when you try to run the CREATE statement. I know the syntax for the STAFF_TIME_CARD fk is wrong - I worked only on those VITAL_SIGNS and AE_SAE so far, but any help would be appreciated.

Sorry if this is in the wrong forum or area - any advice would be appreciated!

As said by DCarter, this forum is for SQL * more and iSQL * more front-end. It's actually a problem with the SQL language, and so it would be preferable, in the future, questions like this in the forum SQL and PL/SQL:
SQL and PL/SQL
Many more people read this forum, too, so you will probably get faster answers.

... 11 CREATE TABLE VITAL_SIGNS (temperature INTEGER PRIMARY KEY, FOREIGN KEY (patientID) REFERENCES PATIENT_IDENTIFICATION (patientID), uid tank (3), (2) TANK breaths, pulse tank (3), blood pressure NVARCHAR2 (7));

There are 2 different ways to specify constraints:
(1) table constraints (or constraints of Out-of-Line ), which are delimited by a comma in the other elements of the CREATE TABLE statement
(2) forced column (or Constraints In-Line ), which are placed at the end of a column definition, not separated by a comma.

What you've posted has been the correct form for a table constraint when you use a table constraint, you must have a separate column for each referenced column statement You never said a column in the table called patiendID vital_signs.
This is a good way to use a table constraint:

CREATE TABLE     vital_signs
(       u_id              INTEGER         PRIMARY KEY
,     patientID         CHAR (5)                              -- Column declared here
,     temperature          CHAR (3)
,     respirations         CHAR (2)
,     pulse              CHAR (3)
,     bloodPressure         NVARCHAR2 (7)
,     FOREIGN KEY (patientID) REFERENCES PATIENT_IDENTIFICATION (patientID)     -- Column referenced here
);

Most people put the table constraints after all columns have been reported, as I did above, but is not mandatory.

Here's a way to get the same effect by using a column constraint:

CREATE TABLE     vital_signs
(       u_id              INTEGER         PRIMARY KEY
,     patientID         CHAR (5)         REFERENCES PATIENT_IDENTIFICATION (patientID)
,     temperature          CHAR (3)
,     respirations         CHAR (2)
,     pulse              CHAR (3)
,     bloodPressure         NVARCHAR2 (7)
);

Personally, I prefer the path column constraint. I find it easier to read and understand, because it is easier to notice the constraint when you see the column definition in the code. I also find it interesting to give meaningful names to foreign key constraints, like this:

CREATE TABLE     vital_signs
(       u_id              INTEGER         PRIMARY KEY
,     patientID         CHAR (5)         CONSTRAINT     vs_patientID_fk
                                  REFERENCES PATIENT_IDENTIFICATION (patientID)
,     temperature          CHAR (3)
,     respirations         CHAR (2)
,     pulse              CHAR (3)
,     bloodPressure         NVARCHAR2 (7)
);

If you violate the constraint, the error message will say "Violated VS_PATIENTID_FK", that helps to identify exactly what was wrong.

For more information, search for "Constraints" in the manual of the SQL language:
http://docs.Oracle.com/CD/E11882_01/server.112/e26088/clauses002.htm#g1053592

Moreover, the CHAR data type is very confusing, and there is no good reason to not use VARCHAR2 instead.

Tags: Oracle

Similar Questions

  • The new XP installation error. The signature for the family Windows XP Setup is not valid. The error code is fffffc0d

    I'm doing a fresh install of Windows XP Edition family on a new hard drive.  I get the same error message indicating that the product catalog can not be installed. I reformatted and retryed with the same result. I tried a different HARD disk, but got the same trouble. I also tried installing XP Pro after a reformat and got the same error. The first error window says "the signature for the family Windows XP Setup is not valid. The error code is fffffc0d", and the second says" error: the system cannot find message for message number 0xfffffc0d text in the file for syssetup.dll fatal error messages: Setup failed to install the product catalogs. " Any directive or ideas would be greatly appreciated. THX

    Hello

    I suggest you try the steps from the link below and check if it helps.

    http://support.Microsoft.com/kb/307153

    Hope this information is useful.

  • Identifier not valid error

    I will create the following table and when I run below select it I get this error

    Error from the 1 in the command line:
    Select FVal in B_FRA2
    Error in the command line: 1 column: 7
    Error report:
    SQL error: ORA-00904: "FVAL": invalid identifier
    00904, 00000 - '% s: invalid identifier '.
    * Cause:
    * Action:

    How FVAL is not valid? It is defeined as a column and as part of the primary key.
    Select FVal From B_FRA2
    
      CREATE TABLE "XYZ"."B_FRA2"
       (     
      "Domain" VARCHAR2(10 BYTE), 
         "TabId" NUMBER(5,0), 
         "ColId" NUMBER(5,0), 
         "FraNM" VARCHAR2(8 BYTE), 
         "FVal" NUMBER, 
         "Flbl" VARCHAR2(200 BYTE), 
          CONSTRAINT "FRA2_PK" PRIMARY KEY ("Domain", "TabId", "ColId", "FraNM", "FVal")
      USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255  NOLOGGING 
      STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
      PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
      TABLESPACE "USERS"  ENABLE
       ) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS NOLOGGING
      STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
      PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
      TABLESPACE "USERS" ;
    Thank you

    you have created the names of columns that is case-sensitive.

    Two options:
    (1) drop the table, re-create it without the double quotes. (best option)
    (2) request the table like

    select "FVal"
      from B_FRA2
    

    I'd go with the first option.

  • Error: The product not valid key when trying to activate Windows XP.

    Original title: XP OEM.

    OK (I try to keep my sense of humor) that I bought a card motherboard and CPU to upgrade a machine, and because I'm HONEST, bought an XP Pro OEM software, it was sealed, and I can't believe someone go threw worth of counterfeit lable, manual and sealed packaging with a holographic disc of Microsoft for $ 50. Now, if this is a ploy to make us go to 7... also we do not she, if oem cannot be sold please inform so that I can tell the community. Windows XP Professional...

    Diagnostic report (1.9.0027.0):
    -----------------------------------------
    Validation of Windows data-->
    Validation status: invalid product key
    Validation code: 8
    Code of Validation caching: n/a
    Windows product key: *-* - V89BB - FRPGP-JC9FB
    Windows product key hash: CyRUKT9nfB324 + 7HojC + ByouLMs =
    Windows product ID: 76487-011-1505962-22412
    Windows product ID type: 5
    Windows license type: retail
    The Windows OS version: 5.1.2600.2.00010100.3.0.pro
    ID: {29A3FE17-002A-4EAE-9541-02C727837A2B} (3)
    Admin: Yes
    TestCab: 0x0
    LegitcheckControl ActiveX: Registered, 1.9.42.0
    Signed by: Microsoft
    Product name: n/a
    Architecture: n/a
    Build lab: N/A
    TTS error: n/a
    Validation Diagnostic: 025D1FF3-230-1
    Resolution state: n/a

    Given Vista WgaER-->
    ThreatID (s): n/a
    Version: n/a

    Windows XP Notifications data-->
    Cached result: 8
    File: Yes
    Version: 1.9.40.0
    WgaTray.exe signed by: Microsoft
    WgaLogon.dll signed by: Microsoft

    OGA Notifications data-->
    Cached result: n/a, hr = 0 x 80070002
    Version: N/a, hr = 0 x 80070002
    OGAExec.exe signed by: n/a, hr = 0 x 80070002
    OGAAddin.dll signed by: n/a, hr = 0 x 80070002

    OGA data-->
    Office status: 109 n/a
    OGA Version: N/a, 0 x 80070002
    Signed by: n/a, hr = 0 x 80070002
    Office Diagnostics: B4D0AA8B-543-80070002_025D1FF3-230-1

    Data browser-->
    Proxy settings: N/A
    User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Win32)
    Default browser: C:\Program may Explorer\IEXPLORE.exe
    Download signed ActiveX controls: fast
    Download unsigned ActiveX controls: disabled
    Run ActiveX controls and plug-ins: allowed
    Initialize and script ActiveX controls not marked as safe: disabled
    Allow the Internet Explorer Webbrowser control scripts: disabled
    Active scripting: allowed
    Recognized ActiveX controls safe for scripting: allowed

    Analysis of file data-->

    Other data-->
    Office details: {29A3FE17-002A-4EAE-9541-02C727837A2B}1.9.0027.05.1.2600.2.00010100.3.0.prox 32*-*-*-*-JC9FB76487-011-1505962-224125S-1-5-21-1078081533-682003330-1417001333CompaqDSDTCompaqv2.14 686O220020815000000.000000 + 000B498324F0184206204090409Central Standard Time(GMT-06:00)03109

    License data-->
    N/A

    Windows Activation Technologies-->
    N/A

    --> HWID data
    N/A

    Activation 1.0 data OEM-->
    BIOS string matches: Yes
    Marker of the BIOS string: 674A: Compaq Computer Corporation | 10EA9:Compaq Computer Corporation | 1FFEA:Compaq Computer Corporation | 1FFEA:Hewlett - Packard Company
    Marker of OEMBIOS string. DAT: N/a, hr = 0x80004005

    Activation 2.0 data OEM-->
    N/A

    If it is a counterfeit, or has already been issued before April 2012 please let me know. If there is a problem with the purchase of an OEM software with updates also let me know, so I can inform the masses.

    OK guys, I'm all set, my sense of humor is back :) It took MS technical support some time (which made me feel less stupid) and they had to make a new key. It seems that when changes are made to certain machines that I upgraded was a Compaq Evo bios conflict there, it seems to be more prevalent in the 2002 version of XP Pro OEM.

    Microsoft taken care of once I found the right number to call, so everything is good again. Thanks for your replies.

  • Identifier not valid error in the column

    Hi all

    I use ODI 11.6 and Oracle 11.

    I'm doing a flat file for the table mapping...

    I am facing the below error...

    ODI-1228: failed INT_XLL_FFT_TMP (integration) task on the target of ORACLE EDGE connection.
    Caused by: java.sql.SQLSyntaxErrorException: ORA-00904: "SA". "' LNAME ': invalid identifier.

    It fails at stage lines new Insert... I use LKM file for oracle

    Please let me = know how to solve this problem.

    Thank you
    Lony

    Try running this query sql developer or a toad.
    You will certainly get where the existence of the problem. The problem seems to be almost VISA. LNAME LNAME,
    Do the mapping for this column again and restart odi studio.

  • error identifier not valid when executing a Ref cursr

    I'm ORA00904: 'MARKETING': identifier invalid... and it drives me crazy!
    Here is my sql code...

    Varchar2 (500) StrTitle;
    TYPE RefCurCusts IS REF CURSOR;
    rec_ref_custs RefCurCusts;
    strCusts varchar2 (500);


    StrTitle: = 'MARKETING ';

    OPEN FOR Rec_ref_custs
    ' Select distinct b.account_number, b.marketing_rep_name, c.customer_name, a.meter, a.mappole, a.feeder, b.last_or_corp_name, b.house_number, b.street_direction, b.street_name, b.street_suffix, max (odate) (b.account_number partition) last_called, n.message_type, c.list_name

    Of srs.current_outage_calls o, tlm.customer_electric b, srs.notification_list n, SRS. NOTIFIABLE_CUSTOMERS_VW c, srs.est_customer_outages a

    Where c.SERVICE_ADDR_NUMBER = b.SERVICE_ADDR_NUMBER and substr (b.meter_number, 2, 6) = a.meter and b.service_point_end_date is null and o.meter (+) = a.meter and n.list_name = c.list_name and c.list_name = ' | StrTitle;


    LOOP
    SEEK rec_ref_custs INTO strCusts;
    EXIT WHEN rec_ref_custs % NOTFOUND;

    StrBodyHTML: = StrBodyHTML | ', ' || strCusts;

    END LOOP;


    CLOSE Rec_ref_custs;


    ----------
    Help, please!
    Thank you

    Fuse_5a wrote:
    Why didn't think of this? I was struck by a moment stupid and my brain is fried!

    Thanks a lot for your help :)

    No problem.

    If your question is resolved, please mark it as answered so that people stop to check to see if there are more answers to give.

  • Identifier not valid several nesting query

    For the life of me I can't understand why I am getting an error on the first line (in bold) - something is wrong with my nesting, but I can't understand that. It is an invalid identifier on 'CLIENT' error in line 1 has something to do with my nesting I think. Any help?

    Select * from (select cust. ) Region_ID of

    (select cust_nbr from)

    (select region_id,

    Sum (tot_sales) tot_sales the Group of commands by region_id) reg

    Join

    (select sum (tot_sales) tot_sales, region_id,

    cust_nbr of the order of cust_nbr group, region_id) cust

    on cust.region_id = reg.region_id

    where cust.tot_sales > reg.tot_sales *. 2)) ca

    inner join customer c

    We ca.cust_nbr = c.cust_nbr;

    2776946 wrote:

    I'll edit the select * part so the global query can be likened to an analytic function, but the moment I can't get why my request is not read the alias 'CUST '...

    You must take into account the scope of alias variables

    They are valid from the outside to the inside; not inside out like you trying

  • Flag 23: product not valid key TouchSmart after system reset

    Hi, Iam new here so sorry if this is in the wrong section.

    Bascially I had a pavilion touchsmart since 14 January it was wrong this February 2015 I had the extended warranty.

    We had to repair. failure of the motherboard. In may, he arrived again second motherboard.

    On this repair if the system failed and went into the loop of constant repair.

    so I went for the system to reset to the factory settings. to see that the product is now invalid for windows.

    As it was pre installed Iam at a loss on what to do.

    Any help would be apprieciated.

    Thank you very much.

    @Stoneuk,

    Hello and thanks for the display on the HP support forums.  When the Board of Directors has replaced the Windows key must have been updated and the identifiers that Microsoft has made to your system is legitimate charge could not or dropped for some reason any.

    To get this reactive you must call the phone support.

    Here is a link to help you connect to the correct service.

    Contact HP support

    Thanks again for posting and have a great day.

  • Error 1055 to the property node: object reference is not valid. This error only occurs in a built application

    I use a WaveformChart to display multiple traces of data, the number of traces is variable, I use nodes property to set the number of traces that the digital display is visible or not, as there are more data increases the number of tracks and digital displays are made visible. In the design of Labview environment, everything works fine. However, when you run the application built so two or more traces must be mapped I see error 1055. I suspect that it is related to the visibility of the digital display on two or more traces of waveform. See attached VI.

    Why this error occurs?

    Thank you.

    Only trace

    Two traces

    Graphic WF only create their plots at development time.

    If you try to access a field that has never been there you get this error.

    To work around this detail, just the size the legend of the locations more than ever expected to use at the time of development, so that the parcels are created and available when you perform the compilation.

    Ben

  • I get drive not valid code 1327 error F: /.

    This happens when I try to install a new program. Before getting this code, I have reinstalled Windows XP. Also, after this, starting system, the windows Installer tries repeatedly to install "Photo gallery" until the invalid code reader Error 1327 F: / pop up. Any suggestions on how to fix this?

    Hello

    ·        What program are you trying to install on the system, photo gallery?

    ·        How you try to install the program? From the disk?

    ·        Is your CD/DVD drive F:\?

    ·        Photo Gallery is installed on the system?

    I suggest you follow the steps in the below link.

    http://social.answers.Microsoft.com/forums/en-us/XPInstall/thread/be444176-5c67-4271-9ccf-9fb3dec0834a

    Thanks and regards.

    Thahaseena M
    Microsoft Answers Support Engineer.
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • NB305: Windows is not valid error code 0xc004f063

    I have a Toshiba NB305 mini computer laptop pll3ac-00f014

    When I got there, it was quite dead. rather than post the screen.
    There a charge light when pluged. Tested as meny parts as I could. Motherboard left not good. Got a reman mobo successor cell Alto works now.

    Formatted the hard drive reinstalled windows media active fine microsoft starter edition.
    I wanted to use the original to much bloat ware image.

    So there have been running for a few weeks comes your copy of windows is not valid with an error code 0xc004f063 "the software license service reports that the BIOS is missing a license required.

    How to work around this problem?

    Thanks in advance for the help.

    Hello

    As far as I know, this message appears because you have installed a version of the Windows operating system and the system was not properly activated.

    You said that you have installed a new Windows system using the disk from Microsoft.
    So use the key belonging to this system of Windows:

    Try to uninstall and reinstall the product key and check if this may help.

    1) click Start and type CMD in the start search box.
    (2) select run as administrator.
    (3) in the shell, type the following command and press ENTER after each command.

    slmgr-upk
    slmgr-ipk (your product key)

    (4) to activate the copy again and check if it works.

  • With the identifier Clause not valid

    Hello

    My WITH clause goes well until I try to use my query value, date at which I get an identifier not valid.

    Before bang my head against the wall of the tha could someone tell me

    (1) it works with Oracle Database 10 g Enterprise Edition Release 10.2.0.4.0 - 64bi?
    (2) it works in Subselects only or can it be used in the first select statement?

    Thanks in advance for your help,

    Lou
    SQL> create table my_table (some_date date);
    
    Table created.
    
    SQL> insert into my_table values (sysdate);
    
    1 row created.
    
    SQL> commit;
    
    Commit complete.
    
    SQL> WITH WITH_DATE as (SELECT max(TRUNC(SOME_DATE)) FROM MY_TABLE)
      2  SELECT * FROM MY_TABLE WHERE TRUNC(SOME_DATE) = WITH_DATE;
    SELECT * FROM MY_TABLE WHERE TRUNC(SOME_DATE) = WITH_DATE
                                                    *
    ERROR at line 2:
    ORA-00904: "WITH_DATE": invalid identifier
    
    SQL> WITH WITH_DATE as (SELECT max(TRUNC(SOME_DATE)) max_date FROM MY_TABLE)
      2  SELECT * FROM MY_TABLE WHERE TRUNC(SOME_DATE) = (select max_date from WITH_DATE);
    
    SOME_DATE
    --------------------
    04-MAR-2009 11:04:27
    
  • If 'error exe win32 not valid' and the program runs what are the consequences

    running 32-bit applicaation on win 7 and receive "not valid win32 application" error message.    the application continues and it seems to work, but what are the consequences of running the application?

    Hi Wayne,

    Get the error: not a valid 32-bit application can have several origins:

    I have listed some of them below.

    File is corrupted, bad or missing:

    Ø If the hard disk is damaged or bad, it can cause work programs to fail, either because not all data can be read from the hard disk the program is damaged on the drive. Run scandisk and defrag on the hard disk to check for potential errors.

    O if you run the program from a shortcut on the computer, verify that the program is still on the computer. In some cases if the program is no longer installed on the computer, you can get this error.

    File is not designed for your version of Windows:

    Ø If you try to run a program that is not designed for your version of Windows, you can get this error.

    Ø although many old programs designed to work in older versions of Windows work with new versions of Windows, unfortunately, not all programs will work.

    O if the program is an earlier MS-DOS program or start program Windows, you will get this error.

    Ø If the program is designed for a 64-bit version of Windows and you are running in a 32-bit version of Windows, it does not work and generates this error.

    File is a virus, worm or other malware file:

    Ø this error can be generated by a file that is a virus, worm, Trojan horse or other type of malware file. Often, this will result because the antivirus installed on the computer will not allow the file to install or run. Try to analyze the file to check, it is not a virus or infected.

    O if the file has been checked and is clean, it is always possible that the virus protection program or another program installed on the computer is causing issues when installing or running the program. Start the computer in Mode safe and try to run the program. start the computer in Mode safe will be that nothing is running in the background that could cause this problem.

    Hardware incompatibility:

    Ø If you get this error during the installation of a program, it is also possible that the CD-ROM drive or the drive that you are installing the program from is not compatible with Windows or has drivers that are not compatible with Windows.

    O download the latest drivers for your CD player or other of the manufacturer of the computer or the manufacturer of the equipment. (Microsoft does not pilot for other materials)

    Hope one of the suggestions above will help with your problem.

  • Error input installation product key is not valid

    Original title:  Product key problem

    I reinstall Windows XP (got a new hard drive) and when I enter the product key for the packaging, I get an error message that I entered the product key is not valid.  I made 3 times - I entered correctly all 3 times.  What can I do?

    Hi Wade_1217,

    1. Where did you buy the Windows XP installation CD?
    2. You have formatted the hard drive before reinstalling XP on the computer?
    3. What is the full error message that you receive?

    Refer to the article below and try the steps mentioned, check if it helps.

    You receive an error message after you enter the product key when you try to install Windows XP

    http://support.Microsoft.com/kb/310637

  • Error: 0XC004F050 Windows Vista Home Basic product key is not valid for activation

    I bought this dell laptop 2 years. my laptop is to sometimes have blue error screen, but when I restart it, allows it to function normally. recently, when I turn on my laptop, my screen goes black and a box come up saying that the Windows Vista Home Basic product key you typed is invalid for activation.

    Then he gives me 3 options
    1. access your computer with reduced functionality
    2. enter a different product key
    3. contact Microsoft to help solve this problem

    I was trying to enter the product key as indicated on the sticker attached to the bottom of my laptop but still invalid product key. Code: 0XC004F050

    I had

    Diagnostic report (1.9.0027.0):

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

    Validation of Windows data-->

    Validation status: invalid license

    Validation code: 50

    Validation caching Code online: n/a, hr = 0xc004f012

    Windows product key: *-* - 4WD8X - M9WM7-CH4CG

    The Windows Product Key hash: EkdqJZ28Y9zyrh7DU/lHNjTXlQY =

    Windows product ID: 89572-OEM-7332166-00096

    Windows product ID type: 2

    Windows license Type: OEM SLP

    The Windows OS version: 6.0.6001.2.00010300.1.0.002

    ID: {B353C367-9E97-407C-A335-269CB0707324} (3)

    Admin: Yes

    TestCab: 0x0

    LegitcheckControl ActiveX: N/a, hr = 0 x 80070002

    Signed by: n/a, hr = 0 x 80070002

    Product name: Windows Vista (TM) Home Basic

    Architecture: 0x00000000

    Build lab: 6001.vistasp1_gdr.100608 - 0458

    TTS error:

    Validation of diagnosis:

    Resolution state: n/a

    Given Vista WgaER-->

    ThreatID (s): n/a, hr = 0 x 80070002

    Version: 6.0.6002.16398

    Windows XP Notifications data-->

    Cached result: n/a, hr = 0x80004005

    File: No.

    Version: N/a, hr = 0 x 80070002

    WgaTray.exe signed by: n/a, hr = 0 x 80070002

    WgaLogon.dll signed by: n/a, hr = 0 x 80070002

    OGA Notifications data-->

    Caching the result: 103

    Version: 2.0.48.0

    OGAExec.exe signed by: Microsoft

    OGAAddin.dll signed by: Microsoft

    OGA data-->

    Office status: 103 blocked VLK

    Microsoft Office Enterprise 2007 - 103 blocked VLK

    OGA Version: Registered, 2.0.48.0

    Signed by: Microsoft

    Office Diagnostics: 025D1FF3-364-80041010_025D1FF3-229-80041010_025D1FF3-230-1_025D1FF3-517-80040154_025D1FF3-237-80040154_025D1FF3-238-2_025D1FF3-244-80070002_025D1FF3-258-3

    Data browser-->

    Proxy settings: N/A

    User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Win32)

    Default browser: C:\Users\Tien Siew\AppData\Local\Google\Chrome\Application\chrome.exe

    Download signed ActiveX controls: fast

    Download unsigned ActiveX controls: disabled

    Run ActiveX controls and plug-ins: allowed

    Initialize and script ActiveX controls not marked as safe: disabled

    Allow the Internet Explorer Webbrowser control scripts: disabled

    Active scripting: allowed

    Recognized ActiveX controls safe for scripting: allowed

    Analysis of file data-->

    Other data-->

    Office details: {B353C367-9E97-407C-A335-269CB0707324}1.9.0027.06.0.6001.2.00010300.1.0.002x 32*-*-*-*-CH4CG89572-OEM-7332166-000962S-1-5-21-2878899211-3288161655-3842348923Dell Inc.. Inspiron 1420 Dell Inc.. A07 20080203000000.000000 + 00034303507018400EA04090409peninsula malaise Standard Time(GMT+08:00)03DELL M08 103103Microsoft Office Enterprise 200712fFic3JgCreGGRxyF8uMWB4R4Jcg =89388-707-1528066-6588114 ACD7202654E586

    Content Spsys.log: 0 x 80070002

    License data-->

    C:\Windows\system32\slmgr.vbs(1635, 9) (null): 0xC004E017

    Windows Activation Technologies-->

    N/A

    --> HWID data

    Current HWID of Hash: PAAAAAEABwABAAEAAQABAAAAAwABAAEAnJ80kiKfGtPqTSSWoFyuf/yQRoPeS1K88vTm9 + 9aSGmsViqF

    Activation 1.0 data OEM-->

    N/A

    Activation 2.0 data OEM-->

    BIOS valid for OA 2.0: Yes

    Windows marker version: 0 x 20000

    OEMID and OEMTableID consistent: Yes

    BIOS information:

    ACPI Table name OEMID value ValueOEMTableID

    REFERENCE DELL M08 APIC

    FACP DELL M08

    HPET DELL M08

    STARTING DELL M08

    Original title: my windows vista Home Basic product key is not valid for activation

    MCFG DELL M08

    M08 DELL SLIC

    SSDT PmRefCpuPm

    How can I solve the problem? Thank you.

    Run the Diagnostics of Genuine tool at this link http://go.microsoft.com/fwlink/?linkid=52012.

    Hi steph_ts,

    In addition to the suggestion of Andre.Ziegler, following links and check

    1. you remember to make changes to the computer before this problem?

    You can consult the following KB articles and try the suggested methods for error: 0XC004F050

    How to troubleshoot the error codes Activation Volume Windows 7, Windows Server 2008 and on Windows Vista computers

    http://support.Microsoft.com/kb/938450

    Error message when you try to activate a copy of Windows using the Windows Activation Wizard: "the Software Licensing Service reported that the product key is not valid: 0xC004F050.

    http://support.Microsoft.com/kb/950756

    Also see the following link for more information about reduced functionality mode:

    Error message when you start Windows Vista: "your activation period has expired".

    http://support.Microsoft.com/kb/925616/

    Hope this information is useful.

    Jeremy K
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

    If this post can help solve your problem, please click the 'Mark as answer' or 'Useful' at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

Maybe you are looking for

  • How to delete all messages in iOS 10

    What happened to the 'TRASH ALL' button in the MAIL for ios10?    Maybe I MISS something that you guys can tell me? < published by host >

  • Mode full screen

    I have installed an extension of full screen on my Asus laptop convertible and he (mode full screen) is now locked without options toolbar, bookmarks or browsing tools.I've uninstalled and reinstalled without success.Help!

  • Restore pirate ultimate from windows 7 to windows 7 starter edition

    Hello guys,. I have problems with my laptop recently. I hope someone can help me to solve it. I got windows 7 starter original once I bought my laptop and updated computer upgraded to windows 10. My laptop has been repaired and the store said it is b

  • Windows 8 disk space is Disappearing

    Have a 120 GB SSD as my drive C and the free space on it a steadily declining since I installed Windows 8 on it.  It should be at least 60 GB free and is now only 1 GB free.  I did a disk cleanup and searched files.  I put the restoration of the syst

  • Jet pro L7780 Office; no control panel keys work

    While trying to change my network wireless control panel has lost all the features. All the drivers/software deleted and reinstalled it, unplugged the unit for 5 minutes. no help. Printed documents to computer normally.