27-October-2011
I finally managed to get Lotus Notes 6.5 work on the GX520 – and on the Probook 4430s laptop!
The reason was actually very simple, and so uncomplicated, that it is almost shameful to be told.
Anyway, after so many days and weeks of trying and trying, searching and searching, tweaking, installing, uninstalling, reinstalling, and I was losing my patience, particularly today, and was at the point of giving up on this thing, I prayed for strength to go on, and patience to keep me cool, but most importantly, wisdom to at least know and understand what I am doing.
To begin with, I checked how the working PC is faring.
I opened the Visual Studio IDE on both computers to see what variables are getting populated, and with what values.
I did a simultaneous run on both PCs, inserting breakpoints at the same line of code, comparing side-by-side when codes are being executed.
Then I found the differences:
The Lotus Notes document cannot be opened.
Why?
The Lotus Notes Database cannot be created.
Why?
The password is wrong.
Also, the server is wrong.
So why was I using the .ini file with all the wrong details inside?
These are all defined in the .ini file which I copied from the GX520 PC, which is not used as a primary mini-server machine, but it was a development machine, and while the codes would be verified before deployed, that was before the server and account was changed. And with a code that isn’t very dynamic, there wasn’t any need to update the files now and then. That’s the bug that bit me.
I stepped through the code backwards, and here are the errors as encountered:
“Object reference…” when the document cannot be opened.
When I tried to define a new Notes DB object by the ‘new’ directive, I got “80040154”.
When I searched about this error code, I found something like registering nlsxbe.dll, which I did, but the same error code/cause was thrown: 80040154.
Somewhere, maybe in quiet desperation, coupled with a slower movement on the code check, I managed to step through the line that initializes the Notes Session, which calls the login function, which was requiring the user, password, and of course, the server name.
I saw it from there, like a snake waiting to bite me if I ever stick my head in…
So a simple problem what needed a long time to get fixed, but it is all done now.
Lotus Notes object is not a problem anymore in my desktops and in my laptop (GX280, GX520 and Probook 4430s).
This may not be the case for still many others who are struggling with Lotus Notes 6.5 out there, but that number is one less now…
Till then!
Showing posts with label IBM Lotus Notes. Show all posts
Showing posts with label IBM Lotus Notes. Show all posts
27 October, 2011
09 September, 2011
Windows 7 and Lotus Domino 6.5
Speed - I am using Dell GX280 and GX520, and I found that GX280 running Windows 7 compared to GX520 running XP, the speed is substantially noticeable. Just for the record, here are the basic specs:
GX280
Pentium 4
2.79GHz
2GB RAM
GX520
Pentium 4
3.00GHz
2.5GB
That is true even when opening and editing in Visual Studio 2005 and 2010.
Now, what is the point I am driving home now? I had one PC try out Windows 7, and part of the test is to find out if all my codes will work, knowing that Windows 7 is the better way to go.
I built and installed those programs that were using Oracle client (inline SQL, stored procedures, etc), and they worked fine. There is another that saves to Excel file, and this, too, worked fine.
Then came those batches that uses Lotus Notes, Domino 6.5. Well, I was able to install Lotus Notes client. And what I usually do is, I copy the whole folder of \\notes\ from a different PC that is working, and dump it into the new installation, and immediately, things are like old times. Followed by this, I was able to build and install the whole batch of programs that reads from Notes.
But I was able to resolve this within the day. My luck? I would call it my perseverance to make use of Windows 7, and my perseverance to make things work - if needed.
Since things can be done faster even with a dying PC (I'd call it that, the GX280) which is given the new heart of Windows 7, I do several rounds of uninstalling Lotus Notes client, reinstalling it, then building and installing 1 program at a time.
What I found is that I am able to build 1, or all, at the same time, but when I try to build 1, then install, then next build already fails. the object file domobj.tlb can no longer be referenced by Visual Studio. But as said, if you build all first, there is no problem.
So finally, that is what I did: uninstall then reinstall Lotus Notes 6.5, then build all of my programs, then do the installation after. Now, did the programs run without a problem?
No! You see, some thing could be writing to the registry, and it 'removes' or 'deletes' the entry for Domino 6.5. So after installing the programs, what I did was do a Repair-Installation of Lotus Notes 6.5, and that fixed the problem.
But for me, I have a fix, and I will stick to it, whether or not I get an answer from them.
Till then!
Related articles
- Bring Windows 7 Style Dock Preview to Mac (beast4romtheeast.wordpress.com)
- Lepide Data Recovery Launched New Email Migration Tool to Convert Lotus Notes to Novell GroupWise (prweb.com)
- SWING PDF Converter 2.0 Exports Lotus Notes Content for Archiving, Sharing and Printing (prweb.com)
- New eProductivity Stand-alone App Lets Users Personalize Their IBM Lotus Notes Experience, Making Lotus Notes Likeable (prweb.com)
- D851AB - Lotus Domino 8.5.1 Administration Basics (rbontekoe.wordpress.com)
- Blackberry | GTD Times (gtdtimes.com)
- Organizing Windows 7 (luiscarlosmr.wordpress.com)
- How do you shutdown your Windows 7 computers? (edugeek.net)
- Collegue wanted: Systems Developer (Notes Domino) (quintessens.wordpress.com)
- And I thought yesterday was tough! (mirfee.wordpress.com)
- G+7 Adds Google+ To Your Windows Desktop [Windows Downloads] (lifehacker.com)
- Windows Phone 7, Day 8: Ringtones, Screenshots, and Other Pet Peeves (pcworld.com)
- New Permessa Software Release Optimizes IBM Lotus DAOS And Achieves Lotus Sametime Compliance (prweb.com)
- ZK Wins IBM XPages Development Contest for Reusable Controls, Embed Excel Functionality into IBM Lotus Domino XPages Applications (prweb.com)
- BoxTone Sponsors Lotusphere 2010 (prweb.com)
- Remove the Command Bar from Windows Explorer in Windows 7 (beast4romtheeast.wordpress.com)
- PhoneGap for Windows Phone7 (i-programmer.info)
- Mango ROMs Leak For HTC Windows Phone 7 Smartphones (pocketnow.com)
- Dreamweaver 2004MX and Windows 7 (edugeek.net)
- Small business insurance customers 'need Windows 7 support' (premierlinedirect.co.uk)
- Change Windows 7 Login Screen (madrasgeek.com)
- Mosaic Brings the Windows 8 Metro UI to Windows 7 [Windows Downloads] (lifehacker.com)
- Unable to install Sophos 9.7 on windows 7 (edugeek.net)
- How to get rid of the crapware that came with your laptop? (melvinz.wordpress.com)
- Windows 8: Microsoft's Next (techie-buzz.com)
- Whats Difference between Windows 8 and Windows 7 ? (mashtech.wordpress.com)
Subscribe to:
Posts (Atom)