"there were not enough threads in the threadpool object to complete the operation" exception

Post Author: crystalmatrix
CA Forum: .NET
I have a WinForm application using a Crystal Report Viewer control that in turn connects to a CR web service to display report. The client side application runs on WinXP SP1 with .Net framework 1.1, and the server is Win2k with ASP.Net 1.1. I am using CR XI out of the box.
Users would periodically get "there were not enough threads in the threadpool object to complete the operation." exception when trying to launch the report viewer connected to the web service. The web service is a standard example implementation derived from CrystalDecisions.Web.Services.ReportServiceBase class. The problem usually happens when the user tries to open multiple report viewer forms, but once they get the error, it would continue to happen even after the user shuts down all viewer forms and then tries to launch a new one.
There are some posts on the web regarding multiple asynchronous HttpWebRequest draining threadpool when running simultaneously and each one taking a long time to complete. However, our reports all run pretty quickly and results are usually returned before the next report starts to run. So my question is: does Crystal Report Viewer control has a problem with web service in that it may hold the HttpWebRequest thread even after the report is returned, or any other problem that may prevents the asynchronous thread being released back to the Threadpool? Anyone has experienced similar problems and has a workaround?
Any advice is appreciated.

Find your serial number quickly

Similar Messages

  • When Time Machine tries to back up to my Seagate HD before the HD is fully on, it fails. Then Time machine thinks it needs to back up the entire drive and there's not enough room. It won't just do the backup of new info now. Any thoughts?

    When I try to do a Time Machine backup with my Seagate HD, and if I accidentally have Time Machine automatically on, it will fail if the HD is not fully on and recognized by the computer yet. But the problem is that when this has happened (twice now), it seems it loses all knowledge that it has backed up using Time Machine before and it will only try to back up the entire Mac HD to the Seagate. The Seagate already has 147 GB of data from prior Time Machine backups and I only need to backup the latest stuff since my last backup, but it won't let me do that. It tries to do the whole drive and it says it can't because there is only 135 GB of space left and it needs to backup 147 GB. Anyone know how to fix this and get it to start backing up again without erasing the drive and starting over? That's what I did last time. I erased the Seagate and then reset it as my Time Machine drive and it started working fine again until it failed and reverted to the problem. Thanks

    These instructions must be carried out as an administrator. If you have only one user account, you are the administrator.
    Launch the Console 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.
    ☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
    Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left. If you don't see that menu, select
    View ▹ Show Log List
    from the menu bar.
    Enter the word "Starting" (without the quotes) in the String Matching text field. You should now see log messages with the words "Starting * backup," where * represents any of the words "automatic," "manual," or "standard." Note the timestamp of the last such message that corresponds to an abnormal backup. Now
    CLEAR THE WORD "Starting" FROM THE TEXT FIELD
    so that all messages are showing, and scroll back in the log to the time you noted. Select the messages timestamped from then until the end of the backup, or the end of the log if that's not clear. Copy them to the Clipboard by pressing the key combination command-C. Paste into a reply to this message by pressing command-V.
    If all you see are messages that contain the word "Starting," you didn't clear the text field.
    If there are runs of repeated messages, post only one example of each. Don't post many repetitions of the same message.
    When posting a log extract, be selective. Don't post more than is requested.
    Please do not indiscriminately dump thousands of lines from the log into this discussion.
    Some personal information, such as the names of your files, may be included—anonymize before posting.

  • HT201272 There were not enough pages for all apps to appear; so now I've made more room with folders but still can't get app to appear on pages.

    Need to make app appear on iPhone screen; previously, wasn't enough pages, but now have created folders.  Still app won't show up unless I search for it.

    Thanks Tom, that's very helpful (and quick too).
    I was using Custom text so yes, that explains it.
    Ah wait, I can make the text primary storyline just for applying the transition and then go back to where my other clips are primary storyline? That would solve the issue (and some others, too)! Great!
    I will play around with the copy/paste.
    Oh, one more thing. This seemed to be a bug, a very frustrating one .
    I made my item in several projects before glueing the 5 parts together. The first two I could just do by copying and pasting from another project. However, the 3rd copy-paste just wouldn't work. FC continued to paste the former edit. Even when I quit FC and restarted. Even when I deliberately emptied the clipboard by pasting some line of text from another program. Even when I turned the part of the project that I wanted to transfer into a compound clip. In the end I solved it by exporting the project and importing it as a file into the Events so that I could paste it, and this worked. (2nd time round because the first time all my text effects had resetted).
    The next copy-paste, part 5 of the video, worked fine again. I've no idea why this happened, but it is probably too specific.
    Anyway, thanks again Tom, greatly appreciated.

  • Not enough thread ??

    Here is the problem which very confuse for me, I've got a web system which is using Struts framework and DBCP connection pooling, web server has put in DM Zone, Oracle DB place in intranet, and the firewall just open the port for communcate between web server and DB.
    The problem is, when the system run a couple of time, it will dead automatically, and the error message will display there is not enough thread, please increase it. but I don't think it is the matter.Coz when this error occur, I try to connect to this db with using another application in the same web server, it is fail, the only way is to restart the web server to solve this problem.
    The question is, is it really the matter of not enough active thread ? I've set it to 25 active thread and max active thread is 100, in the connection pooling, the active connection set to 5, and the application has about 1000 user.
    Can I trace where's the problem is ?? I try to gen the thread dump, but don't know how to read it, just found that most of the thread a doing the same operation : get connection. is it the problem between the web server and db connection ? or the problem of DM Zone ??How do I know what the actual problem is ??

    I found some interest things:
    There is 2 programs, firstly, program A will get the
    connection from pool, then run a loop, in the loop,
    it will call program B, program B will get a
    connection from pool also, No it won't.
    Connections exist only with in an application. A pool of connections in one application can not be used by another.
    after program B finished,
    it release the connection and back to program A and
    so on. After program A finished, the connection will
    relase also.
    if the program A finished, the web server cannot be
    shut down normally (web server is using jrun4 and it
    cannot be stop it by using the cmd "jrun -stop
    default " and must kill the process manually)
    but if program a has not run the loop to call program
    B, everything is fine and the server can stop
    normally.As a guess, program B is not actually exiting. Or something in the way you are handling the start up of process B and shutdown is wrong.

  • Bridge CS5.1 is not respoding.  Getting error messages that there is not enough memory and need to clear central cash.

    On MAC OS X 10.7.5.  Editing raw files in Bridge and have been getting error messages every time I open Bridge that there is not enough memory.  Other messages are to clear the central cache.  Can't find the central cache on my system.  Please help!

      Have you tried completing the pano without selecting edge fill. Then crop the result or use the clone stamp to fill the blanks.

  • Connecting to Samba server "cannot be copied ...there is not enough space"

    I have a user running OS X 10.4.11 who suddenly can no longer connect to our departmental Samba server. To be more specific, he connects just fine - but when he connects, it tells him "zero KB available" and if he tries to copy a file (a very small file) to the server, it gives him the error message:
    +the item cannot be copied because there is not enough space+
    I know for a fact that the problem is NOT a problem with the server nor userid because:
    * the server has 7.5 TB of space available
    * I can connect to the server from another Mac (running OS X 10.5) and can write/copy all the files my little heart desires.
    Suggestions?

    Couple of ideas...
    In Finder, select Go menu>Go to Folder, and go to "/volumes".
    Volumes is where an alias to your hard drive ("/" at boot) is placed at startup, and where all the "mount points" for auxiliary drives are created for you to access them. This folder is normally hidden from view.
    Drives with an extra 1 on the end have a side-effect of mounting a drive with the same name as the system already think exists. Try trashing the duplicates with a 1 or 2 if there are no real files in them, and reboot.
    Trash this file & reboot...
    /Users/YourUserName/Library/Preferences/com.apple.recentitems.plist

  • "no photos were copied to the ipod because there is not enough free space"

    i've been trying to download photos on my nano for weeks and i always receive this message :
    "no photos were copied to the ipod because there is not enough free space on the ipod to hold your photos and albums."
    the weird thing is that there IS free space; i actually made some (there are 18 available MB right now on my nano). and the folder containing the photos i am trying to download is far from 18 MB. but i still get the same message.
    anyone knows what i could do?? thanks!!

    R U sure you have enough space? Double check to make sure you are only trying to upload the pictures you want on your ipod not all the pictures on your computer (more than 18 MB).

  • HT204022 This iphone cannot be backed up because there is not enough iCloud storage available.  Can you help up delete some of our pictures that are backed up so that we can continue to back up the phone?

    This iphone cannot be backed up because there is not enough iCloud storage.  Can you help me take the pictures off the icloud since I backed them up on my pc and would like to continue to use the storage in icloud to back up with.

    you are correct. We are not understanding each other. I am attempting to provide a model for good habits for the OP. You have provided only a short term brief intervention which leaves a gaping hole for data to get lost in.
    At no point did I say that merely backing up the device without saving the camera roll pictures would delete them.  Please stop inferring what you think I mean, you are confusing the issue. I said that doing so was SETTING UP the OP for data loss. This behavior encourages the OP to simply shut off their backup for their pictures. At no point did you instruct the OP to delete the old pictures from the device. The set up part is this... if they simply turn off the camera roll backup, and aren't implementing some form of management for the pictures on the device, then the pictures are only being actually saved, in a "permanent" manner when the OP backs up to itunes. That's all fine and good, but this also presumes that the OP will always do so on a regular basis, will never forget to do so even when there are a ton of new, very important pics to worry about.
    My suggestion allows the OP to continue to use the automatic backup feature the way it was intended...automatically...for the information that has not yet been saved to the user's computer. The whole point here is that the OP can keep their pics AND still benefit from automatic backups without disabling the cameral roll from being backed up into the icloud.
    Should this poster have walked into my fruit themed store, I would recommend that the OP do the following:
    1. back up the pics to the computer (done)
    2. REMOVE THE BACKED UP PICS FROM THE PHONE
    3. Learn about and utilize PHOTOSTREAM (including its limitations like no videos, only 1000 pics and only for 30 days) to make backing up and saving the photos from the phone easy and simple
    4. Explain how backup works and what it backs up
    5. Reassure the OP that even if they haven't backed up to itunes lately or have not bothered to properly save their pictures using another device and PHOTOSTREAM, that their oversight won't be catastrophic in circumstances where failure to do either of these things and being met with tragedy, does not necessarily mean that the OP is SOL. The automatic backup is another line of defense against data loss and can save the OP's precious memories, TEMPORARILY, until they can be transferred to another device for "permanent" storage. Why disable a line of defense?
    I see it all the time. Full icloud, camera roll turned off, device not backed up to itunes nor pics saved for weeks because they were too busy, didn't feel like it or were just plain lazy.  Then, a wedding, birth, Halloween, Naughty time with the hubby, whatever it may be its an event with a LOT of pictures taken. Then, then next day or so, before the manual saves can happen, the device is damaged and needs to be replaced. There's no backup, nothing saved and the user loses ALL of the pics from the special event. IF they had properly managed their pics and only kept stuff on there that they really needed, deleted the rest after saving their pics elsewhere, and thus kept the backup size small enough to use, the backup would happen unattended overnight, and even though catastrophe still happens,  all the pics from the big event are recovered on a new device using the iCloud backup.
    Do you see the difference?  I hope you do, and i hope so does the OP.  I have a great deal of experience here, take advantage of it or not. Accept my help or be stubborn about it, Your choice. I am finished posting into this thread now.  Take care and good luck with your data.

  • I changed my LCD last day and now i noticed all my pictures on my phone are gone. I tried to restore the back that I got yesterday but it wont let me because its telling me there is not enough space on my phone!!!

    I changed my LCD last day and now i noticed all my pictures on my phone are gone. I tried to restore the back that I got yesterday but it wont let me because its telling me there is not enough space on my phone!!! That's wierd because I didn't download any app or anything else since my last backup and on the other hand about 3000 pictures are gone, how come there is not enough space left! I also check my usage on my phone and it shows that i have about 7.0 GB pictures!!! BUT my photos is empty! I want my picture back on my phone any solution anyone?

    Thanks for your reply!
    I just called the guy who changed my LCD and asked him what happend, he said there were no pictures on your phone when you gave it to me! i know he is lying tho!
    My apple warranty is over and I have to pay them to get some help over the phone!

  • Issue with turning on project 2010 / 2013 - "There is not enough memory to complete the operation. To free up available memory, close programs, projects, or windows you aren't using, and then try again."

    I get the following error after the installation and configuration window of MS Project: "There is not enough memory to complete the operation. To free up available memory, close programs, projects, or windows you aren't using, and then try again."
    It happens both with MS Project 2010 and 2013 on a Windows 7 desktop. 
    I tried installing / uninstalling Office 2010, MS Project, tried installing 32 and then 64 bit versions, clean up, disk error checker, startup changes (msconfig), anti virus, running as Windows 7 and then Windows XP compatible mode. 
    Nothing helps. I see this issue reported as early as 2007 version of MS projects on Microsoft forums, but I do not see any solution anywhere. Any suggestions on how to fix the issue without having to reformat hard drive? Every other application, including
    all other Office programs work seamlessly. 
    I also tried Microsoft support, after an hour and a half of basically doing what I did before, I was told I have to pay 99$ for "premium" support, so someone can look at this bug. 
    I have 16 Gb RAM and more than 200Gb or hard drive free, so actual memory is not the problem. 

    This issue was originally reported with MS Project 2007 and keeps popping up since.
    A quick Google search provides more than 200K pages of results of this issue:
    https://www.google.ca/webhp?sourceid=chrome-instant&ion=1&espv=2&ie=UTF-8#q=There+is+not+enough+memory+to+complete+the+operation.+To+free+up+available+memory%2C+close+programs%2C+projects%2C+or+windows+you+aren't+using%2C+and+then+try+again.
    And 193K results on Bing:
    http://www.bing.com/search?q=There+is+not+enough+memory+to+complete+the+operation.+To+free+up+available+memory%2C+close+programs%2C+projects%2C+or+windows+you+aren%27t+using%2C+and+then+try+again.&go=Submit&qs=n&form=QBLH&pq=there+is+not+enough+memory+to+complete+the+operation.+to+free+up+available+memory%2C+close+programs%2C+projects%2C+or+windows+you+aren%27t+using%2C+and+then+try+again.&sc=0-0&sp=-1&sk=&cvid=4cb023c1fbd94ec2bba9821b095f21f2
    Computer was defragged already. I run more tests, and specifically when MS Projects tries to run, it tries to take all memory, more than 300Gb, on the computer. (DropBox was running at the same time, and warned that there were no space. As soon as MS Project
    stopped attempting to configure itself, everything came back to normal and the available space became available again.)
    Looking through older forum posts, looks like this application tries to take "unlimited" amount of memory. Some registry fixes are mentioned potentially, but I was not able to apply them. 
    Since everything else works, this is a MS Project bug reported by multiple users on various versions of Windows, including Vista and 7, so please provide a fix and not 'not a know bug' lie. All the premium support will say, is to format the hard drive, unless
    they have a patch or a registry edit solution. If the latter is true, since the issue exists for multiple years, it should have been already been provided to users.
    Also, I am not running a SQL server, or any server, this is an installation on a local machine. 

  • The operation could not be completed because there is not enough space on the destination disk

    I have 124Gig of space left on my HD, when I try to export my movie i get this error "The operation could not be completed because there is not enough space on the destination disk"  I have read some of the threads went in and deleted the iMovie Preference file but no luck.. any Ideas?  Thanks!

    You need the System DVDs that originally came w/the computer in order to troubleshoot.  All Macs prior to & including ML came w/System DVDs. 
    You can get replacement System Install & Restore CD/DVDs from Apple's Customer Support - in the US, (800) 767-2775 - for a nominal S&H fee. You'll need to have the model and/or serial number of your Mac available. 
    If you're not in the US, you may need to go through the regional Apple Store that serves your location to find the contact number. Here's a list of links to all of those - http://store.apple.com/Catalog/US/Images/intlstoreroutingpage.html  Another resource:  International Support Phone #s.

  • Could not complete the command because there is not enough memory (RAM)

    Hi Folks:
    I am running into an error (Could not complete the command because there is not enough memory (RAM)) when trying to open any file of any size or any format.on my Mac.
    This error occurs when:
    No other applications or files are open
    Upon a fresh reboot
    After Repairing Disk Permissions
    The files can be opened by Fireworks and other image editor apps or video apps
    My SPECS:
    OSX 10.5.8
    4GB 667 MHz DDR2 SDRAM
    120.41 GB Free space available
    Graphics: GeForce 8600M GT - VRAM 512 MB
    PhotoShop settings:
    Available RAM 3072 - Let PS use 90% (2764)
    I really appreciate the help.

    http://forums.adobe.com/thread/370739?tstart=0
    http://forums.adobe.com/thread/370735?tstart=0

  • "Could not complete the Save As command because there is not enough memory (RAM)"

    I'm trying to save a file and an error keeps popping up saying ""Could not complete the Save As command because there is not enough memory (RAM)". I'm using Adobe Photoshop CS5 Extended. I have no other windows open. I checked the RAM allocated to Photoshop, in the Preferences > Performance tab, and I have tried it at 60% (980 MB) and 90% (1483 MB), still with no luck. I tried Purging the undo, clipboard and history with no help either.
    I read a couple of other posts that were similar to this and people suggested " resetting the preferences as described in the FAQ." but is there any way to do this without closing Photoshop?
    I can't loose this file, so any help woudl be appreciated.

    I'm sorry to hear it locked up on you, and with only a GIF saved (which is probably useless).  Perhaps I should have suggested Select All / Copy first.
    As far as what went wrong...  It might be helpful to know some of the specifics:
    What operating system are you running?
    Do you see any errors in the Windows error logs corresponding in time to this problem, and if so, what are the specifics?
    Do you have Photoshop updated to 12.0.3?
    What video card do you have, and do you have updated video drivers?
    Is OpenGL enabled in Edit - Preferences - Performance?
    What kinds of operations did you do since you started the session of Photoshop that ultimately went bad?
    What other applications were you running?
    What kind of computer is it (specifically, can you install more RAM)?
    It might not be possible to pinpoint just what went wrong, but perhaps we could make some general suggestions that might help.
    -Noel

  • Could not complete the paste command because there is not enough memory (RAM)

    Hi,
    Anybody can help me please? i am getting this message again and again. i tried to restart system and re install Photoshop no luck.
    "could not complete the paste command because there is not enough memory (RAM)"
    will be great if i get reply asap.
    Thanks,
    Zia

    There are no mind readers or clairvoyants in these user forums.  Give us a break and provide plenty of details.
    BOILERPLATE TEXT:
    If you give complete and detailed information about your setup and the issue at hand, such as your platform (Mac or Win), exact versions of your OS, of Photoshop and of Bridge, machine specs, what troubleshooting steps you have taken so far, what error message(s) you receive, if having issues opening raw files also the exact camera make and model that generated them, etc., someone may be able to help you.
    Please read this FAQ for advice on how to ask your questions correctly for quicker and better answers:
    http://forums.adobe.com/thread/419981?tstart=0
    Thanks!

  • The iPhone could not be restored. There is not enough memory available.

    Hi guys,
    you all seem the be fairly acquainted with all possible iPhone problems. I was searching this forum for an answer to my problem. iTunes won't restore my iPhone because of an error mentioned in the title of this topic - The iPhone could not be restored. There is not enough memory available. I haven't found anything on the net that I haven't tried yet.
    Am using Windows XP, iTunes 7.4.3 and the iPhone used to be on the firmware 1.0.2. I was trying to do the restore but it gave me that error message. I tryed uninstalling everything with WinASO registry cleaner, iTunes, apple device thing(or whatever), installed it 3 times, tried to force the previous firmware with Shift+restore, but nothing. I also tried to switch USB ports. I followed the instruction on how to remove iTunes exactly like it was described in another thread - no success.
    Is there any help you can maybe provide, but don't tell me to go/send it to an Apple Store, since I live in Europe, where there is no official iPhone yet.
    PLease help

    iohen wrote:
    Hi,
    is there a newer version of iTunes than 7.4.3, which I am already using ?
    I don't think so.
    And no, the iPhone has not been hacked before, I was using it like iPod, internet browser and stuff. But no calls.
    My version of iTunes say 7.4.3.1.
    I assume that by saying that your iPhone has not been hacked before means "it has never been hacked."
    Are you paying AT&T for monthly service?
    I would still try to download a fresh copy of iTunes if possible.
    If it does not work, I think that you need to take the iPhone back to the Apple Store or call AppleCare for assistance. The store, and AppleCare, has a number of software tools to potentially diagnose the problems you are encountering.

Maybe you are looking for

  • Bootcamp upgrade Win 7 Pro 64 to Win 8 fails

    I'm trying to upgrade Win 7 to Win 8. Install goes to 90% then message -"your computer will reboot in  a few moments" then a few minutes later message "install failed" and it rolls back to Win7. This is on an early 2012 17" Macbook Pro I7 2.4 running

  • Counting the rows in a ResultSet

    I am wondering how I could find out the number of rows in a ResultSet after performing a query?

  • Iphone 4s constantly asks me for my Apple ID Password for no reason since upgrading to ios6

    Since upgrading my iphone 4s to ios6 the phone constantly asks me for my Apple ID Password for  no reason. I've gone into the Settings page and entered my password multiple time and this has not solved the problem.

  • Dimension Tables

    Hey Guys How can i check my dimesion tables see the number of recrods or the chars they are storing. Kind of like table structure can i do that for the cube. and If yes anybody has the idea on the transaction code for that. Thanks

  • Serious bug for 8.1.7 solaris Sparc download file

    I have downloaded the 8.1.7 solaris.cpio.gz file from the OTN page. I found a serious bug from the OUI program,that is when I run the "runInstaller" command ,It apperrs that ./runInstaller : syntax error in line 1 unexpected "(". Did anyone find this