Run out of licenses, can do 20 reports in 20 minutes before receiving error

<p>I have a problem with running out of Licenses when using our ASP.NET Web Application.</p><p>Our Web Application exports and opens a Crystal Report to PDF when the user clicks on the report link.  Unfortunately we have only a certain number of licenses available and after each use it&#39;s useless for about 20 minutes!  In a 20 minute period we are able to run up to 20 reports before getting the "out of licenses" error page. </p><p>So if you have 5 users going through multiple reports in a short time we&#39;ve run out of licenses and they have to wait 20 minutes before trying again!?! </p><p>I am trying to find a means of improving this and have a few thoughts on how:</p><ol><li>Close the license being used (and make available to somebody else) once the report is created. <br /><em>We generally do not have 20 <u>concurrent </u>users at any time but in a 20 minute time span we can have over 20 report requests.</em><br /> <br /></li><li>Shorten the time before the license becomes available again (like to 5 minutes) <br /><em>Long enough for even the larger reports to run, but short enough that the chances of 20 reports being requested in a 5 minute period is slim.<br /> <br /></em> </li><li>Save the License use for that particular USER for the period of time (so if they open 1 or 10 reports it all utilizes the same License). <br /><em>This would work fine because it&#39;s a small office of just over 20 users and the chance of everybody accessing reports in that same 20 minutes is very low.<br /> <br /></em> </li></ol><p> If anybody has any ideas, suggestions, hints, or "it can&#39;t be done" I would greatly appreciate it!  We haven&#39;t found anything in the RAS settings and I haven&#39;t found anything that effects the LICENSING in .NET (and using Report.Close() does not free up the license).</p><p> Thanks,</p><p>~Drew </p>

<p>Alright, I seem to have some success in fixing this issue, though it isn&#39;t the 100% best solution. </p><p>I create the ReportDocument in the Global.asax.vb file </p><font size="1" color="#0000ff">
<blockquote />Dim<font size="1"> crpt </font><font size="1" color="#0000ff">As</font><font size="1"> </font><font size="1" color="#0000ff">New</font><font size="1"> CrystalDecisions.CrystalReports.Engine.ReportDocument<br /><font size="1">Session.Contents.Add("crpt", crpt)</font></font></p></font></blockquote><p><font size="1">and then I re-use this in the page that exports the file to PDF and displays it.  Since this is created as a session-level object in Global.asax.vb I reference it in the display page as Session("crpt") and I clean it up by the end of the page but I don&#39;t make the session object into nothing.</font></p><blockquote><p><font size="1">If Not IsNothing(Session("crpt")) Then</font></p><blockquote><p><font size="1">Session("crpt").Close()<br />System.Runtime.InteropServices.Marshal.ReleaseComObject(Session("crpt"))</font></p></blockquote><p><font size="1">End If </font></p></blockquote><p><font size="1">Then on Session End in the Global.asax.vb I clean up the Session variable and call the garbage collection.</font></p><blockquote><p><font size="1">If Not IsNothing(Session("crpt")) Then</font></p><blockquote><p><font size="1">Session("crpt").Close()<br />System.Runtime.InteropServices.Marshal.ReleaseComObject(Session("crpt"))<br />Session("crpt") = Nothing<br />Session("crpt").Dispose()</font></p></blockquote><p><font size="1">End If<br />GC.Collect() </font></p></blockquote><p><font size="1">It seems to be working at this time though there is the limitation that now everybody who enters the web application gets an object whether or not they are going to run reports. </font></p><p><font size="1">The more ideal situation would be for the object to not be created until the user enters the report page or have the page that creates/displays the report to check if the object exists and if it does not to create the object.</font></p>

