Notes Error Could Not Open The Id File Asp.net
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 6 and 7 Forum Notes/Domino 6 and 7 Forum Notes error: Could not open the ID file Sign in to participate Previous Next Notes error: Could not open the ID file Posted by Sreekumar P on 9.Aug.05 at 07:43 AM using a Web browserCategory: GeneralRelease: All ReleasesPlatform: Windows 2003; Windows 2000; Windows XP I want to sent an email from ASP.NET page using lotus notes. Lotus notes client is installed in the computer which I am working. The steps i tried is a follows 1. Added referenece of Interop.Domino.dll to the project 2. imported the namespace in the application 3. Code is as follows Domino.NotesSessionClass Session = new NotesSessionClass() ; Session.Initialize("Sreekumar P"); on execution the application throw error as follows. Please help me to make it done Thanks Srekumar ------------------------------------------ Notes error: Could not open the ID file Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.Runtime.InteropServices.COMException: Notes error: Could not open the ID file Source Error: Line 90: Domino.NotesSessionClass Session = new NotesSessionClass() ; Line 91: Line 92: Session.Initialize("Sreekumar P"); Line 93: Line 94: Source File: c:\inetpub\wwwroot\aspdrag\webform1.aspx.cs Line: 92 Stack Trace: [COMException (0x80040fa0): Notes error: Could not open the ID file] Domino.NotesSessionClass.Initialize(String pPassword) +0 aspdrag.WebForm1.Button1_Click(Object sender, EventArgs e) in c:\inetpub\wwwroot\aspdrag\webform1.aspx.cs:92 System.Web.UI.WebControls.Button.OnClick(EventArgs e) System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) System.Web.UI.Page.ProcessRequestMain() -------------------------------------------------------------------------------- Version Informati
for Help Receive Real-Time Help Create a Freelance Project Hire for a Full Time Job Ways to Get Help Ask a Question Ask for Help Receive Real-Time Help Create a Freelance Project Hire for a Full Time Job Ways to Get Help Expand Search Submit Close Search Login Join Today Products BackProducts Gigs Live Careers Vendor Services Groups Website Testing Store Headlines Experts Exchange > Questions > initializing Lotus Notes Session Want to Advertise Here? Solved initializing Lotus Notes Session Posted on 2003-12-09 ASP 1 Verified Solution 3 Comments 3,951 Views Last Modified: 2008-02-26 i am ASP developer and this is the first time i deal with Lotus Notes. I am trying to initialize an Lotus Notes Session. however, http://www-10.lotus.com/ldd/nd6forum.nsf/869c7412fe5d56b7852569fa007826e3/855265512d27a3308525705800406b30 i got an error "An exception of type 'NotesSession:Notes error: could not open the ID file' was not handled" when i try to use InitializeUsingNotesUserName(), i got a different error message "'An invalid username/password' was not handled". here's that section of the code: Dim s set s = CreateObject("Lotus.NotesSession") Call s.Initialize("password") 'and then process documents..... some environment info.: i am running win2k, with lotus notes client installed. Lotus Domino Server is not installed. i have https://www.experts-exchange.com/questions/20821131/initializing-Lotus-Notes-Session.html checked the notes.ini file, KeyFilename=user.id. i've tried changing it to the full path, but didn't help. what should i do???? 0 Question by:asenna25 Facebook Twitter LinkedIn Google LVL 21 Best Solution byap_sajith The Initialize method shown in the code bases the session on the current Domino or Notes user ID. If the user ID requires a password, a prompt appears at run-time. Optionally you can specify the password Go to Solution 3 Comments LVL 21 Overall: Level 21 ASP 21 Message Accepted Solution by:ap_sajith2003-12-09 The Initialize method shown in the code bases the session on the current Domino or Notes user ID. If the user ID requires a password, a prompt appears at run-time. Optionally you can specify the password in the code: Call session.Initialize("UserIDPassword") If the machine contains both server and client software, the user ID depends on which software is current in the operating system registry. If the code is running on a machine containing a Domino server, you can base the session on a user name in the local Domino Directory with: Call session.InitializeUsingNotesUserName("UserName") An empty string means "Anonymous." Access depends on the "Server Access" and "Java/COM Restrictions" settings in the user record in the Domino Directory. In this case, the password is the Internet password in the user record in the Domino Directory. If a password i
This post has 0 Replies | 1 Follower asenna25 Since 12/10/2003 Posts 1 Reputation 5 Reply asa senna http://www-01.ibm.com/support/docview.wss?uid=swg21196473 (asenna25) Posted: 12/10/2003 1:49 PM rated by 0 users i am ASP developer and this is the first time i notes error deal with Lotus Notes.I am trying to initialize an Lotus Notes Session. however, i got an error "An exception of type 'NotesSession:Notes error: could not open the ID file' was not handled"when i try to use InitializeUsingNotesUserName() with username and notes error could password, i got a different error message "'An invalid username/password' was not handled".here's that section of the code:Dim sset s = CreateObject("Lotus.NotesSession")Call s.Initialize("password")'and then process documents.....some environment info.:i am running win2k, with lotus notes client installed as Island. Lotus Domino Server is not installed.here's some value from my notes.ini file...Directory=C:\program files\lotus\notes\dataFileDlgDirectory=C:\Documents and Settings\Administrator\DesktopKeyFileName=C:\Program Files\lotus\notes\data\user.id i have checked the notes.ini file, KeyFilename=user.id. i've tried changing it to the full path, but didn't help.i noticed if i used InitializeUsingNotesUserName() without passing parameters, then i'm fine and have no problem initializingWhat did i do wrong???Any response will be greatly appreciated!!!! | Post Points: 5 < Previous Topic | Next Topic > Page 1 of 1 (1 items) | RSS Copyright 1998-2016 vbCity.com LLC
Profile dao 6.5.x; dao 6.5x; iao 6.5.x; damo 6.5.x; damo 65x; iNotes Access for Microsoft Outlook; iNotes Access for MS Outlook; iNotes Access for Outlook; iNotes for Outlook; Domino Access for Microsoft Outlook; Domino Access for MS Outlook; Domino Access for Outlook; iNotes for Outlook; Domino Web Access for MS Outlook; fqihn; notes id file; unable to open id file Technote (FAQ) Question When a customer attempts to create a MAPI profile in IBM Lotus Domino Access for Microsoft Outlook (DAMO), the following error message occurs: "Unable to open the ID file" This error is occurring on some workstations and not others, and it occurs with some user IDs and not others. The customer has made sure that: The ID file is not in use by another application. The ID file can be opened with a Notes Client mapped to the DAMO \Data directory. The Name & Address Book (NAB) has the appropriate cross certificates. Answer One case: The customer checked the Log.nsf for errors; both the failed and successful attempts to create the profile contained the following error message: "Directory Assistance failed opening Primary Domino Directory names.nsf, error: File does not exist." The user whose profile was successfully created saw this message: "Database (C:\Program Files\DominoForOutlook\pernames.ntf) time is too far in the future" A look at the system clock indicated that the system time was set to a year prior to the actual date. For example, if today is January 8, 2005, the system clock shows January 8, 2004. Correcting this system clock allowed for all user profiles to be created successfully. The problem occurs with the following steps: 1. Run DAMO to create a new MAPI profile. 2. Enter the user name and Domino server (fully qualified Internet host name ). 3. Point to the location of the user ID file. 4. Enter the password. 5. Allow creation of a Cross certificate. After a few moments the error, "Unable to open the ID file" occurs. Another case: In another customer's case involving the "Unable to Open ID file" error, the customer did not receive the second error "Database (C:\Program File