Problem with the update CFQUERY statement

I can't get an SQL Update statement works correctly and I am scratching my head as to why.

The result I get is:

Syntax error in UPDATE statement

SQLSTATE 42000
"SQL UPDATE businesses SET CompanyName ="Insight Data Ltd", Address1 =" 5 Boulevard", address2 =", Address3 = ", city ="Weston-super-Mare", County is"North Somerset", postal code ="BS231NN", OfficeBranch ="BR", contacttitle1 = 'Mr', contactname1 is"Andrew", contactsurname1 ="Scott", contactposition1 ="Owner", mail1 = 'Yes', TelNumber = ' 01934 123456 ', GST = 'no', number of Fax =", FPS = "no", phone =", MPS = 'no', email = '[email protected]', EPS = 'no', Adresse_web =' http://www.insightdata.co.uk', = 'Mr' contacttitle2, contactname2 is"David", contactsurname2 ="Lewis", contactposition2 =" Office Manager " mail2 = 'no', contacttitle3 = 'Mr', contactname3 = ", contactsurname3 =", contactposition3 = "Owner", mail3 = 'no', contacttitle4 = 'Mr', contactname4 = ", contactsurname4 =", contactposition4 is 'Owner', mail4 = 'no', wPVCUfab = 'Yes', wALUinst = 'yes', WHERE companyid = 33415 information
VENDORERRORCODE-3503
Idv6 DATA source

I checked all the data fields are in the correct format, and I don't see why I'm getting a syntax error. Any help on this would be appreciated

Okay, but it looks like you already have the sql code. Take the query in the error message above and run it in your database. However, I have noticed have a comma between the last column and there WHERE clause.

wALUinst = 'Yes', WHERE the companyid = 33415 information

For optional columns, put the first comma to avoid errors due to the leak, or too many commas

UPDATE Table
SET column1 = 'value '.
, Column2 = 'another value '.
WHERE ID = 123

Two other points to consider: use cfqueryparam and consider to normalize your table. The names of column as to Contact1, Contact2, Contact3... usually is a sign of his time to normalize.

Tags: ColdFusion