Similar Messages

  • I have a file where I am running out of memory can anyone take a look at this file and see?

    I am trying to make this file 4'x8'.
    Please let me know if anyone can help me get this file to that size.
    I have a quad core processor with 6 gig of ram and have gotten the file to 50"x20", but I run out of memory shortly thereafter.  Any help would be appreciated.
    Thanks,

    Where to begin? You should look into using a swatch pattern instead of those repeating circles. Also, I see that each circle in your pattern is actually a stack of four circles, but I see no reason why. Perhaps Illustrator is choking on the huge number of objects required to make that patterns as you haave constructed it.
    Here is a four foot by eight foot Illustrator file using a swatch pattern. Note that, despite the larger size, the file is less than one 16th the size.

  • Replaced hard drive on my iMac running OSX 10.9.3 now CS4 Master Collection Not working. Receiving error message 150:30 - help.

    I have had to replace the hard drive on my iMac running OSX 10.9.3 and reloaded my CS4 Master Collection from Time Machine. I am receiving error message 150:30 saying License has stopped working what should I do?

    Unfortunately, you can't install Adobe applications by copying them from a backup, or using the Migration Assistant on a Mac. There are too many support files scattered throughout your drive which aren't moved to the correct location.
    First, you'll have to use Adobe's Cleaner Tool to remove all of the stuff you copied:
    Use the CC Cleaner Tool to solve installation problems | CC, CS3-CS6
    Then reinstall CS4 Master Collection from your original discs, or a backup of the downloaded files. If you don't have either, you can download Creative Suite from this link:
    Other downloads

  • BI 11G : logging in into reporting services takes minutes before landing

    All,
    logging in into em/console works relatively fine....but when I want to log in into analytics...it takes minutes before I'm logged in.
    I have the same problem when I want to log in into Administrator or Catalog manager (online)
    Installation is on Linux (32bit) - client tools on windows.
    At this moment I have no clue what can cause this problem. Anyone already noticed the same issue or has some good tips?
    Txs!!
    A.
    Edited by: ADB on 19-okt-2010 5:34

    Hej Nico,
    it was a pretty stupid one...
    I migrated my rpd...and didn't change the connection pool settings correctly to point to my new db.
    That was already a problem of course ;-)
    And because I had some initialization blocks defined in the rpd, it took a while before they turned an error....
    and that was the reason why it took such a long time before I could log in into the reporting environment or a client tool.
    Once I had disabled the init blocks, it was no problem. And after I changed the connection pool correctly everything was solved.
    Hope things are more clear now.
    Txs,
    A

  • HT1391 I only have podcasts for Rush Limbaugh and Hugh Hewitt  but they     do not show up now.  My subscriptions have not run out.  How can I find them so I can put them on my Ipod?

    I have been receiving my 2 podcasts, rush limbaugh show and the hugh hewitt show however some reason the are not on my I tune site so I can download them to my Ipod.  Any help would be great?

    Hello blu monkey,
    I found some resources that I think might help with the visibility of your IMAP email folders on your iPad and Mac.
    On your iPad, you may need to follow the steps in this article to make sure your folders are visible:
    iOS: If IMAP Mail folders are not visible
    http://support.apple.com/kb/HT1393
    On your Mac, I am not sure if you have the sidebar enabled, but you can enable it using the steps in the article below.  When this is showing, you should see your email account listed near the bottom with a triangle next to it.  When the triangle is pointing down, it should show your folders:
    Mail (Mountain Lion): Show or hide the sidebar
    http://support.apple.com/kb/PH11763
    Thank you for using Apple Support Communities.
    Best,
    Sheila M.

  • Help running out of time, can't move rented movie

    I rented a movie, on my older mac. Apparently its too old to play it as it won't play smoothly.
    I tried to move it to my imac via my network, now it says it is not authorized on this computer.
    I searched and searched and could not find an answer to this.
    thanks!
    I have almost given up!

    I'm not sure it works that way. You can transfer it to your Apple TV, iPod, or iPhone, but I do not believe you can move a rental to a different computer for viewing. At least not through iTunes.

  • If a lost iphone has since run out of battery can it still be tracked?

    Any advice/answers on the above??

    No, it cannot be tracked if there is no power.
    Hope this helps

  • Hi, I have a computor running Windows 8 and can't install ITunes, it comes up with the error' The error message is'this installation package cannot be opened, verify that the package exists and that you can access it or contact the app vendor.

    Itunes installation error

    Start by clearing your browser's cache and then get a clean download of the iTunes installer. See the Further Information area of Troubleshooting issues with iTunes for Windows updates for download advice and direct links. Review the rest of the tip if needed.
    tt2

  • Video card problems.  ever since I installed CC6 I seem to be running out of RAM.  I wasn't having this prob. before and it is annoying.

    How do I free up more VRAM.  When i try to put text on an image or crop my work flashes and goes black?  This only started happening after installing CC6 PS and Bridge only.

    "Other" is the measure of used space on the iPod not taken up by Audio, Video & Photos. This includes the iPod's library and artwork plus any files you may have copied to your iPod in disk mode. The overhead for the library & artwork data is typically 1-2% of the size of the media, e.g. for 100Gb of Audio & Video expect to have around 1.5Gb of "Other". This information is needed for the iPod's operation and cannot be removed.
    If you have significantly larger amounts of "Other", not related to files you've intentionally placed on the iPod, then these are probably disconnected copies of your media files or iPod libraries left over from failed sync operations. The only way to recover the space is to do a full restore.
    If you have copies of all your media in your iTunes library this isn't a problem, but if you've been manually managing the content then you might need to try to recover the files from it first. See this post by Zevoneer on transferring files from the iPod to your computer. Some of the tools rely on the iPod having a healthy library however the manual method mentioned towards the end of the post should work regardless.
    tt2

  • Can't do a clean install of Tiger - receive error message

    I am running Tiger 10.4.11. I've had some system quirks recently, so I wanted to do a clean install of Tiger using the install disk. But when I insert the install disk and click on the installer, I get an error message that says "Mac OS X 10.4 can't be installed on this machine. Please consult the documentation for the list of supported Macintosh computers." Any ideas what is going on here?? Any help appreciated.
    Thank you,
    Bob

    It turns out I had the Tiger disk from my old Powerbook, and not the Tiger disk from my Macbook. That solves that question.
    However, it still won't let me do a clean reinstall where my data is preserved - it said it had to reformat the disk which would erase all the data.

  • Can't rename a folder in Windows 7 - receive error message

    When trying to rename a folder in Windows 7, I get a "Folder In Use" message saying that the folder or a file in it is open in another program.  This is untrue as I don't have any other programs open.  I even rebooted the computer and tried again
    and it gave me the same message.  This has occurred more than once and it's beginning to drive me crazy.  Do you have any suggestions as to how to fix this problem?

    Hi,
    Please use the
    Process Explorer to check which process keeps your file in use.
    In addition, you can try to rename the folder in
    Safe Mode to see the result.
    For more reference,
    Troubleshooting with Process Monitor
    Hope this helps
    Vincent Wang
    TechNet Community Support

  • Have run out of room on iweb, can't publish. Can I delete data and reclaim space?

    I have been working on my website for ages, constantly doing and redoing and saving each time. Now I get a message that I've run out of room & can't publish. I kow I can buy more space, but it's annoying because I'm sure there is a mass of trash I could delete from the changes I've made. But where is it, and how can I dump it. Is it possible?

    It's a regular error with MobileMe. Usually it says that you run oit of space.
    Since the editing features of this forum do not function properly on an iPad , i paste the search url
    https://discussions.apple.com/search.jspa?resultTypes=&dateRange=all&peopleEnabl ed=true&q=Mobileme+space+error&containerType=14&container=2080&containerName=iWe b&username=&rankBy=relevance&numResults=15

  • I have windows 7I have downloaded most updates and use no mobile devices just use itunes my pc. what programs can I eleminate as I'm running out of memory?

    What itunes/sony programs can I elimnate from my pc if I only use it on my pc?  I have no mobile devices and afraid Im have sony, safari browser and other programs on my computer. I routinely down loaded all updates and afraid I have many uneeded programs and also have problems of running out of memory, can somebody help

    Thank you for your quick response, BalusC. I really appreciate your answer.
    Yes, you are right. If I manually code the same amount of those components in the JSF pages instead of generating them dynamically, the server will still run out of memory. That is to say, JSF pages might not accommodate a great deal of concurrent visiting. If I upgrade the server to just allow 1,000 teachers making their own test papers at the same time, but when over 2,000 students take the same questionnaire simultaneously, the server will need another upgrading. So I have to do what you have told me, using JS+DOM instead of upgrading the server endlessly.
    Best Regards, Ailsa

  • My iPhone 4s is running out of space

    Hello,my iPhone 4s is running out of storage and it's getting frustrating.I remember before I had like 100 apps on there(only like 5 pages of apps) and know I can ony afford 2 pages and 1 half page of apps,I deleted some photos but it didnt make much of a difference.The most thing taking storage is music with 846 MB,then it's sonic ep 2witj 705 and then dead trigger with 292.I know the apps have more space but the problem is that I don't want to delete them because I had so many good memories on there and if I delete it,the progress in the game will be deleted.Ive seen iCloud storage but I don't know what that does.Is there anything I can do?? Thank you for your time in advanced.
    P.S: I only have 240 MB available and 13.4

    Not sure what's causing your iPhoto issue but if you need a temporary solution you could use an app like PhotoSync to wirelessly transfer them to your Mac until you can figure it out.

  • Itouch will not turn off without running out of battery

    My iTouch has been refusing to turn off easily for months now.  I push the sleep button and slide to turn off, and then a loading circle appears.  The only way to get rid of it is to allow the battery to fully run out.  I can also restore my Ipod to factory settings, but it then takes hours to restore all of my information.  This ipod has never been jailbroken, and otherwise seems to run smoothly, although it often experiences sync errors, which is why I want to turn it off in the first place. 

    you may have software glitches, but as for your touch, you can force it off, by holding the power and home button until it turns off. cuts the power. itll still turn on but its off now isnt it?

Maybe you are looking for

  • Calling Servlet from Java-Class

    Hi, I have a normal java-class that is working with request/response Objects. From within this class I want to call a local servlet, let it do some work with the request and the response and then return it to the class. I guess the RequestDispatcher

  • Create an RMA without original Order and BOM Item

    Hello everyone, I know it is possible to create a RMA-Order without a Reference to the original Sales Order (the qty should be entered negative) ok, so far so good. Now I want to add a BOM Item into this RMA, however the sub-Items are not added into

  • Can I use a mirror external drive to update to 4.2?

    I'm out of town away from my Mac Pro and want to upgrade my iPad to 4.2. I have an external portable drive with me that is a mirror copy of my main Mac Pro drive that has all my iPad files and backup so when I boot off it (using the option key), what

  • Is it possible to flash MBP efi firmware without OSX?

    hi, i came from this post: macbookpro A1226 (2007) stuck on apple logo or autoreboot no matter from what i boot in that posted i mentioned i found a way to do this, but i was mistaken, because the guide i found points about upgrading "ssds" without m

  • Is there a 64 bit version of Photoshop Elements 11?w.

    Is there a 64 bit version of Photoshop Elements 11?