Lotus Notes Error 213
Contents |
Training Support Forums & community Events Rational Tivoli WebSphere Java technology Linux Open source SOA and Web services Web development
Ole Automation Object Error Lotus Notes
XML My developerWorks About dW Submit content Feedback developerWorks>Lotus>Forums & community>IBM Lotus ole automation object error lotusscript Notes/Domino 8.5 Forum (includes Lotus Notes Traveler) IBM Lotus Notes/Domino 8.5 Forum (includes Lotus Notes Traveler) Sign in to participate Subject: Excel Automation object error(213) Feedback Type: Problem Product Area: Domino Server Technical Area: Application Development Platform: Windows Release: 8.5.1 Reproducible: -Reproducibility- Bit worried about this one and I've looked around and found lots of posts with similar problems, but not many of them have fixes. Windows 2008 server and Domino running as a service (as it should). I've installed Office 2007 on the server to run an export. The code is executed from a web browser, but throws the following error when it tries to save the excel spreadsheet. "OLE: Automation object error(213)" It works fine when I try to run it from a Lotus Notes Client locally. I've changed the Runtime security level to "2. Allow restricted operations without success", "1. Do not allow restricted operations" does not work at all, it fails much earlier and although I have tried using "3. Allo restricted operations with full administration rights", I don't think it's necessary, so have left it on "2. Allow restricted operations". Code is as follows: Dim session As NotesSession Dim db As NotesDatabase Dim doc As NotesDocument Set session = New NotesSession Set db = session.currentDatabase Dim myobject As Variant Dim mysheet As Variant Set myobject = createObject("Excel.application.12") ' 12 for version 12 (2007) otherwise just Excel.application myobject.workbooks.add Set mysheet = myobject.workbooks(1).Worksheets(1) mysheet.name = "Review" mysheet.cells(2, 5).value="Transfer to Excel" mysheet.cells(2, 5).Font.Size=14 mysheet.cells(2, 5).Font.ColorIndex=3 mysheet.cells(2, 5).Font.Bold = True Dim fmlaval As Variant mysheet.cells.Columns.autofit 'Debugging shows that it fails on the next line mysheet.SaveAs "C:\Downloads\test","56" ' "56" means 97 to 2003 version myobject.visible=True myobject.quit Set my
DriverDoc WinSweeper SupersonicPC FileViewPro About Support Contact Errors Troubleshooting › Runtime Errors › IBM Corporation › Lotus Notes › Error 213 How To Fix Lotus Notes Error 213 Error Number: Error 213 Error Name:Lotus Notes Error 213 Error Description: Error 213: Lotus Notes has encountered a problem and needs to close. We are sorry for the inconvenience. Developer:IBM Corporation Software:Lotus Notes Applies to:Windows XP, Vista, 7, 8 Download NowWinThruster 2015 - Scan your PC for computer errors. Compatible with Windows 10, 8, 7, Vista, XP and 2000 Symptoms of Error http://www-10.lotus.com/ldd/nd85forum.nsf/0/0f89576fbd3525d18525770a000037d2?OpenDocument 213 "Error 213" appears and crashes the active program window. Your PC frequently crashes with Error 213 when running the same program. “Lotus Notes Error 213” is displayed. Windows runs sluggishly and responds slowly to mouse or keyboard input. Your computer periodically “freezes” for a few seconds at a time. These 213 error messages can appear during program http://www.solvusoft.com/en/errors/runtime-errors/ibm-corporation/lotus-notes/213-lotus-notes-error-213/ installation, while a IBM Corporation-related software program (eg. Lotus Notes) is running, during Windows startup or shutdown, or even during the installation of the Windows operating system. Keeping track of when and where your 213 error occurs is a critical piece of information in troubleshooting the problem. Causes of Error 213 Corrupt download or incomplete installation of Lotus Notes software. Corruption in Windows registry from a recent Lotus Notes-related software change (install or uninstall). Virus or malware infection that has corrupted Windows system files or Lotus Notes-related program files. Another program maliciously or mistakenly deleted Lotus Notes-related files. Runtime Errors such as “Error 213” can be caused by a variety of factors, so it is important that you troubleshoot each of the possible causes to prevent it from recurring. Runtime Errors Knowledgebase Article ID: 125108 Article Author: Jay Geater Last Updated: 20-07-2016 Popularity: star rating here Download NowError Fix Learn More Tweet Recommendation: Scan your PC for computer errors. How To Fix Lotus Notes Error 213 Below is a list of troubleshooting steps
? Ask a question, help others, and get answers from the community Discussions Start a thread and discuss today's topics with top experts Blogs Read the latest tech blogs written by experienced community members LotusScript Error is shown in production server for http://itknowledgeexchange.techtarget.com/itanswers/lotus-script-error-is-shown-in-production-server-for-excel-sheet-generating-report/ Excel sheet generating report shivasanjay 3195 pts. Tags: Thanks! We'll email youwhen relevant content isadded and updated. Following Follow Lotus Notes Thanks! We'll email youwhen relevant content isadded and updated. Following Follow LotusScript The following error is found in production server while generating an Excel report through a schedule agent: Error 213: Microsoft Excel Close Methodof Workbook class failed. The same agent works fine in test server. Any idea? Why it is behaving so.Software/Hardware lotus notes used: Lotus NOtes, Microsoft excel Asked: February 12, 20159:51 AM Last updated: February 16, 201510:01 AM Related Questions convert report to excel without convater Microsoft Excel report generation from Oracle Forms 10g Microsoft Excel report generation from Oracle Forms 10g Lotus notes Schedule email NotesAgent.Run return value Answer Wiki Last updated: February 16, 20159:56 AM GMT shivasanjay3,195 pts. History Contributors Ordered by most recent shivasanjay3,195 pts. Michael Tidmarsh48,990 pts. Thanks. We'll let you know when ole automation object a new response is added. while looking into several searches in internet I found that server should have a desktop folder if it is a 64 bit machine. Also we need to reboot it to clear all the background tasks from the task manager. Andthis has helped. while looking into several searches in internet I found that server should have a desktop folder if it is a 64 bit machine. Also we need to reboot it to clear all the background tasks from the task manager. Andthis has helped. Please enter an answer. Send me notifications when members answer or reply to this question. Register Hereor login if you are already a member E-mail User Name Password Forgot Password? By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy Improve This Answer Improve This Answer Processing your response... Discuss This Question: 1  Reply There was an error processing your information. Please try again later. Thanks. We'll let you know when a new response is added. Please enter a reply. Send me notifications when members answer or reply to this question. Register Hereor login if you are already a member E-mail User Name Pa