When a request is not a query?

I was tasked to change a site written by someone else, and I have a very strange problem with a particular query.
When I run the query in Query Analyzer (by replacing variables with their corresponding values) everything works fine and even copy - paste it out of profile and in the parser works very well, but running in the CF page gives weird results:

He claims to not be a query object, but has a recordcount property

When I cfdump, I get "1".

To access the SelectForSend.article_id works great as a single value (the correct value of the first row returned) but try to convert using ValueList() product: the article_id for column is not present in the named query SelectForSend. It is likely that you have misspelled the name of the column.

Try to use the query in a loop or exit me gives the cfloop tag attribute validation error.
The value of the query of the attribute, which is currently "SelectForSend", is not valid.


This set works very well on the online site on its CF5 server, but not on my test server on MX7.

I have attached the offending here, request if anyone has information that I know you very well! Examples of values for reactive power in the query are the following:

SelectSubscribers.EID is a string equal username of the user
Maximum is an int (1750, for example)

(My apologies for the formatting, or lack of!)

UPDATE: I fixed - the application is running in a loop, which was a loop on another request from above by selecting users to query with (the SelectSubscribers query). The request had been made to select *, and it turns out that the users table had a field called SelectForSend in it as well!

Moral of the story: never use select * in your SQL queries! (and probably also "publish the entire page if you post example code"...)

Bravo for your persistence with this Alexander - if it wasn't to test your suggestions I would have given any longer, there and moved on! : D

Tags: ColdFusion

