Lotus Notes Error Code 4063
Training Support Forums & community Events Rational Tivoli WebSphere Java technology Linux Open source SOA and Web services Web development XML My developerWorks About dW Submit content Feedback developerWorks>Lotus>Forums & community>Notes/Domino 4 and 5 Forum Notes/Domino 4 and 5 Forum Error 4063 - DB has not been opened yet - frontend script Error 4063 - DB has not been opened yet - frontend scriptPosted by Sophie Asmus on 10.Sep.03 at 05:45 AM using a Web browserCategory: Domino Designer -- LotusScriptRelease: 5.0.10Platform: zSeries --- need help --- need help --- need help --- While accessing a database via lotusscript in frontend, we're getting an error 4063, database has not been opened yet. If the user opens the database on the client maschine before the script is running, we don't get the error. We tried a lot posted in the forum... like "svrname.Abbreviated"... but it doesn't help. Any ideas? Thanks s lot. The script we're using ... (SrvName and DBName contain correct content) ... Dim DB As New NotesDatabase("","") If DB.OpenWithFailOver(SrvName,DBName) = False Then if DB.Open(SrvName,DBName) = False Then ... End if End If Set doc = DB.createDocument() .. Return to top Error 4063 - DB has not been opened... (Sophie Asmus 10.Sep.03) . . RE: Error 4063 - DB has not been op... (Uwe Emmrich-Kie... 10.Sep.03) . . . . RE: Error 4063 - DB has not been op... (Sophie Asmus 10.Sep.03) . . RE: Error 4063 - DB has not been op... (Jason A Snead 10.Sep.03) . . . . RE: Error 4063 - DB has not been op... (Sophie Asmus 10.Sep.03) . . . . . . RE: Error 4063 - DB has not been op... (Jason A Snead 11.Sep.03) Document options Print this page Search this forum Forum views and search Date (threaded) Date (flat) With excerpt Author Category Platform Release Advanced search RSS feeds All forum posts RSSAll main topics RSSMore Lotus RSS feeds Resources Forum use and etiquette Native Notes Access Web site Feedback Lotus Support Lotus Support Product support pages index Search knowledge base (Technotes) Search support downloads Lotus Support RSS Wikis IBM Composite Applications IBM Mashup Center IBM Connections IBM Docs IBM Forms IBM Mobile Connect IBM Sametime IBM SmartCloud for Social Business IBM Web Experience Factory Lotus Domino Lotus Domino Designer Lotus Expeditor Lotus Foundations Lotus iNotes Lotus Instructor Community Courseware Lotus Notes Lotus No
been opened yet; NotesDatabase; handle; NotesDBDirectory; object; NotesSession.AddressBooks; Open method; New NotesDatabase; error; dbLookup.GetView Technote (troubleshooting) Problem A "Database has not been opened yet" error occurs when you try to use a LotusScript NotesDatabase object in ways that require the database to be "open," and it is not open at that time. The IsOpen property will tell you whether the database is open. See the description of IsOpen for a list of properties that are available when the database is not open. Cause If you get the NotesDatabase handle from a NotesDBDirectory object or from NotesSession.AddressBooks, it is not open until you call the Open method on it. http://www-10.lotus.com/ldd/46dom.nsf/PlatformAllThreadedweb/9dae31bfadb5ba3385256d9d003597b7 But if you get the object in another way, for example, using New NotesDatabase with non-blank server and filepath arguments, the database is normally opened at the same time. The cause of the problem is the line of code that creates the NotesDatabase object. However, the error does not occur until later when you try to use the object in a way that requires it to be open. Dim dbLookup As New NotesDatabase(dbThis.Server, "folder\lookup.nsf") http://www-01.ibm.com/support/docview.wss?uid=swg21308538 ' problem is here: database does not exist Set view = dbLookup.GetView("Keywords") ' error occurs here Possible causes of the problem are: There is no such database at the path you specified. The ID running the code does not have access to open the database. The database file is damaged and cannot be opened. When specifying server name, "" (empty string) may only be used when the database is local to the computer executing the code. If the code runs on the server (for instance, a scheduled agent), you should use "" for other databases on the same server. If the code is run from a workstation, a server name of "" can only find databases stored locally on the workstation. This is true even if the code is stored on the server -- for instance, if a user uses the Actions menu to execute an agent in a server replica of an application. The question is not, where is the code stored, but which computer is running it? The full filepath (e.g. "C:\notes\data\r_apps\haha.nsf") may optionally be used when accessing local databases on a workstation. If you specify a server name, however, or if the code is running on a server, you must use the path relative to the Notes data directory ("r_apps\haha.nsf"). This is a security feature. Resolving the
Administration View All Domino Directory Administration Tools AdminP LDAP Calendar and Contact Management Interoperability Licensing Monitoring and Logging User Settings Notes.ini IBM Lotus Messaging and Collaboration Clients View All Domino Web Access (iNotes) Lotus Notes 5 Lotus Notes 6 http://searchdomino.techtarget.com/feature/Troubleshooting-common-Lotus-Notes-Domino-error-messages Lotus Notes 7 Lotus Notes 8 Lotus Sametime Instant Messaging Mobile Devices IBM Lotus Messaging and Collaboration Servers View All IBM WebSphere Lotus Domino Server 5 Lotus Domino Server 6 http://www.codestore.net/errors.nsf/all/462E4AFA7B95F25786257211003EEFA9?OpenDocument Lotus Domino Server 7 Lotus Domino Server 8 Lotus Quickr Notes/Domino Administration View All Domino Directory Administration Tools AdminP LDAP Calendar and Contact Management Interoperability Licensing Monitoring and Logging Performance User lotus notes Settings Notes.ini Notes/Domino Coding and Development View All Ajax Development Security Eclipse HTML J2EE Java JavaScript LEI and DECS Domino Designer Agents Application Development Formula LotusScript Mobile and Wireless Development Web Development XML and Web Services Notes/Domino Data Management and Storage View All Archiving Backup and Recovery Clustering Database Management Hardware Management Mailbox Management Replication and Synchronization Storage Management Notes/Domino Deployment lotus notes error and Migration View All Deployment and Migration Advice Deployment and Migration Tools Notes/Domino Security View All Compliance Management Compliance tools Access, Permissions and Authentication Antispam Software and Spam Filtering Antivirus Software and Virus Protection Email Compliance Email Encryption Firewalls Password Management Phishing and Email Fraud Protection Policy Management Topics Archive View All Domino Resources Domino Resources - Part 2 Domino Resources - Part 3 Domino Resources - Part 4 Domino Resources - Part 5 Domino Resources - Part 6 Domino Resources - Part 7 Domino Resources - Part 8 Please select a category IBM Lotus Messaging and Collaboration Clients IBM Lotus Messaging and Collaboration Servers Notes/Domino Administration Notes/Domino Coding and Development Notes/Domino Data Management and Storage Notes/Domino Deployment and Migration Notes/Domino Security Section Problem Solve News Get Started Evaluate Manage Problem Solve Sponsored Communities Troubleshooting common Lotus Notes/Domino error messages Error messages can be the bane of most Lotus Notes/Domino administrators' existence. Here are some of the most frequently asked questions on the topic -- with their accompanying answers from our panel of Lotus Notes/Domino experts and peers participating on ITKno
this in a Java agent called from a page with Ajax Suggested Causes and Solutions: Solutions the user does not have access to databaseAbhishekS on 12/02/2008 12:36 AM The given path to the database is not accurate and database cannot be found.Georgi on 08/22/2009 04:08 AM Remote user is not properly connected to the network...through VPN or internet connection.Wayne MacKirdy on 03/29/2010 01:56 PM If you are accessing local domino databases,and if parameters are not properly passed in creating session or getting database,then you may get this erroralso check if you can manually open the database(just to ensure that it is not corrupted)Soumya on 11/11/2010 07:10 AM Add accessing server to the 'Trusted Server' field in the server doc of the server that is being accessed. R6 field I think.mike on 01/05/2011 05:07 AM For scheduled agents that access databases on different servers, assuming 'trusted server' field is filled in, database exists, and ACL is correct, the issue could be that the source server has never connected with the target server. For example, a new server is added. In our case, using fqdn not IP address in the server document. Run Notes client (nlnotes.exe) on source server, and do a port trace. If you get 'server is not a known tcp/ip host', do a trace using the server's IP. This will update the server document (of the source server) with the name and ip of the target server.LesR on 11/22/2011 03:15 PM Add Your Own Solution Use this form to add a suggested cause or solution which you think might help. Adding content is disabled. The spammer have won. The Domino Errors Database is brought to you by Codestore.net and sponsored by Rockall Design ltd.