CAML query on SharePoint list not working after reaching threshold limit

I have written CAML query to filter and get list items. It was working fine, but the List items count crossed 5000 and its around 15000 items. In Server Object Model When i execute my query to get list items throws exception as " The
attempted operation is prohibited because it exceeds the list view threshold enforced by the administrator ".
My Code:
SPList list = web.Lists["ComplaintReturnsForm1"];
string QIRIdNo = fldQIRIdNo.Text;
SPQuery query = new SPQuery();
query.Query = "<Where><Eq><FieldRef Name='fldQIRIdNo' /><Value Type='Text'>" + QIRIdNo + "</Value></Eq></Where>";
SPListItemCollection itemcoll = list.GetItems(query);
Please help me to fix it. 

Hi Mario,
Thanks a lot for your reply.
query.Query = "<Where><Eq><FieldRef Name='fldQIRIdNo' /><Value Type='Text'>"
+ QIRIdNo + "
in this CAML query i have indexed my field "fldQIRIdNo". Now i have more then 5000 items in list, and
iam able to get my list item data without any error.
Please let me know if my action is wrong.

Similar Messages

  • Content query web part is not working after chaning the DNS entry

    Hi all,
    We have a content query web part in the sharepoint site but it is not working after changing the DNS Entry for the web site ipaddress from one server to other . But it is working fine on the server, if we try to access the site from other system content
    quey server its not working fine and its giving error message as bellow.
    Unable to display this Web Part. To troubleshoot the problem, open this Web page in a Microsoft SharePoint Foundation-compatible HTML editor such as Microsoft SharePoint Designer. If the problem persists, contact your Web server administrator.
    Can anyone help me to fix this issue please.

    I have custom XSLT . But it is working fine before changing the dns entry as soon as we change the DNS entry the content quey web part is not working. I tried to delete the content query web part and add it once again to the page, As soon as content query
    web part is added to the page the fallowing error message is displayed.
    Unable to display this Web Part. To troubleshoot the problem, open this Web page in a Microsoft SharePoint Foundation-compatible HTML editor such as Microsoft SharePoint Designer. If the problem persists, contact your Web server administrator.
    Can anyone help me to fix this issue please.

  • Superfish drop-down menu – built from a SharePoint list not working

    Hi All,
              I required multiple menus and I am following the below url to achieve my task .After following the all the steps I don't get any result.Can any one help me how can I over come from the issue
    http://spjsblog.com/2011/11/06/superfish-drop-down-menu-buildt-from-a-sharepoint-list/
    Thanks, Quality Communication Provides Quality Work. http://siddiq-sharepoint2010.blogspot.in/ Siddiqali Mohammad .

    Hi siddiqali,
    In SharePint, it provides navigation feature which is similar to yours. Have you tried to use it? If not, I suggest you use navigation feature.
    http://blog.incworx.com/blog/sharepoint-2010-tips-and-tricks/global-navigation-drop-down-menus-in-sharepoint-2010
    If the navigation feature cannot match your requirement, there is a solution similar to the function in the blog that you mentioned, you can download and deploy it to your SharePoint.
    https://www.nothingbutsharepoint.com/sites/eusp/Pages/SharePoint-2010-and-Mega-Drop-Down-Menu-Navigation.aspx
    Deploy solutions in SharePoint:
    http://technet.microsoft.com/en-us/library/cc262995(v=office.14).aspx
    Best Regards,
    Wendy
    Wendy Li
    TechNet Community Support

  • Lync 2011 - Contact List Not Working after Upgrade

    I updated my Lync 2011 client that was running perfectly fine.  Once the update was complete the contact list area of the application is blank.  There is no way to add new contacts or groups.
    I uninstalled and reinstalled the app with the update.  I am having the same issue.
    I am an Office 365 user with a Mac running Mavericks.
    Please help!

    Hi,
    The forum you posted is for Lync Server On Premise only. The issue is more related to Lync online, you can also post a question on Office365 forum for assistance. Thank you for your understanding.
    http://community.office365.com/en-us/forums/163/categories.aspx
    Best Regards,
    Eason Huang
    Eason Huang
    TechNet Community Support

  • SharePoint Online 2013 Workflows for one List stopped working after 07/08/2014

    Our client host application in Office 365 SharePoint Online 2013, and we just found that all workflows for one list stopped working after 7, Aug 2014. It kept displaying pop-up message "Something went wrong. To try again, reload the page and then start
    the workflow." when manually start a workflow for this List.
    Tested workflow for other list, there's no problem.
    Could anyone can help on this issue?

    Our client host application in Office 365 SharePoint Online 2013, and we just found that all workflows for one list stopped working after 7, Aug 2014. It kept displaying pop-up message "Something went wrong. To try again, reload the page and then start
    the workflow." when manually start a workflow for this List.
    Tested workflow for other list, there's no problem.
    Could anyone can help on this issue?

  • Ipohone 4 hotspot not working after upgrading to ios7.1 ?

    my ipohone 4 hotspot not working after upgrading to ios7.1 but my some friends having iphone 4s its works fine and those having iphone 4 it's not working although we all have same operator and same operating system (i.e ios 7.1).I think this is problem only  with iphone 4 users with ios 7.1 , so apple plz fix it in ur next update.

    You don't like the answer?
    Again it's not a bug, use a supported carrier if you want Personal Hotspot.
    Read the list one more time, if carrier is not on the list, IOS7.1 patch the loophole.
    Message was edited by: ckuan

  • Hp Mini 110 1013tu Keyboard is Not working after upgrade to win 7

    Hello need help on weird happenings to my keyboard..
    Before i upgrade the Operating System From Windows XP to Windows 7 the Hp Mini 110 is working fine..
    All keys on keyboard is working and touchpad is also working.
    But after upgrading to windows 7 some keys on keyboard are not working like z,x,c,v, left ctrl and other more keys..
    what do you think is the problem??
    Hardware Issue? or Driver Issue?
    please help thank you..

    Hello @MysticDragon ,
    Welcome to the HP Forums!
    I understand some of the keys on your keyboard are not working after installing Windows 7.
    I do not see any drivers available for your notebook for Windows 7 on the HP website, so their might be some compatibility issues as it's going to rely on Windows update to find current drivers. This doesn't mean it will not work, but I cannot say for sure that it will.
    Try this:
    1. Click Start.
    2. Click Control Panel.
    3. Click Clock, Language, and Region.
    4. Click Region and Language.
    5. Click the Keyboards and Languages tab.
    6. Click Change keyboards...
    7. On the General tab, make sure English (United States) - US is selected in the Default input language field.
    8. Click on any other keyboards in the Installed services list.
    9. Click Remove.
    10. Repeat for all other non-English (United States) keyboards.
    You may also want to try rolling back to Windows XP and see if the issue persists. It is possible the issue is coincidental and not the direct result of the update to Windows 7.
    Let me know if this works!
    Please click the "Kudos, Thumbs Up" at the bottom of this post if you want to say "Thanks" for helping!
    Please click "Accept as Solution" if you feel my post solved your issue, it will help others find the solution.
    The Great Deku Tree
    I work on behalf of HP.

  • Microsoft Excel 2013 add-in not working after update

    I have originally posted this question at answers.microsoft.com and have been re-directed to post here. (http://answers.microsoft.com/en-us/office/forum/office_2013_release-excel/microsoft-excel-2013-add-in-not-working-after/298aff03-c90a-4a2a-b67b-07b6f3c7648c)
    We are an organization with over 200 users and are currently using Microsoft Office 2013 (Click-to-run install via Office 365 portal), we have noticed that in Excel when we apply the monthly Office update, the add-in (e.g. Analysis Toolpak) would stop working
    with the following error message displayed.
    I tried updating from 15.0.4631.1004 to 15.0.4641.1003,
    15.0.4641.1003 to 15.0.4649.1004, they all gave the same results.
    I have checked the captioned file path and it is indeed missing, I think the update mechanism messed up the add-in somehow, a full re-install would fix it as quick or online repair is not doing the trick.  This is not the only add-in it is affecting
    as there are some 3rd party add-ins are affected as well.
    Please advise how we can fix this without needing to re-install Microsoft Office.  Thank you!

    I don't have 365 or C2R so I can't address your main question, so just a few thoughts which may not be applicable in your setup.
    Check the addin manager to see if your addins are listed and ticked. If listed (ticked or not) check the registry to see where the location is written, if ticked look here
    HKEY_CURRENT_USER\Software\Microsoft\Office\15.0\Excel\Options
    and look for keys named OPENx, where x is the order number the addin is loaded
    if not "ticked" instead of \Options look in \Add-in-Manager
    With a VBA macro or in the VBE's immediate window return
    Application.LibraryPath 
    Assuming you found a listing in the registry do the paths match, if not look in the .LibraryPath to see if the addins got unloaded there into the subfolder \Analysis
    If you find the file(s) try un-installing and reinstalling the addins, but browse to the actual folder don't simply tick. If you can't find the files, copy them (from a different system) to the folder indicated by .LibraryPath. In the addin manager uninstall
    them if installed, close the manager, open it again and the addins should be listed, tick to re-install.
    You say your other addins don't work, I wonder if some mixup has occurred with what Excel thinks is the default path, but note for other addins the default addins path is returned by app.UserLibraryPath
    Are you using a Chinese system?

  • IPhone 4's WIFI has been not working after upgraded to 6.1.3(10B329)

         My IPhone 4 was working fine with its WIFI when it is running in default IOS version, I believe it was 5.x.x version, however after I upgraded to 6.1.3(10B329) then WIFI got very aweired issues again and again.starting from then I never get my WIFI working again:
    1. Sometimes I can connect to my home's network and keep alive for 1-2 minutes then WIFI will not work on IPone, my home's router is not working either, I need to restart my home's router manually;
    2. I can connect to my office's network and keep alive 5-10 minutes then WIFI is not working, however my office router is not affected; however the following days then I can't connect WIFI to office's network any more.
    3. I tried to connect to other public area's free network via WIFI, however never joined in.
         I called Apple's service centre couple of times they have no clues, they said they never met this problem before for WIFI not working after upgraded to IOS 6.1.3 and no suggestions from them at all, every time I called them they gave me the same suggestion, such as restore-re-install, check your own router etc, nothing help, however my friend bought a brand new IPhone 4 with default IOS version 6.1.3 which is working perfectly without any issues on its WIFI then I believe this is a completely software issue.
         I know this is a general issue for Apple users and I refuse to upgrade to higher version as I am not sure the higher version can fix this issue however I am pretty sure the newer version of IOS did bring a lot of new bugs, anyone can provide me any suggestions guys ? THANKS A LOTTTTTTTT!!!!!!!!!!!!!!!!
    Terrence

    I have fixed this issue after upgraded my router's firmware finally, this is a completely compatibility issue between Apple and other third party manufactures, hopefully we can get compabitlity list for each future IOS version ahead of time which can potentially avoid such kind of embarrassing situations moving forward, thanks !

  • My laser jet 100 color MFP M175nw is not working after windows 8.1 upgrade,

    my laser jet 100 color MFP M175nw is not working after windows 8.1 upgrade, driver on your website fails to setup at 83 % with an error message

    Welcome to the HP Forums  MillaMagia,
    I see by your post that the USB isn't being recognized.
    I can help you with this issue.
    Are you using the same USB cable? (known good USB cable)
    You want to use the normal USB slot 2.0 cable and not the latest USB 3.0.
    USB 3.0 are supposed to be backwards compatible.
    Try another USB port on the Laptop, some of the USB ports are more powered then others.
    I have provided a document to see if the printer is partially recognized in the device manager, which is causing the printer not to be recognized again. (the uninstall from the CD should have removed the entry and the printer from the registry)
    Leave the printer turned on and the USB cable connected directly to the computer and the printer's power cord directly into a wall outlet.
    How do I get into Windows Device Manager?
    Here is a document for Identifying problems in Windows Device Manager.
    Check to see if there are any hardware driver conflicts, you might see a ! mark or a red x beside a device with a conflict or unknown device, look under universal serial bus controllers, look for USB printing support or mass storage device, delete the entry by right clicking and select uninstall, OK.
    Let me know how it was listed. (screen shots welcome)
    If this is a Laptop then check the power management settings.
    Access the device manager. Windows 8-How do I access the Device Manager.
    Select universal serial bus controllers from the list, for each USB root hub, right click and left click on properties, for power management remove the check mark for "Allow the computer to turn off this device to save power". It allows the computer to limit or turn off power for this device.
    Disconnect the USB, run the full uninstall and reinstall the printer software again.
    If you need further assistance, let me know.
    Have a nice day!
    Thank You.
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos Thumbs Up" on the right to say “Thanks” for helping!
    Gemini02
    I work on behalf of HP

  • SB04100 Sound Blaster Card not working after computer rebuild

    =SB0400 Sound Blaster Card not working after computer rebuildZ I did a full disk format and reinstall for a friend on a Dimension 3000, running XP SP3. There is no sound at all. Speakers are good, tested on another system. Model number on the back of the sound card is SB0400, so I assume this is an older 24 bit PCI SoundBlaster card. Although I reinstalled all drivers from Dell, I found no drivers for this. The Creative site has no listing for this model.
    Computer does not seem to recognize the card. Have not opened the box yet but I assume if I were to remove and then reinstall the card it would be recognized (?) I then have to find an SB0400 driver.
    Does anyone know where I can find an SB0400 driver ? Does the strategy of pulling and reinstalling the card make sense ? (I have really avoided tampering with any of the hardware on this box -- since it is not mine.)

    Re: SB0400 Sound Blaster Card not working after computer rebuild? Thanks much for your response. Problem solved for now. I removed the board and then reinserted it, after which I was able to download the drivers directly. Some of my difficulty with this whole process has been ) I didn't know there was no working speaker in the computer and 2) I apparently misunderstood the BIOS settings for this. I re-set it up as an add-on board during the troubleshooting process. After loading the driver, I went back to the original setting (don't recall what it was but it was for integrated sound). The setting for integrated sound works fine, with external speakers and the new 24 bit driver. Still some noise (popping and static) but this board shares the bus with 2 other cards one of which is a wireless network card. May be a PCI latency issue but I'm reluctant to change that because the network card is a bit shaky anyway.
    Everything works for now -- I'll be glad to get this particular computer out of my house !

  • Personal hotspot not working after upgrading to ios7

    Personal hotspot not working after upgrading to ios7

    I was having this problem (iphone 5 wouldn't work as hotspot for my PC laptop) and had tried everything suggested on these message boards, so I finally went to the Apple Genius Bar and they fixed it for me.  Here's what they did:
    1) Turned the Hotspot off on my iphone
    2) Went to the Control Panel on my laptop to "Network and Internet" > "Network and Sharing Center" > "Manage Wireless Networks" (on the left navigation panel) and deleted my iphone from the list of WiFi connections I've attempted.
    3) Flipped the manual WiFi switch on my laptop to Off and then back On again (to reset it)
    4) Turned the Hotspot on my iphone back on
    After that, when I tried to connect, it worked.  Hope this works for someone else.

  • Security and privacy system preferences not working after Lion install.  What to do?

    Security and privacy system preference not working after Lion install.  Not sure if it happen with Lion installer or after updating. What to do?

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It won’t solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    Third-party system modifications are a common cause of usability problems. By a “system modification,” I mean software that affects the operation of other software — potentially for the worse. The following procedure will help identify which such modifications you've installed. Don’t be alarmed by the complexity of these instructions — they’re easy to carry out and won’t change anything on your Mac.
    These steps are to be taken while booted in “normal” mode, not in safe mode. If you’re now running in safe mode, reboot as usual before continuing.
    Below are instructions to enter some UNIX shell commands. The commands are harmless, but they must be entered exactly as given in order to work. If you have doubts about the safety of the procedure suggested here, search this site for other discussions in which it’s been followed without any report of ill effects.
    Some of the commands will line-wrap or scroll in your browser, but each one is really just a single line, all of which must be selected. You can accomplish this easily by triple-clicking anywhere in the line. The whole line will highlight, and you can then either copy or drag it. The headings “Step 1” and so on are not part of the commands.
    Note: If you have more than one user account, Step 2 must be taken as an administrator. Ordinarily that would be the user created automatically when you booted the system for the first time. The other steps should be taken as the user who has the problem, if different. Most personal Macs have only one user, and in that case this paragraph doesn’t apply.
    Launch the Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ If you’re running Mac OS X 10.7 or later, open LaunchPad. Click Utilities, then Terminal in the page that opens.
    When you launch Terminal, a text window will open with a line already in it, ending either in a dollar sign (“$”) or a percent sign (“%”). If you get the percent sign, enter “sh” (without the quotes) and press return. You should then get a new line ending in a dollar sign.
    Step 1
    Copy or drag — do not type — the line below into the Terminal window, then press return:
    kextstat -kl | awk '!/com\.apple/{printf "%s %s\n", $6, $7}'
    Post the lines of output (if any) that appear below what you just entered (the text, please, not a screenshot.) You can omit the final line ending in “$”.
    Step 2
    Repeat with this line:
    sudo launchctl list | sed 1d | awk '!/0x|com\.(apple|openssh|vix)|edu\.mit|org\.(amavis|apache|cups|isc|ntp|postfix|x)/{print $3}'
    This time, you'll be prompted for your login password, which won't be displayed when you type it. You may get a one-time warning not to screw up. You don't need to post the warning.
    Note: If you don’t have a login password, you’ll need to set one before taking this step. If that’s not possible, skip to the next step.
    Step 3
    launchctl list | sed 1d | awk '!/0x|com\.apple|edu\.mit|org\.(x|openbsd)/{print $3}'
    Step 4
    ls -1A /e*/mach* {,/}L*/{Ad,Compon,Ex,Fram,In,Keyb,La,Mail/Bu,P*P,Priv,Qu,Scripti,Servi,Spo,Sta}* L*/Fonts 2> /dev/null
    Important: If you synchronize with a MobileMe account, your me.com email address may appear in the output of the above command. If so, anonymize it before posting.
    Step 5
    osascript -e 'tell application "System Events" to get name of every login item' 2> /dev/null
    Remember, steps 1-5 are all drag-and-drop or copy-and-paste, whichever you prefer — no typing, except your password. Also remember to post the output.
    You can then quit Terminal.

  • My MBP  15" early 2008 / 10.6 ((2.4GHz Core 2 Duo/2GB/256MB VRAM/200GB 5400rpm)  is not working after looking to aYouTube short film. It made a strange strong noise , I closed it and when I switched on again I have a gray display and a frozen wheel o

    My MBP  15" early 2008 / 10.6 ((2.4GHz Core 2 Duo/2GB/256MB VRAM/200GB 5400rpm)  is not working after looking to aYouTube short film. It made a strange strong noise , I closed it and when I switched on again I have a gray display and a frozen wheel on it... Can you help? Do I have to repair or change any part ?  Thanks

    That model has a known fault in that Nvidea sold Apple and other computer manufacturers bad GeForce 8600M GT video chipsets that failed eventually. Apple had a program that repaired this at no cost to the owner but it expired almost two years ago.
    If this is what happened to yours, and the symptoms suggest so, the only proper fix is a new logic board and I amd pretty sure Apple no longer has parts. When my Late 2007 MBP (same faulty chipset) failed, Apple told me there were no more parts and they could not even do the fixed-rate "depot repair" on mine even though I was willing to pay the ~US$300 for the repair.
    The early 2008 MBP is on the vintage and obsolete list:
    Vintage and obsolete products - Apple Support
    The fact that yours is shown as "vintage" means Apple will not work on it but an independent service provider MAY be able to get the parts from Apple. However, as so may new logic boards were required to satisfy the repair program, from a practical standpoint boards for these are hard to find.

  • F5 is not working after update of windows 8.

    f5 is not working after update of windows 8 in my laptop. Rest of the function keys are working.
    my laptop details are
           Product Name:    HP Pavilion 15-e008tu Notebook PC  

    Hello prem23,
    What did the F5 key do before? According to your manual in the Action Keys list (page 32-33), that key wasn't tied to anything unless its just for page refresh.
    If a Windows update breaks something, the best way I know to correct the problem is to uninstall that update.
    OR
    You can revert Windows back to an earlier state before the update with a Restore Point provided you didn't turn off that feature. If for some reason it is turned off, you will not be able to revert to that point as one was not created.
    After the restore, only install one windows update at a time until you find the culprit and uninstall it. This way you have the other updates installed. YES this can be a long process.
     http://h10025.www1.hp.com/ewfrf/wc/document?docnam​e=c03327545&cc=us&dlc=en&lc=en

Maybe you are looking for

  • Imac 27 input video

    I want to play my xbox using my 27 inch brand new imac , any ideas?

  • Base Value minus taxes

    Dear All I calculate a amount e.g base value - taxes base value of a condition 70 taxe                               5 Base value - taxes       70-5 =65 where i found that taxes are adding in base value instead substracting i want to use any general

  • Can't register APP together with MacbookAir

    I bought the APP for Macbook Air and about to register it together with Thunderbolt Display which I bought the same time with Macbook Air. I can't pass the verification step of entering serial number for Thunderbolt Display. It keeps telling me that

  • IPhone 4 - switching sync from Mac to PC

    Ugh, I can't believe I'm actually writing this... I just got a new iPhone 4 and am devastated to discover that I can't use my Mac to set it up or sync as it's running 10.4.11 - yeah I know, I didn't realise, only myself to blame etc etc. Anyway, I'm

  • Syncing from an external hardrive?

    I want to get an 80G Ipod Classic, but my laptop's hardrive is only 60G. I was wondering, if I got an external hardrive, put all my music and movies on that, could I still sync it all without having to put it on my laptop's hardrive?