Similar Questions

  • Having a problem with the update of the window. He said that windows could not search for new updates. It's the found error 80245003 code

    Having a problem with the update of the window. He said that windows could not search for new updates. It's the found error 80245003 code

    Take a look at this article as it addresses this error code. Mike - Engineer Support Microsoft Answers
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • I just wanted to know at all, if you encounter a problem with the update of creative cloud as if I was (error 1001), I discovered that my Webroot AntiVirus has been the origin of the problem. I turned it off and it updated correctly. Hope that helps some

    I just wanted to know at all, if you encounter a problem with the update of creative cloud as if I was (error 1001), I discovered that my Webroot AntiVirus has been the origin of the problem. I turned it off and it updated correctly. Hope that helps some people I've seen so angry about it here by searching for the answer myself.

    Thanks for sharing this, yes turning Firewall works.

    Concerning

    Stéphane

  • Problems with the update of Flash Player.

    Problems with the update of Flash Player.

    After download, installation begins, but when the progress bar completes a typical Windows error message appears stating:

    (literal translation from Spanish):

    fallo-install-flash.gif

    "can't find the procedure entry point SetDIIDirectoryW in the dinamic links library KERNELL32.dll.

    IHAVE: windows32, XP + FlashPlayer worm: 11.1.102.55 + MozilaFirefox10.0

    Flash works well, but I can't make a new update since Version: 11.1.102.55

    Please help me, thanks

    You have two options:

  • Problems with the update 12/05/09

    I tried several times to install the following updates downloaded by auto update 5/12
    Update of security for Microsoft PowerPoint 2007 (KB957789)
    Update for Microsoft Office System 2007 (KB967642)

    Dungeon updates not only give me an error code 8007066F Windows Update encountered an unknown error. I don't know when I search this error code. Should I try a different approach to the update? I am running Windows Vista Ultimate 32 bit.

    After beating my head against the wall for several hours (days) research and try a lot of different things I contacted the support of Microsoft Office. While there was time, their Tech Support solved the problem that apparently was having problems with the installation of Microsoft Office that would not allow updating. The solution required unistalling all the Office applications, doing some cleaning and then reinstall Office. Once this was done the updates installed successfully, like Service Pack 2. It was required a research engineer - it was way beyond my abilities. I am pleased to say that the problem is solved and I can't stress enough how much I care I just started with this option and saved manny, many hours of time and frustration. Experience with the support person, that I have had - spread over some time - has been remarkable. You save time and headaches - if you find any information on your error code get help from M/S even if you have to pay for it. If your time is worthless as it's well worth.

  • Someone at - it problems with the update to Adobe Acrobat DC latetst 15.006.30172?

    There seems to be a corruption with the last Adobe Acrobat DC udpdate 15.006.30172

    Our users are not able to initiate a review shared on the network server.
    Anyone else having problems with this update?

    THX

    Hello

    Today we released a hotfix that resolves this problem shared his comments that was recently introduced. If you're not already updated to the latest patch, simply open Acrobat and visit help > check for updates to apply this hotfix.

    More details about this release and bug fixes is available here: https://helpx.adobe.com/acrobat/release-note/acrobat-dc-june-02-2016.html

    Please give it a try and let us know.

    Thank you

    -ashu

  • Impossible to solve problems with the update of security for Microsoft NET. Framework SP1 (KB2657424)

    I hope that Microsoft Support will answer this question:

    Homepage of Microsoft Windows Update is re - download and reinstall the same update (KB2657424).

    I was advised to try this link: https://support.microsoft.com/oas/default.aspx?gprid=6527 and it brought me to this page.

    I downloaded Microsoft Fixit 50202, installed and ran, but in "default" mode, since he warned that "aggressive mode" may disrupt other updates.

    It took me 8 hours (using a dial-up access provider) to get through all of the suggestions, including those in the following links:

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

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

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

    http://www.Microsoft.com/download/en/default.aspx

    I followed the suggestion of Microsoft to visit their site and check out "Review of my update history". Since January 11, 2012, when Microsoft first downloaded the update to in question (KB2657424), it failed. Microsoft has offered by clicking on the Red 'x' next to the 'update failed' to open the info on the reason that has been...

    Error code: 0x01

    Microsoft proposed the search for this error code in this list:

    http://support.Microsoft.com/ph/6527

    The error code is not in this list.

    Microsoft said then click "find solutions," "enter keywords" and click on "search". The result was this message: "Sorry, no result found not to match this criterion."

    As I mentioned earlier, since the first update "failed", I clicked several times on the icon (almost daily), which reappears constantly in my taskbar, asking me to "Reinstall", the update, and these measures have been recorded at yellow end of Microsoft. As I mentioned earlier, the update of security (KB2657424) is already listed in my Add/Remove programs as being installed. The "update history" reveals that a series of 'success' (KB2657424) facilities are recorded as well as "failures".

    I went to Windows Update Microsoft Web page to 'review my update history'.  After analysis of my PC, Microsoft has determined that (KB2657424) "has been downloaded and ready to install," with another update of IE (KB2618444). So I clicked both for "Quick Installation".

    When you are finished, I revisited the "update history review". (KB2657424) has been disabled with the green icon as 'successful', while at the same time, in the right box next, there was a message: "Install Updates (1).» So I clicked it, and another window open with the message that the "high priority update" (KB2657424) had to be installed. Yet once, I clicked on "Install updates". He ended with another successful window "Update."

    Then I clicked to "review update history", and it was registered under the name "successful." But the window beside her reappears at the same time: "Install Updates (1).» I have has. ... It was the 3rd time within an hour. 3 slices of the same update (KB2657424) are now disabled with the green icon as "successful"... but the window side "House of Windows Update" reappeared again with the same message: "Install Updates (1).»

    Then I followed the suggestion of Microsoft to type in the "run command" keywords to the day windows journal. Since the January updates up until this date in February the journal is 428 pages (transferred from Notepad to Microsoft Word.)

    Then I followed the instructions to download the update 'NDP35SP1-KB2657424 - x 86 .exe' (1.3 MB) directly from Microsoft link... http://www.microsoft.com/download/en/details.aspx?...28569.

    As instructed, I proceeded to manually install it in "Safe Mode".

    The result was this message:

    Patch installation (c:\35b7019bd0df08ac0003ec93627c\NDP35SP1-KB2657424.msp) failed on product (Microsoft .NET Framework 3.5 SP1). MSI log: Microsoft .NET Framework 3.5 - KB2657424_20120209_020143359 - Msi0.txt

    I scanned the PC with anti-virus and anti-malware programs, and none of them found any malware or virus in the way of updates from Microsoft. "The 'update' where it is saved in the Microsoft Download link is the only and unique" ""NDP35SP1-KB2657424 - x 86 .exe." The "Update" as it is installed in my Add/Remove programs in the Control Panel is the same.

    However, both "Windows Update Home" to Microsoft Page as well as in my BONES, the "update" continues to override all commands of Windows. Another odd fact, is that this "update" that keeps re - download and reinstall itself is actually partitioned into three parts, and I wonder if they may be "clones". Maybe the Windows Installer Service does not know where to place them, or what to do with them. These are three:

    MSIPatchRegFix - X 86 .exe_

    NDP35SP1-KB2657424 - 86.exe_

    NDP35SP1-KB2657424 - 86.exeQ

    Hi Jeine,

    Follow these methods.

    Method 1: Temporarily disable the security software.

    Note: Antivirus software can help protect your computer against viruses and other security threats. In most cases, you should not disable the antivirus software. If you do not disable temporarily to install other software, you must reactivate as soon as you are finished. If you are connected to the Internet or a network at the time the anti-virus software is disabled, your computer is vulnerable to attacks.

    Method 2: Put the computer in a clean boot state to see if there is a software conflict as the clean boot helps eliminate software conflicts.

    How to configure Windows XP to start in a "clean boot" State

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

    Note: After completing the steps in the clean boot troubleshooting, follow the section How to configure Windows to use a Normal startup state of the link to return the computer to a Normal startupmode.

    After the clean boot used to resolve the problem, you can follow these steps to configure Windows XP to start normally.

    (a) click Start, run.

    (b) type msconfigand click OK.

    (c) the System Configuration Utility dialog box appears.

    (d) click the general tab, click Normal startup - load all services and device drivers and then click OK.

    (e) when you are prompted, click on restart to restart the computer.

    Method 3: Follow the steps in the article.

    How to reset the Windows Update components?

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

    Method 4: You can also manually install updates (KB number) by downloading from the Microsoft Download Center.

    http://www.Microsoft.com/downloads/en/default.aspx

  • Problem with the update of the registration form

    I have a registration form to update that uses a < cfquery > function and has (among other areas), an optional file input field and two separate fields to specify the file name and the file type. I don't get any errors when I submit the form, but it does not update the record and not redirects to the page specified in the < cflocation > function. Instead, it reloads the page updated with all the deleted values record. The cfquery function is copied below. Any ideas what I'm missing? I am relatively new to CF and sql, but comparing to other forms of record update I have for other tables, I can't find a problem.

    <cfif IsDefined("FORM.MM_UpdateRecord") AND FORM.MM_UpdateRecord EQ "content_edit">

      <cfquery datasource="everettweb">UPDATE Content

    SET Page_URL=<cfif IsDefined("FORM.Page_URL") AND #FORM.Page_URL# NEQ "">

    #FORM.Page_URL#

    <cfelse>

    ''

    </cfif>

    , Page_Category=<cfif IsDefined("FORM.Page_Category") AND #FORM.Page_Category# NEQ "">

    #FORM.Page_Category#

    <cfelse>

    ''

    </cfif>

    , Content_Description=<cfif IsDefined("FORM.Content_Description") AND #FORM.Content_Description# NEQ "">

    #FORM.Content_Description#

    <cfelse>

    ''

    </cfif>

    , Content_Heading=<cfif IsDefined("FORM.Content_Heading") AND #FORM.Content_Heading# NEQ "">

    #FORM.Content_Heading#

    <cfelse>

    ''

    </cfif>

    , Content=<cfif IsDefined("FORM.Content") AND #FORM.Content# NEQ "">

    #FORM.Content#

    <cfelse>

    ''

    </cfif>

    , Image_URL=<cfif IsDefined("FORM.Filename") AND #FORM.Filename# NEQ "">

    /images/#FORM.Filename#.#FORM.File_type#

    <cfelse>

    ''

    </cfif>

    WHERE ID=#FORM.ID#

    </cfquery>

      <cflocation url="#FORM.Page_URL#">

    </cfif>

    Thanks for any help you can provide!

    Jeremy

    Okay, so I rebuilt the page, and it worked. When I compared both versions it looks like when I did a montage for the sql, I had a bit of redundant code in the form that would throw things off. Thanks for all your help!

    Dan, with regard to the two types of variables, the URL variable that's so I can fill in the form with the data in the existing record. Here's the process:

    -Main page has a link to change the content, which is identified by the ID number.

    -The link change calls the form of update: content_editor.cfm? recordID = #ID #.

    -A queries on the calls page of content_editor.cfm for the data Records using the url variable (because at this point, it is the only remaining identifier from the previous page) to fill out the form.

    -A second query updates the record on form.

    If there is another way to do it, I don't know. I left Dreamweaver show me one way, and then I adapted this method to a couple updated various registration forms. I'm certainly open to other suggestions!

    JAW

  • problem with the update in the writeback command...

    I'm not able to get an update as expected using the back writing function. Any help appreciated.

    <? XML version = "1.0" encoding = "utf-8"? >
    < WebMessageTables xmlns:sawm="com.siebel.analytics.web/message/v1" >
    < WebMessageTable = lang "" en - us "system ="WriteBack"table = 'Messages' >"

    < informed name = "XXExample1" >
    < XML >
    < writeBack connectionPool = "ORA11_SH" >
    < Insert > < / insert >
    {< updated > updated sales SET update_col=@{c1} WHERE prod_id=@{c0}
    < / update >
    < / writeback >
    < / XML >
    < / Informed >
    < / WebMessageTable >
    < / WebMessageTables >


    My error:

    Error codes: OPR4ONWY:U9IM8TAC:OI2DL65P
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error occurred. [nQSError: 27024] The EXECUTE PHYSICAL statement must specify a physical SQL statement to execute. (HY000)
    SQL issued: RUN CONNECTION POOL ORA11_SH PHYSICS

    Nice to hear that worked... then mark my answer correct and answered.

    The cause behind this is, when you have NULL values in the columns selected for the writeback, BI server is not able to judge whether it's an update or insert. Maybe a bug not sure. The problem is with data zero.

    -Madan

  • Problems with the update IOS 10

    Hello

    I need help.  I updated my iphone 6 more last night at 10 IOS.  The update seemed to have worked, but now I can't sign in with my password ID Apple I get an error "Self-test Failed - there is a connectin to the Apple ID server error" to come after as I try to connect.  In addition, I can't in the itunes and app store apps.  The app just itunes appears blank and the app store app wrote "loading" all the time.  In fact, I have a problem, try to get the majority of my apps work now either.

    The only thing I tried to do to fix the problem is to turn the phone on and off again.  Any suggestions please?

    Jane.

    Greetings anfield5jane,

    I see that after updating your iPhone 6 more last night at iOS 10, you are now unable to connect your Apple ID and password. You get a verification failure message. I know how it is important to ensure that you can use these applications and services.

    I suggest you force by closing the App Store and the iTunes and app reopened to see if you get the same question. The following article will help you: force a nearby application on your iPhone, iPad or iPod touch

    If you notice that helps, try to force, close other applications that have the same problem.

    I would also like to test this on Wi - Fi and cellular data to see if you get the same result.

    Please let us know what happens. We're here to help.

    Best regards.

  • I now have a problem with the update for Windows Live Essentials 2011

    I don't understand how it happened, but maybe someone could enlighten me?

    First of all, I was informed of an update for Microsoft Security Essentials. So of course, I did the update because I didn't want to be protected.

    I don't know if this is related somehow. I think that my update understood also as a Windows Live Essentials package. When I checked my e-mail and instant messaging, I noticed that the format has changed, and now, I think it's the new WLM 2011.

    It may seem very nice and put up-to-date, but it caused a series of serious problems for me. Let me explain:

    First of all, I must clarify that I am disabled and use the speech recognition, Windows speech recognition Dragon NaturallySpeaking both, because I can't use my hands.

    In the original WLM before the update, if I were using Dragon NaturallySpeaking, I was able to dictate with great ease and had no problem. If I wanted to then send the email I would say just 'send' and e-mail would go. With WLM 2011, if I say that now, it does not work.

    It's just a problem that I have. The next problem is much larger. In some cases, Dragon NaturallySpeaking speech recognition will not work and I can't dictate anything. I then have to close WLM completely and then open it again. Then only, it'll work. This happens many times and it's very frustrating, as you can imagine for someone like me.

    Forgive me for saying, it may seem very well with all the new bells and whistles there, but it makes my life a misery at the moment. In my view, there are a lot of bugs that need to be sorted out first with her.

    My question is, can I go back to the original WLM somehow until the update meets my needs? Can I go back to the status quo when WLM 2010 worked well with speech recognition for me?

    If so, can someone tell me how to do what you please?

    If not, then how am I supposed to use these features now?

    Thank you

    HB

    You will find support for Windows Live Messenger in these Windows Live help forums: http://windowslivehelp.com/forums.aspx?productid=2 ~ 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

  • I'm having a problem with the update of the last security update. What can I do?

    Remember - this is a public forum so never post private information such as numbers of mail or telephone!

    Ideas: problem getting my pc to download the latest security update

    • You have problems with programs
    • Error messages
    • Recent changes to your computer
    • What you have already tried to solve the problem

    Floyd,

    It helps those answering questions if you provide:

    What version of windows (32-bit or 64-bit) and service pack level.

    you use what browser (exact version).

    What application or antivirus security suite is installed and your current subscription?

    What third-party firewall

    What anti-malware software can be installed.

    What updates you trying to install?
    What error do you get everything when trying to install updates?

    In addition to the information required:

    How to view the log of update windows

    Click Start, and then click Run.

    in the Open box, type%windir%\windowsupdate.log

    and then click ok.

    Scroll down to the last entries find the error codes associated with the last attempt to download/install.

    start at the bottom and work your way up a section that indicates an ERROR, WARNING or FATAL.

    If the appropriate copy and paste the codes of errors in this thread if someone may be able to help you.

    on the other hand, you can find the error code and other suggestions by searching the forum.

    Also check the windows file called Ko folder * .log (* = number of update KB896688 ie) and send the contents of the update has failed.

    This may even provide clues as to why the update failed.

    How to read the windowsupdate.log file:

    http://support.Microsoft.com/?kbid=902093>

  • Problems with the update of IE8: "WindowsUpdate_0000000E" "WindowsUpdate_dt000"

    I had problems with Internet Explorer for a few months after an automatic update has been applied, and we lost power during the process.  I am now unable to use IE, just process dies immediately.  An update of the system is applied by the process of automatic update every time it tells me that it cannot update / day i.e., because a more recent version is already installed, as well as the error codes:

    "WindowsUpdate_0000000E" "WindowsUpdate_dt000"

    I was trying to roll back the PATCH or SP which was originally updated, but the Windows updates are not labeled as IE updates to Vista so have no idea which one it was (as I said it was a while ago).  I'm an avid user of FF but not having only not IE is annoying and constant updating errors are a pain.

    Thanks in advance.

    Hi MDRaven0223,

    a. do you get this error message during the download or installation of updates?
    b. what service pack is installed on our computer?
    c. give any KB number in particular?

    You need to uninstall Internet Explorer 8 in Windows Vista using the cleaning tool.

    1. remove Internet Explorer using windows Cleanup utility.
    After the installation of the Windows Cleanup utility, open Windows Clean Up Utility:
    1. Select Powerdesk that was installed by the Windows Installer in the Windows Installer CleanUp dialog box.
    2. to do this, select the programs you want in the list of products installed in the Windows Installer CleanUp dialog box.
    3. After you make this selection, the utility removes only Windows Installer configuration information related to these programs.
    Follow the link below to download the Windows Installer Cleanup utility:
    http://support.microsoft.com/default.aspx/kb/290301.

    You can try the following and check.
    2 reset the Windows Update components:
    To reset the Windows Update components automatically, click the fix it button or link.
    Click on run in the file download dialog box and follow the steps described in the fix it Wizard.
    http://support.Microsoft.com/kb/971058

    3 reinstall the Windows Installer
    To reinstall Windows Installer, rename the damaged Windows Installer files, and then reinstall the Windows Installer. To do this, follow these steps:
    1. start, run, type cmd in the Open box, and then click OK.
    2 type cd % windir%\system32, and then press ENTER.
    3. Type attrib - r s h dllcache and then press ENTER.
    4 type ren msi.dll msi.old, and then press ENTER.
    5. type ren msiexec.exe msiexec.old and then press ENTER.
    6 type ren msihnd.dll msihnd.old, and then press ENTER.
    7. Type exit and press ENTER.
    8. at the command prompt, type exit and press ENTER.
    9. click on start and then click on stop computer or Shut Down.
    10. Select the reboot option, and then click OK or click on restart.
    11. log on the computer.
    12. download and install the latest version of Windows Installer. For more information about how to obtain Windows Installer, click on the number below to view the article in the Microsoft Knowledge Base:
    893803 (http://support.microsoft.com/kb/893803/ ) Windows Installer 3.1 v2 (3.1.4000.2435) is available
    13. click on start and then click on stop computer or Shut Down.
    14 select the reboot option, and then click OK or click on restart.
     
    You can also install windows install 4.5 from the link below and try to install the Upgrade Advisor:
    http://www.Microsoft.com/downloads/details.aspx?FamilyId=5A58B56F-60B6-4412-95B9-54D056D6F9F4&displaylang=en

    5. now download the Internet Explorer 8 from the link below and install it.
    http://www.Microsoft.com/Windows/downloads/IE/getitnow.mspx

    I would also recommend to install the Windows Update Agent to manage the updates on your computer.
    6. Windows Update Agent
    Download and install the Windows Update Agent to manage updates for your computer.
    Follow the link below to download and install Windows Update Agent:
    http://support.Microsoft.com/kb/949104

    Similar has been discussed in this thread as well.
    http://social.answers.Microsoft.com/forums/en-us/InternetExplorer/thread/3c25b5b6-3997-44B8-92e1-ad7494d1a167

    It will be useful.

    Thank you, and in what concerns:
    Shekhar S - Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • PROBLEMS WITH THE UPDATES AND INTERNET

    WHENEVER MY COMPUTER DID AN UPDATE AFTER THE UPDATE I CAN'T GO ON THE INTERNET, I HAVE TO RESTORE TO A TIME BEFORE THE UPDATE, ALSO WHEN I TRIED TO DOWNLOAD JAVA AND FLASH, IT WOULDN'T LET ME ON THE INTERNET, NONE OF THE TWO, I HAVE A LAPTOP TOSHIBA SATELITE MAYBE 2 MONTHS OLD CAN HELP ME A FEW

    Hello Felixtorres,

    Method 1:
    (1) try to upgrade your copy of Internet Explorer to version 7.0
    (2) restart your computer
    (3) visit http://update.microsoft.com and install updates of missing security for IE7 & stop and try again.

    Method2:
    There might be some important vista .dll are gone corrupt. Please perform the below steps to solve problems.

    (1) make sure that your account is to have any of course rights or grant your account level "Administrator" rights
    (2) from the command prompt, run the command " sfc/scannow " & provide the Vista installation DVD.
    (3) analyze your system with antivirus & Spyware software to remove infected files.

    Also, visit him following MS KB links advanced troubleshooting.
    http://support.Microsoft.com/kb/947821
    http://support.Microsoft.com/default.aspx?scid=kb;en-us;928228

    -

  • Java update problem. I have problems with the update of java on my microsoft vista,

    I had no problems before with the java update, but now, I have tried several times to install java 7 update 21 on my microsoft vista. This is a big problem that I can't use my netbank and other important sites.

    What should do?

    I had no problems before with the java update, but now, I have tried several times to install java 7 update 21 on my microsoft vista. This is a big problem that I can't use my netbank and other important sites.

    What should do?

    ======================================
    Something to try... no guarantee it will work...

    (1) create a System Restore Point.

    Windows Vista - system restore: frequently asked questions
    http://Windows.Microsoft.com/en-us/Windows-Vista/system-restore-frequently-asked-questions

    (2) uninstall all instances of JAVA.

    How to uninstall Java on my Windows computer?
    http://www.Java.com/en/download/uninstall.jsp

    (3) download the full Version of JAVA 7 update 21 on your desktop.

    Here is the link for downloads.

    http://www.Java.com/en/download/manual.jsp
    (remember to read the instructions)

    Select the second choice under Windows (offline)
    This will download the (jre-7u21-windows - i586.exe)
    file on your hard drive and you can install from there.

    (4) on the left, double-click on the downloaded file and if all goes well
    It will install successfully.

    Good luck...

Maybe you are looking for