CR XI R2 "Database Login Failed" Recycled application pool and now it works

Hello,
I have a web application using CR XI R2 that has several reports which are pushed a dataset.  These reports have been runing fine until today when I received an error stating "Database login failed."  "Object reference not set to an instance of an object" in the report viewer control. 
I recycled the application pool and the reports started working again. 
My questions are:
What could be the cause of this and how can it be avoided?
Why does recycling the application pool correct the problem?
Regards.

Hi Tom,
Recycling keeps problematic applications running smoothly, especially when it is not feasible to modify the application code. Recycling helps ensure that problematic applications do not cause other applications to fail, and that system resources can be recovered from unhealthy applications.
Recycling an application pool causes the WWW service to shut down all running worker processes that are serving the application pool, and then start new worker processes. Whether the WWW service starts the new worker processes before it stops the existing one depends on the DisallowOverlappingRotation property in the metabase. Recycling an application pool does not alter any state in HTTP.sys or change any configuration in the metabase.
Note:
When an application pool is serviced by more than one worker process, the recycle operation is staggered in some scenarios. Only when a worker process is recycled on demand or when all of the worker processes hit their memory limits at the same time would they be restarted simultaneously.
For more info regarding this have a look to this [article|http://blogs.msdn.com/david.wang/archive/2006/01/26/Thoughts-on-Application-Pool-Recycling-and-Application-Availability.aspx]
Regards,
Shweta

Similar Messages

  • Crystal reports "Database login failed" when using push method

    I have a web application (ASP.NET, .NET v3.5), that pushes data to a CR 2008 report. On two servers one of the three reports returns a "Database login failed" error. I am stumped since there is no login, it's push not pull; in addition the problem is hard to debug since it works fine from my developers workstation. I have "updated" the xsd in that report, reinstalled the app, etc., non of which helped. If anyone has a solution or even ideas I'd appreciate the help.

    What about following the troubleshooting steps as described in the blog;
    Create an XML file off of your dataset. Make sure this is done just before you set the dataset to the report:
                rpt.Load(rptPath)
    myDataset.WriteXml(xmlPath, XmlWriteMode.WriteSchema)
    rpt.SetDataSource(myDataset)
    Copy the above created XML to your development system
    Open the problem report in the Crystal Reports designer
    In the Desigger, go to the Database menu and select u201CSet Datasource Locationu201D
    In the u201CReplace with:u201D pane, expand the u201CCreate New Connectionu201D folder.
    Double click the u201CADO .NET (XML)u201D icon
    Browse to the location of the XML file you created in step (1)
    Click on the path to the XML. The <Update> button should enable
    Click on the <Update> button
    Typically, either of the following will happen:
    You will get a u201CMap Fieldsu201D dialog. This indicates that the XML written off of your dataset does not match what the report is expecting. This may be due to incorrect fields name, incorrect field type, etc. You will now need eliminate the difference.
    Incorrect data or no data. There is an issue with your dataset and you need to determine why the data is not present in your dataset. Looking at the XML may be a good place to start.
    Ludek

  • My IPOD Touch initially had a white screen.  I tried correcting this by restoring default settings via ITunes.  The Restore Failed with error 1602 and now the IPOD touch is completely dead. It will not power on or respond when I plug it into my PC via USB

    My IPOD Touch initially had a white screen.  I tried correcting this by restoring default settings via ITunes.  The Restore Failed with error 1602 and now the IPOD touch is completely dead. It will not power on or respond when I plug it into my PC via USB.  I get an error on my PC stating that device attached to USB port is not recognizable.  Can anyone help?

    Error 1602: Try the following steps to resolve this error:
    Ensure proper USB isolation troubleshooting has been performed, and test with a known-good cable.
    Follow the steps listed for Error 1604.
    This error may be resolved by disabling, deactivating, or uninstalling third-party security, antivirus, and firewall software. See steps in this article for details on troubleshooting security software.
    Above from:
    http://support.apple.com/kb/TS3694

  • My iPhone 4s acts like I need to plug in to iTunes and I got an error message saying it failed to download update and now the screen won't go away. USB port end on phone with arrow pointing to iTunes...

    My iPhone 4s acts like I need to plug in to iTunes and I got an error message saying it failed to download update and now the screen won't go away. USB port end on phone with arrow pointing to iTunes...

    Now iTunes will not recognize my phone as a device...

  • Hi i installed wrong iousbfamily on osx and now my login screen is frozen, keyboard and mouse not working plz help

    hi i installed wrong iousbfamily on osx and now my login screen is frozen, keyboard and mouse not working plz help

    How and why did you install that?  What steps did you take in that process.  I can then help with some steps to undo them. 

  • Monitoring of Disabled Application Pools and Websites

    So we have a SCOM 2012 SP1 environment monitoring an IIS server that's Server 2012.  The IIS server has all of the App Pools that are not in use disabled as well the Default website is also disabled.  SCOM unfortunately still picks up that these
    are unavailable and complains ad nauseum.  
    So the real quest is, is the disabled state going to be picked up eventually? (Now two days later the server objects themselves are Healthy, so I assume I can just close the alerts but ...)

    Yes, you can disable alerts of this specific object{Disabled application pools and websites}
    Please remember, if you see a post that helped you please click "Vote As Helpful" and if it answered your question, please click "Mark As Answer"

  • My hard drive failed, has been replaced, and now it won't boot to CD.

    My hard drive failed, has been replaced, and now it won't boot to CD to install the OS package. It would boot for a while, get through the first cd of install and would stop randomly in the next install. I found out that the installation disk was cracked so I went out and purchased the Mac Box Set which includes Mac OS X Snow Leopard, iLife '09 and iWork '09 under advisement from an associate at the local apple store. Now, I try installing this new OS disk and all I get is the apple logo without a spinning wheel for about 10 minutes and the computer restarts and does it again. I have tried booting from disk, holding c while starting up, and in safemode, holding shift while booting. Please help save my poor poor macbook!!!

    These errors look like corrupt or missing files that leopard requires. It sound like you need to start from scratch: format your drive, reload Leopard. I realize that this is probably what you are trying to do.
    If you cannot boot from install DVD and cannot successfully get into Safemode or Single usermode (due to a corrupt or incomplete install) then you will need another computer to assist you.
    If you can get it into Target Disk Mode and have another Mac you could plug it into that Mac and reformat it.
    If it will not go into TDM then you may need to take it out and put it into an external enclosure to plug into another Mac to format it.

  • Hello J have small problems J have to change my login icloude on my PC and now I N do not arrive has to change it on my ipad and my iphone

    hello J have small problems J have to change my login icloude on my PC and now I N do not arrive has to change it on my ipad retina and my iphone 5.
    I will be able to have French answers.

    Sorry, there is no one from Twitter here. You need to contact Twitter support.
    This "may" be helpful:
    https://support.twitter.com/articles/20169405-re-entering-your-password-through- the-ios-settings

  • Database Login failed for SIDADM

    Hi,
    I've installed a Solman system & the system starts just fine (even post OS reboots), however the problem is that sidadm is unable to connect to the database.
    Administrator is able to connect just fine.
    r3trans also ends with the same login failed error:
    Login failed for user 'hostname\soladm'. [CLIENT: <local machine>]
    Error: 18456, Severity: 14, State: 11.
    I can't seem to find anything concrete on this.
    Pls. help.
    Thanks,
    Saba.

    Wowie:)
    Disable UAC did the trick !!!
    Thanks Markus n Sunil )

  • I created a second email account with a password but when I try to get mail for it and I put in password it says login failed. Why? and how do I fix it.

    I created second email account ([email protected]) with a Password but when I try to get mail and enter password, it says "Sending of Password did not succeed. Mail server mail.comcast.net responded: login failed". What am I doing wrong?

    Have you logged on to the webmail account using a browser and enabled either Pop or Imap forwarding for that email address?
    Have you created a mail account in Thunderbird that uses the chosen webmail forwarding option?
    Password - make sure caps lock is not switched - it must be the same password you use to access the webmail account.
    check:
    Tools > account Settings > Server Settings
    username = full email address
    Please post info:
    In Thunderbird
    Help > Troubleshooting information
    click on 'copy text to clipboard'
    paste info in this question
    edit /remove all info on fonts and printers.

  • I want to download whatever updates I need for Photoshop CS5. I try using Adobe Application manager and it isnt working.

    I want to download whatever updates I need for Photoshop CS5. I am using Adobe Application Manager and there are updates but they arnt going through. It has been awhile since I tried. Dont remember when the last time was. But my Mac Book Pro is in good shape and I am finally getting around to this. didnt expect it not to work. Help?

    Hi Richei Creative,
    These would be my suggestions:
    Create a new user account with administrative rights, log out of your current account and into that one, launch Adobe Application Manager and attempt the Photoshop update again.
    Instructions if you need them  - http://support.apple.com/kb/PH11468
    If this fails, uninstall Photoshop (Applications > Utilities > Adobe Installers) and reinstall Photoshop then from Adobe Application Manager the attempt the Photoshop update again, also from the newly created user account.
    Hope these help,
    -Dave

  • After installing update failed cant access itunes and reinstall didnt work

    I was prompted to install the new itunes update when I accessed itunes today. (I was in the middle of accessing my music to send for a show, Im a aerial performer, magician and burlesque performer). The instal failed and now I can not open Itunes at all. I tried to install again and that failed. I keep getting "this application failed to start because MSVCR80.dill was not found. Re-installing the application may fix this problem." followed by this message "Itunes was not installed correctly. Please reinstall Itunes. Error 7 (windows error 126)"
    What do I do? I need to access my music... I went to the website and downloaded the app again and nothing...it failed too.
    What do I do? I cant afford to have lost 1000's of songs many of which I paid to have mixed and created for my performances.

    I have finally found a solution!!! Yea! (It was in an obscure hard to find support article from apple only found after googling error messages, though why it wouldn't come up in an apple search is silly to me) So... you can not just uninstall Itunes because the problem lies within the support software that comes with itunes.
    You must uninstall IN THIS ORDER (per Apple)
    1. Itunes
    2. Apple Software Update
    3. Apple Mobile Device Support
    4. Bonjour
    5. Apple Application Support
    6. Icloud
    Then you must restart your computer (I got an error message that some files could not be opened because aspects were missing) I then downloaded the most current Itunes from the computer and the problem was gone. All files came up with the new download. Program opened with no issue.
    Hope this helps the rest of you having this issue.

  • I trash an application folder and now I can not find it anymore?

    Hallo, I unistalled premier.. I trashed the folder and now i can no more download anymore because CC say that I've installed it... Bit I trashed it.. How can I do?

    Hello,
    1. Maybe you have to activate/deactivate, so please have a look there:
    http://helpx.adobe.com/x-productkb/policy-pricing/activation-deactivation-products.html
    2, Sometimes, we know in the meantime, the "opm.db file" is the culprit. In this case you should delete it.
    3. Did you already try "uninstalling and re-installing"? Be careful with (de)installing aso. by (de)installing by your own resources. As much as I regret it and as strange as it may seem I fear it's a challenge for Adobe's Creative Cloud Cleaner Tool.
    Sometimes - for whatever reasons - CC doesn't "want" to work. In this case you should CC completely delete and reinstall by help of Adobe Creative Cloud Cleaner Tool. (A try to uninstall by own resources is not enough!)
    I quote: Adobe Creative Suite Cleaner Tool helps resolve installation problems for Adobe Creative Cloud and Adobe Creative Suite (CS3-CS6) applications. The tool removes installation records for prerelease installations of Creative Cloud or Creative Suite applications. It does not affect existing installations of previous versions of Creative Cloud or Creative Suite applications.
    Please use: http://helpx.adobe.com/creative-suite/kb/cs5-cleaner-tool-installation-problems.html   and follow the prescribed sequence of operations
    4.If necessary and for further questions click through http://helpx.adobe.com/contact.html or http://helpx.adobe.com/de/contact.html and if "open" please use chat, I had the best experiences.
    Good luck!
    Hans-Günter

  • Application Pool and JClient

    I don't understand if application pooling could be usefull in a JClient application (either Client/Server and EJB deployed).
    If Yes what kind of benefits should I expect ?
    How can I implement them ?
    TIA
    Tullio

    As said,
    not at present. If you read teh online help, then you will note that the session reference to the am pool is held with session cookies, something that JClient doesn't deal with.
    Frank

  • CRVS2010 Beta - Database login fails after setting select formula

    I am working through how to call the report and have it print programatically.  I was able to get it to print with the saved data, but as soon as i add a recordSelectionFormula to it, it fails saying the login is incorrect.  I have searched the forums and tried the different resolutions some people have used, but it still fails for me.  What about the select formula would cause this issue?  below is the code i am using.  Please let me know what I am missing, thank you.
                ReportDocument crDoc = new ReportDocument();
                crDoc.Load("c:
    shipmgmt
    reports
    PackingSlip.rpt");
                crDoc.SetDatabaseLogon("user", "password", "localhost", "shipmgmt");
                crDoc.RecordSelectionFormula = "{ld_mstr.ldm_nbr} = \"13994\" AND {ld_mstr.ldm_ord} = \"665527\"";
                Object sfVal = new Object();
                sfVal = "R&S COLUMBIA";
                Object prncases = new Object();
                prncases = false;
                crDoc.SetParameterValue("shipFrom", sfVal);
                crDoc.SetParameterValue("prnCases", prncases);
                crDoc.PrintOptions.PrinterName = "
    wc-printserver
    wccsr";
                crDoc.PrintToPrinter( 1, false, 0, 0 );
                crDoc.Dispose();

    Hello,
    Copy the record selection formula from the Designer and paste that into your code, then use a report without the record selection formula saved in it and test again.
    Next step is what database and driver are you using? Joinbuilder registry keys were for old legacy drivers. This may be an issue with the driver configuration.
    ALSO, don't use "localhost" as your Server name or DSN name etc. Try replacing it with the actual DB server/machine name:
    crDoc.SetDatabaseLogon("user", "password", "localhost", "shipmgmt");
    Thanks again
    Don

Maybe you are looking for

  • What is my iMacs network domain or name?

    I am trying to connect to a PC through a router. I read somewhere that the PC and iMac have to have the same domain name. The PC domain name is "WORKGROUP". I seem to remember seeing the iMac's domain name when I was setting up the computer, but I ca

  • Go back from OS X 10.4.11 to 10.4.8

    For some software compatibility related issue I have to go back from OS X 10.4.11 to 10.4.8 or even 10.4.6 How can I do this without having the Insllation DVD? Unfortunately I v lost the installation DVD that came with my laptop. Thanx Shiama

  • Trouble opening .dmg file from one vendor

    Occasionally I receive an update to software I own in the form of a .dmg file. I typically double click the attachment in the email, and save it to the desktop. Then I go to the desktop and double click that file to open it and get the updates, docum

  • Itunes keeps asking me to update

    HI, my apple software update keeps prompting me to update to 11.1.3 but I have this version and when I go into iTunes and check for updates it says I have the latest version. When I look in the tab on software update which outlines what is installed

  • Dataguard not working

    Dear all The alert log on my dataguard server is showing me these errors. Can someone help me URGENTLY. This is having an impact on my production database. RFS: Possible network disconnect with primary database Closing latent archivelog for thread 1