TS1292 My code is all letters and does not begin with X. Does this mean it is invalid ?

My code for the iTunes gift card says invalid. The 16 digit code is only letters and does not begin with x. What do I do ?

Where exactly is it getting stuck? When you turn on highlight execution what is it dong?
From looking at the top level VI though I bet your problem is that you are using the equals function to stop the loops. Your I32 gets type cast as a dbl, and the chance that they are equal is very slim.
The reason is that doing an equal compare of doubles is never a good idea. The double may show up in your indicator as 1 but if you increase the digits of precision on that control you would see that is was actually something like 1.0000000000000001. So your math may lead to 1.000000000001 and the conversion of the I32 to dbl may lead to 1, therefore they are not equal and the loops will not finish.
Take a look at this KB Comparing Floating Points Does Not Seem to be Working Properly.
and this one: Why Do My Floating Point Numbers Lose Precision?

Similar Messages

  • Error:  File does not begin with '

    After changing two javascript "else if" statements to "if" in an Adobe LiveCycle v8 form, I received errors upon saving. Now the file seems to be corrupt because when I attempt to open it I get an error stating "File does not begin with '". Does anyone know what could be causing this AND MORE IMPORTANTLY if there is a way to salvage my form? Please help!

    Hi VetSrini,
    Thanks for the update. I was able to figure out what was wrong.
    Now there is another problem. When i try "View Output", the excel file is shown and the following options are also shown:
    1. As an XML List
    2. As a read-only workbook
    3. Use the XML Source Task Pane
    When I try the first option, I get the following error:
    An Invalid Character was found in text content
    When I try the third option, I get the following error:
    Cannot load the specified XML or schema source.
    when i press the details button, it gives me the following detailed error:
    An Invalid Character was found in text content
    When I try the second option, i get the same error, but with some xml tags
    Can anyone please help me and tell me why i am getting these errors.
    Thanks in Advance,
    Arun

  • Error with a PDF document in a BSP App: "File does not begin with '%PDF-'"

    Hi All,
    I have the following piece of in the layout of a BSP Application in our system.
    <%
    DATA: LV_PDFSIZE TYPE I,
                LW_PDF     TYPE TLINE,
                LV_XDATA   TYPE XSTRING.
    data: LT_PDF type ZGTIS_TAB_TLINE,
          lv_id type zgtis_http_id,
          filename type STRING.
    lv_id = session_id.
    import lt_pdf to lt_pdf from
           database zgtis_http_indx(in) id lv_id.
    RUNTIME->SERVER->RESPONSE->SET_HEADER_FIELD(
        NAME  = 'Content-Type'
        VALUE = 'application/pdf').
    if w_printall ne 'X'.
    CONCATENATE 'display; filename="invoice_' BIL_NUMBER '.pdf"'  INTO filename.
    else.
    CONCATENATE 'display; filename="invoice_' 'ALL' '.pdf"'  INTO filename.
    endif.
    RUNTIME->SERVER->RESPONSE->SET_HEADER_FIELD(
        NAME  = 'Content-Disposition'
        VALUE = filename ).
    RUNTIME->SERVER->RESPONSE->SET_HEADER_FIELD(
        NAME  = 'pragma'
        VALUE = 'no-store').
    RUNTIME->SERVER->RESPONSE->SET_HEADER_FIELD(
        NAME  = 'cache-control'
        VALUE = 'no-store').
    *     Convert to XSTRING
    FIELD-SYMBOLS <P> TYPE ANY.
    LOOP AT LT_PDF INTO LW_PDF.
      ASSIGN LW_PDF TO <P> CASTING TYPE X.
      CONCATENATE LV_XDATA <P> INTO LV_XDATA
        IN BYTE MODE.
    ENDLOOP.
    *     Set the response data
    RUNTIME->SERVER->RESPONSE->SET_DATA(
        DATA   = LV_XDATA ).
    %>
    This piece of code works fine when 'If w_printall ne 'X'.' condition is succesfull and I can see the PDF but when w_printall = 'X' I get the above error on a popup box, the error is "File does not begin with '%PDF-'" and I cant see the PDF.
    Does anyone have any suggestions!
    Kindly help.
    Regards,
    Karthik

    Check this thread
    it is a Big Discussion on that.
    In first page and second page you can see solutions.
    /thread/747643 [original link is broken]
    one with patch and other with setting in Adobe.
    Regards
    Vijay babu Dudla

  • Error : (does not begin with '%PDF-'. ) when print report in pdf

    Hi all,
    http://www.oracle.com/technology/obe/apex/apex31nf/apex31rpt.htm
    using the example in the above link,
    I have created a report and tried to print in pdf format,
    But
    does not begin with '%PDF-'. this error is appearing when the adobe reader is opening.
    Could anyone help me to make out the reason for this error?
    bye
    srikavi

    Srikavi,
    Which rendering engine are you using? BI Publisher? Apache FOP? Did you follow the steps outlined here when you configured PDF printing:
    http://www.oracle.com/technology/products/database/application_express/html/configure_printing.html
    Regards,
    Marc

  • File does not begin with '%Pdf-' in Persona to take a Print

    Dear all,
    What would be the reason for the error " File does not begin with '%Pdf-' when its trying to open in adobe reader in Persona.
    Does persona support any KMC content management ? please resolve this error.
    Find the attached screenshot.
    And we are using persona version as :
    Component
    Release
    SP-Level
    Support Package
    PERSOS
    100
    2
    SAPK-10002INPERSOS
    Cheers, Vasanth S

    hi vasanth,
    This issue might not be related to personas.
    Is this happening with all the PDFs?
    Also, i would recommend you to upgrade your personas SP to latest.
    New features in Personas 2.0 SP04; also Personas 1.0 SP04
    Sushant

  • Error from reports from ZAM(Graph or PDF) - File does not begin with '%PDF-'.

    I just noticed today that any Graph or PDF report I try to view I get the
    following error - Error from reports from ZAM - File does not begin with
    '%PDF-'. I tried to just save the file and then open it, but get the same
    error. I can open other pdf files I have downloaded from other sites ok.
    Anyone have any idea? I haven't done anything to that server that I am
    aware of in quite a while.
    Thanks
    Bill

    I took a closer look at the files it downloaded, opened them with notepad,
    haer is what it says:
    XSL Transform or subsequent processing failedThe document has no pages.
    "Bill" <[email protected]> wrote in message
    news:2bBtk.2164$[email protected]..
    >I just noticed today that any Graph or PDF report I try to view I get the
    >following error - Error from reports from ZAM - File does not begin with
    >'%PDF-'. I tried to just save the file and then open it, but get the same
    >error. I can open other pdf files I have downloaded from other sites ok.
    >Anyone have any idea? I haven't done anything to that server that I am
    >aware of in quite a while.
    >
    > Thanks
    >
    > Bill
    >

  • PO PDF Error - File does not Begin with '%PDF-'

    Hi,
    I am working on Implementing PO PDF with XML data and RTF Template. I have created a new template in XML Publisher and followed the following set up steps
    Setup / Organizations / Purchasing Options / Control TAB / set 'PO Output Format' = 'PDF'
    setup / purchasing / document types / select "Standard Purchase Order" / Set the Document Type Layout to your new template.
    When I view the document from PO Summary > inquire > View Document, I get an adobe reader error
    'File does not begin with '%PDF-', how ever when I preview it from the template definition, it opens fine.
    I tried running PO Output for communication with my custom template but I don't see the parameter 'Purchase Order Layout'. The last parameter in the list is 'Include Blanket'.
    Am I missing any set up steps? However when I use the standard Purchase Order Layout in Document Types set up, the Inquire > View Document created a PDF output.
    Any help is greatly appreciated.
    Thanks,
    Sharmila

    I encountered same error in BPA Invoice Print. I remove a MLS function from the program definition and this error disappeared. Have not fully investigated but maybe this will help. Thanks.

  • HT1212 phone pass code locked on phone and will not sync with computer. we forgot passcode

    Phone Pass Code locked and will not sync with computer. Back up and restore with itunes

    Bummer because now you can not back up. But you can put the device in recovery mode and have itunes restore it. Turn the device off while the device is off hold down the home button while holding the home button down connect the cable to the phone and keep holding home button until you see itunes logo and cable image on the on the phone. Itunes will say its discovered a device in recovery mode click ok and click restore.

  • Want to see ALL issues and risks, not just mine. Is this possible?

    I'm relatively new to Project Online, but I have four projects in it with associated risks and issues.  It looks like I can only see risks and issues that are assigned to me, which is fine for now, but as these projects get further down the line (or
    as I add more projects), I'm going to want to assign issues and risks to other people and as head of our nascent PMO, I'm still going to want to see ALL of the issues and risks from Project Online (I am trying to manage the portfolio, after all).   Is
    there a setting somewhere I missed that would allow this, or am I stuck with just being able to see my own?

    Hi Cuttyson--
    If you do need to consolidate risks and issues among a portfolio then you'd fall into report's creation with odata technology.
    Paul's (a fellow MVP) has posted a while ago a tremendous
    report pack which can be applied to Project Online with specific reports for risks and issues.
    Hope this helps,
    Guillaume Rouyre, MBA, MVP, P-Seller |

  • File does not begin with '%PDF-'.

    Please help, all was going fine with our adobe reader and all of a sudden this message started popping up.  Here are details:
    -Windows 7 64 bit home
    -Adobe Reader 9 Version 9.3.0
    -IE 9 32 Bit
    I have tried installing/uninstalling every possible version of adobe (8,9,10,11) and nothing has worked.  Our web application recommends ie9 w/adobe 9.3 which we have used without problems for years.  Other computers are having no such issues.  Have also gone into adobe preferences and unchecked displaid pdf in browser but then just a window opens with an exxed red box like it cant display.  Any help would be appreciated!

    The error in your subject line indicates that the file is corrupted.
    Since this is happening only on one computer, I suspect that there is something wrong with either Windows or Internet Explorer.
    I suggest that you try to download the file to your local disk, then check the file size (and compare it with the same downloaded file on a computer where it works correctly).

  • Urgent: File does not begin with '%PDF-'

    Hi,
    I am constantly getting this message when i click on certain PDF documents stored in my collaboration rooms.
    Strangely, this is not happening for all the PDF docs and is only applicable to a few documents.
    Any help would be greatly appreciated.
    Regards,
    Vibhu

    Hi Julian,
    Our great basis team was able to resolve the issue. The problem is related to scenarios where apache is being used as a reverse proxy to ignore requests for chunked responses. You do not need to reinstall apache but add the following line in apache config:
    RequestHeader   unset   range
    Regards,
    Vibhu

  • File does not begin with '%pdf' error with adobe reader 10.1.5 onwards

      In our web application we are using activePDF toolkit (3rd party component) to fill up carrier forms on the fly which are PDF files.
    The output file processed by the above library works fine when opened with adobe reader 8, 9 and10 on end user’s browser (IE); however, it gives below error when opening with adobe reader 11.
    Till now, we have tried different settings at IIS level, Internet explorer e.t.c. suggested on different internet posts. However, we are still facing the problem.
    While analyzing this we have come across following link
    http://helpx.adobe.com/acrobat/kb/pdf-error-1015-11001-update.html
    According to this adobe 10.1.5 onward file should only start with "%pdf". If file start with other than this we get file corrupted message.
    Before we can communicate this message to client we want to confirm this for experts. Please let me know my assumption is right?

    Rahti - i'm having the same issue but I not familiar with the steps outlined in the Adobe link below
    http://helpx.adobe.com/acrobat/kb/pdf-error-1015-11001-update.html
    Would you be able to help with how I can navigate to this on my PC to correct it for me.
    Thanks.

  • My ipod gen 2 does not sync with the latest itunes

    I reset my ipod gen 2 to factory settings and version 4.2.1 will not sync with the latest iTunes.

    Are you using the USB docking cable that came with that shuffle (it has a mini-dock at the shuffle end)?  The docking cable for the current 4th (and 3rd) gen shuffle fits, but it will not work.  The connector is different.
    When you say, "does not sync with iTunes," do you mean it does appear in iTunes (in the sidebar under DEVICES) but does not sync, or that it does not appear in iTunes at all?

  • " File does not being with %pdf"

    Sir
    I have download a file from website. I use windows7 os. But there is a problem that a massege display " File does not being with %pdf". this problem is same in other browsers like- mozela firefox, google chrome etc. I use adobe reader 11. Please tell me its solution in detail.

    Originally posted by: bryant.harris.irisfinancial.com
    Upgrade to 2.1.0. The font stuff is fixed in 2.1.0
    Bryant
    "Brian Kallay" <[email protected]> wrote in message
    news:ege41t$9qp$[email protected]..
    > Hi,
    >
    > I am running BIRT 2.0.0 and pdf generation which works properly on windows
    > is not working correctly on linux (Red Hat Enterprise Linux ES release
    > 3). I am able to generate pdf's from charts but textual reports display
    > varying results from completely blank to "File does not begin with
    > '%PDF-'" errors depending on the report being used.
    >
    > I did find the following on a BIRT 2.0.1 project plan page, however I was
    > not able to find anything corresponding in bugzilla:
    >
    > "BIRT Runtime can not find font for PDF generation on Linux. PDF document
    > is missing text content although it displays images and outlines of
    > tables."
    >
    > This seems to describe the behavior I am seeing in many cases, however
    > with very simple reports the pdf contains the header row with the first
    > column header displayed so fonts are not failing completely.
    >
    > I am going to try upgrading to the newest BIRT version but I am hoping
    > that someone can confirm this is in fact a bug and not a configuration
    > issue that has a workaround for 2.0.0.
    >
    > Thanks,
    > Brian

  • HT203175 My Ipod does not sinc with all of my Itunes library, only the first few albums. I recently changed my operating system to XP from Vista, which was a pain, and due to my fault had to reinstate most of my albums and all of the playlists.

    Ipod does not sinc with all of my Itunes library, only the first few albums. I recently changed my operating system to XP from Vista, which was a pain, and due to my fault had to reinstate most of my albums and all of the playlists. How do I get my Ipod to sinc fully when I access Itunes?

    Recover media from iPod
    See this post from forum regular Zevoneer for options on moving your iPod data back to your computer.
    tt2

Maybe you are looking for