Similar Questions

  • When you try to upgrade to photos in app store I get this message "the object you requested is not available in the store US." does anyone else have this problem or can you tell me how to find pictures in the app store

    "When you try to upgrade to photos in app store I get this message"the object you requested is not available in the store US."does anyone else have this problem or can you tell me how to find pictures in the app store" someone else meets this.  Is it me or is it pictures?

    Ever photos first? It should have been included when you first update of Yosemite and now El Capitan. I know that iPhotos updates get a message like that, but I didn't know the Photos app with a message with it.

    Update to iPhoto to Photos for OS X - Apple support

  • Request does not close when the button click Finish

    Hello friends,

    I am facing a serious problem. When I'm clicking to the end key (red button) my request is not quick closing device. He completes his task first, and then exits.

    What I do is. I call a web service and the download of the data on the server. Take some time to download. I'm creating a background thread that calls the web service. At this point I'm pop-up screen display to show progress.

    When the download is complete, the pop-up screen also deletes.

    Now what I want to do, when the popup screen, want to click on the end button or close the application using the menu close to point. But I'm not able to do this.

    Please help me for this problem.

    Thank you best regards &,.

    Manesh

    This is false:

    UT UploadThread = new UploadThread(); app.invokeLater (ut);

    You do not start a thread with the help of invokeLater. This method places the work in the thread of events - exactly the opposite of what you want to do.

    You start the thread like this:

    UT. Start()

    Please take a look at the Thread class.

  • I installed Acrobat DC (upgrade) and it will not be installed. When is request a serial number from the previous it is not accepted. I use 9.0 which doesn't show in the drop-down window. How should I proceed?

    I installed Acrobat DC (upgrade) and it will not be installed. When is request a serial number from the previous it is not accepted. I use 9.0 which doesn't show in the drop-down window. How should I proceed?

    Hi davidm1224,

    I regret that we do not any version upgrade to Acrobat DC of Acrobat 9.

    You can buy the full version of Acrobat DC.

    For more details, please visit: Plans and prices | Adobe Acrobat DC

    Let us know if you encounter any problem.

    Concerning

    Meenakshi Negi

  • When I try to create or convert a PDF file in Acrobat DC I get the error "your request could not be performed. Adobe Acrobat DC license has expired or not been activated. "This will happen even if Acrobat is installed via a Customization Wizard

    When I try to create or convert a PDF file in Acrobat DC I get the error "your request could not be performed. Adobe Acrobat DC license has expired or not been activated. "This happens even if Acrobat is installed via a package of the Customization Wizard of the product which takes care of activation and the license is not expired. What could be the cause of the issue?

    Uninstall your creative cloud application that basically allows you to download apps and redownload it. This should do the job. Your system just lost you license update.

  • The Performance counter requested is not a custom counter, it needs to be initialized read-only.

    I use SAGE ACt! database and I get this error message after loading.  The Performance counter requested is not a custom counter, it needs to be initialized read-only.

    Does anyone know how to remedy this?  I talked to the WISE and they say it's a problem of Windows registry, but I don't have the knowledge to deal with this.

    Hello

    Thanks for posting your query in Microsoft Community!

    Can I know what Windows operating system do you use?

    I would like you see below and check if that helps.

    Error message "Performance counter is not a custom counter, it needs to be initialized in ReadOnly" when you run Microsoft Dynamics CRM 4.0

    http://support.Microsoft.com/kb/958377#appliesTo

    Note: 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.

    Please report if you are still having the problem. I will be happy to provide you with the additional options that you can use to get the problem resolved.

    We can't wait to hear back on your part.

  • The object you have requested is not currently available in Apple music in India.

    "The object you requested is not currently available in the music for Apple in India." I see this error when I select an album. I'm not able to see the album. I am able to see only ablbum when I connect, but when I connect with my apple id I can't find this album.

    It is not available in India, the message said.

    This means that the copyright holder has no have license to distribute in India.

  • "The object you requested is not currently available in the music of Apple to the Canada."

    I get this error "the object you requested is not currently available in the music of Apple in Canada." every time I try to open a shared playlist of music apple link.

    Help!

    Hello tommy.ly,

    Thank you for being part of the community of Apple!

    As I understand it, you can't play an Apple shared music playlist. Being able to listen to shared playlists is a great way to discover new music.

    When music is allowed for music from Apple, the license States that the countries that the song can be played in.  Most likely, some of the music on these playlists simply are not available through Apple music to the Canada.

    See you soon!

  • Windows ip configuration is an internal error: the request is not supported

    I cleaned up a few viruses out of a Windows XP Professional computer to a customer, and now he can't go on the internet.  When I check ipconfig, I get the following error.

    Windows IP configuration
    An internal error has occurred: the request is not supported.
    Contact Microsoft technical support for more help.
    additional information: host name of request impossible.
    So I googled some results. Have replaced the TCPIP.sys file with one from another computer, I still get the same message.  I don't have a windows XP original disk to put it into recovery mode.
    I also ran the command "netsh int ip resetlog.txt" but which did not help either.  I saw on another blog.
    The NIC is to see that there is a power cable plugged into it as well.  Help, please!
    Thank you
    Trever

    Hello Trever,

    Follow the methods and check:

    Method 1: You can refer the following Microsoft Knowledge Base article and check.

    "Error 1068" error message when you try to enable Internet connection sharing

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

    Method 2: Try the SFC (System File Checker) scan on the computer.

    To run the System File Checker tool, follow these steps:

    a. click Start and click run, then type cmd in the box start the search.

    b. right click on cmd in the list programs, and then click run as administrator.

    c. If you are prompted for an administrator password or a confirmation, type your password or click on continue

    d. at the command prompt, the following line and press ENTER:

    sfc/scannow

    For more information, see the article:

     

    Description of Windows XP and Windows Server 2003 System File Checker (Sfc.exe)

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

     

    File system (CFS) Checker

    http://www.Microsoft.com/resources/documentation/Windows/XP/all/proddocs/en-us/system_file_checker.mspx?mfr=true

    Let us know if that helps.

  • copy error: error 0 * 8007045D: the request could not be performed because of an i/o device error

    When copying the files, I get this error which is lower than
    an unexpected error prevents the operation.make a note of this error code, which might be useful if you get additional help to resolve this problem:
    error 0 * 8007045D: the request could not be performed because of an i/o device error
    filename DSc02828
    file type jpg
    size 3.27 mb
    updated the 09.11.2012
    try to jump again cancel
    Whats wrong here

    Hello

    Thanks for posting in the Microsoft community!
    You have reached the right forum for your question.

    1. don't you make changes on the computer before the show?
    2. where exactly you are trying to copy the file?

    Run check disk on the computer.
    a. click Start , and then typecmd.exe in the start search and then press ENTER.
    b. right-click on cmd.exe and clickrun as administrator.
    (c) in the command prompt, type the following command and press ENTER.
    Chkdsk /f
    Note: You may be prompted by a yes / no question. TypeYes and press ENTER.
    d. restart the computer so that the disk check starts. It will take about half an hour to complete the process of error checking. Do not restart the computer when the current disk check.
    Note: when running chkdsk on the drive hard if bad sectors are found on the disk hard when chkdsk attempts to repair this area if all available on which data may be lost

    Summary the link:

    Error message when you try to perform a full backup on a Windows Vista-based computer: "the application cannot be performed because of an i/o device error."
    http://support.Microsoft.com/kb/952272
    Just reply with the results. I'd be happy to help you further.
  • Error message: the request could not be performed because of an i/o device error. (0x8007045D) while performing the backup does not back up Outlook

    Original title: Outlook backup problem

    I support my computer using an external hard drive.  "It does not backup Outlook, declaring: the request could not be performed because of an i/o device error. (0x8007045D).  What should I do?

    Hello

    1. How did you perform the backup? He used the Windows backup and restore functionality?
    2. you have any third-party backup software installed on your computer?
    3. have you done any software or hardware changes on your computer before this problem?

    To work on the issue, check the following link.

    Error message when you try to perform a full backup on a Windows Vista-based computer: "the application cannot be performed because of an i/o device error."
    http://support.Microsoft.com/kb/952272
     
    CHKDSK warning:
    Important: When running chkdsk on the drive if bad sectors are found on the disk hard when chkdsk attempts to repair this area if all available on which data can be lost.
     
    See also:
    Back up your files
    Hope the information is useful.
  • The request is not taken in charge (0 x 80070032) while trying to make a backup on an external hard drive

    Original title: the request is not supported (0 x 80070032)

    This is the answer I get trying to external and hard disk backup.

    • I have all of the products norton... I use ms essentials
    • My hd is big enough for this make upward
    • I use power power ac

    Hello
     
    Remember to make changes to your computer before the problem?
     
    Follow these steps and check if the problem persists.
     
    Step 1:
     
    You can check if the backup and restore services are started when you try to make a back up of files.
     
    a. click on start
    b. in the start search box, type Services
    c. click right on - RUN as ADMINISTRATOR

    These are the services that must be running when you try to make a return to the top.

    Automatic started Windows event log
    Task Scheduler started auto
    Backup Windows stopped manual
     
    Step 2:
     
    You may want to consider temporarily disabling your security software and then try to save.
     
    http://Windows.Microsoft.com/en-us/Windows7/turn-Windows-Firewall-on-or-off
    http://Windows.Microsoft.com/en-us/Windows7/disable-antivirus-software
     
    Note: Antivirus software can help protect your computer against viruses and other security threats. In most cases, you should not disable your antivirus software. If you need to 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, while your antivirus software is disabled, your computer is vulnerable to attacks.

    Step 3:

    I would also say that you check your disk for errors.

    Check a drive for errors

    http://Windows.Microsoft.com/en-us/Windows7/check-a-drive-for-errors

    WARNING:
    Important: All performing hard disk the disk check if bad sectors are found on the disk hard disk check is trying to repair this area if all available on which data may be lost

    Let us know.
     
     
    Aziz Nadeem - Microsoft Support

    [If this post was helpful, please click the button "Vote as helpful" (green triangle). If it can help solve your problem, click on the button 'Propose as answer' or 'mark as answer '. [By proposing / marking a post as answer or useful you help others find the answer more quickly.]

  • Publish in the In - App tests. "The object you requested is not valid."

    I am trying to test In - App, but I can not able to test it.

    I've implemented this code. and after that for the test test in the BlackBerry World sandbox.

    I downloaded my app as a project and added my a/c in the sandbox sand.

    I can't find my device app on AppWorld.

    When I add ContentID (virtual goods Id) in development mode.

    I can see my good virtual but there is a "Not available for this device" message in red.

    When I test my application through debugging I get this message "the object you requested is not valid."

    I also checked the version of the device and the build version. My version of the device is greater than my build version.

    I downloaded yesterday...

    Thanks for your reply...

    I found the solution...

    I tried to search for the application by name...

    I got my app via enter sku or Application id in AppWorld > parameters > Decelopement Mode > ContentID

  • Payment error: ' the object you requested is not valid.

    Hi, we have this problem on an application already approved and on sale. Trying to buy the digital good approved, we got the error. This has been discussed here.

    http://supportforums.BlackBerry.com/T5/payment-service/error-quot-the-item-you-requested-is-invalid-...

    Essentially in an application called Bikini.com created in webworks for BB 10 devices. It has been tested on a device of BB Z10 with OS 10.1 and also with an Alpha with the same version of the OS.

    In this application we have a good digital photo camera that is also approved on the supplier portal and all values are set correctly in the application. It downloads and installs perfectly, but when ask buying digital good app asks my BB ID credentials and after giving them the app shows a text box saying error in payment of the item you requested is not valid.

    Can any body any advice on this.

    Hello

    I checked with the BlackBerry World people and there is no digital good with content ID 38115891 for the app Bikini.com. Maybe is the ID for the digital for the premium version?

  • Save the 0x8078002A error code. The request could not be performed due to the i/o device error (0x8007045D).

    I tried to backup my C folder on a hard disk extrenal and received the following message:


    OT: Backup failed Windows7 0x8078002A error Code.
    Quote
    One of the files of backup could not be created (0x8078002A). The request could not be performed due to the i/o device error (0x8007045D).
    End of quote
    Can someone advise me?
    Nitin

    Hello

    Method 1
    Check the shadow copy Volume service in the services window. Use the following steps to check:

    a. Click Start and type services.msc in the search box

    b. Locate the Volume Shadow Copy service

    Make sure that the startup type is automatic. Steps to set the auto services

    a. Locate the service

    b. right-click on the service

    c. If the service is stopped and then starts the service

    d. Select Properties

    e. and in startup type, select automatic

    Method 2
    Try the steps listed in the link below: error message when you try to perform a full backup on a Windows Vista-based computer: "the request cannot be performed because of an i/o device error":http://support.microsoft.com/kb/952272 (for Windows 7)

    Note: Running chkdsk on the drive if bad sectors are found on the disk hard when chkdsk attempts to repair this area if all available on which data can be lost.

Maybe you are looking for