Object Variable Not Set on Notes Launch

When I open Notes Client, I get an “Object Variable Not Set” Error every time. It also happens when I switch locations, and it happens when I try to switch welcome pages. I have specified an old copy of my address book in my user preferences, but it is the only one listed. I have tried different combinations of welcome page options (I use the frames version)

Subject: Object Variable Not Set on Notes Launch

Use the debugger and see where it’s happening.

Subject: Object Variable Not Set on Notes Launch

are you a roaming user or does your name & address happen to replicate? We are investigating a problem in the bookmark template described as:

To reproduce you should be a Roaming user using two different Clients

Create a new Location document on one of the clients

Using the new location create a new Welcome Page (other than the Basic)

Replicate the Names.nsf and bookmark.nsf with the Roaming Server

Log onto the second Client, you will get the “Object Variable not Set” error when logging into notes.

If you attempt to switch to the new Location document, you will get the same error.

Could this be what you are experiencing?

Rgds,

Debbie Branco

Notes Template Development

Subject: RE: Object Variable Not Set on Notes Launch

I have Notes on 2 computers, home and office laptop, so I replicate my personal NAB to a development server so I can keep my contacts and connection docs updated. I use locations to manage the different configurations. On my laptop, where this problem was occuring, I do have 2 versions of Notes (5.0.9a and 6.0.2 CF2) but do not share a address book between them. Also, this problem was not related to using both clients at once as you suggest above. I had also attempted to create customized welcome pages, but that did not resolve the problem.

I have fixed it, however… I took the previous suggestion, and switched locations in debugger, and noticed that the LS code was looking for an INI setting that was essentially hard-coded to names.nsf. Because of a recent hard drive failure on laptop, I had switched my user preferences to use a backup copy of the replicated address book: names-old.nsf. When I changed the file name (and my user preferences) to use the replicated address book as names.nsf, the problem went away. I would suggest updating that welcome page code with a lookup to user preferences for correct file name of address book rather than hard coded names.nsf.

Subject: RE: Object Variable Not Set on Notes Launch

Hi,

I´m using Domino 6.54 FP2 with Notes Client 6.54 FP 2, German Langpack on (ServerSide - Win2k3 SP1 and the Workstation is XP SP2 - both are german).

Having the same problem, but under other circumstances (i´m getting that same error message on Notes launch, as i had edited my notes.ini, to have more than one adressbook).

The following code snippet is the region, where the Debugger brings up the “Object variable did not set” msg.

this code is located in bookmark.nsf (script library “EditLayouts_de-DE” in the ‘Declarations’)

the error comes on line 170,3

'get Current Location's name

	iNum = Instr(rawLocationStr, ",")

	currLoc = Left(rawLocationStr, iNum-1)

	Set locview = Locdb.getview(Lcase("LocATionS"))  'DNT  ' underneath is the ERROR

	Set locDoc = locview.getfirstdocument()

	While Not locDoc Is Nothing

		locationName = locDoc.getitemvalue("Name")

		If locationName(0) = currLoc Then  'found the current location document

			locationIDFromINI = Locdoc.UniversalID

			Goto continueLocFromIni

		End If

		Set locDoc = locview.getnextdocument(locDoc)

	Wend	

Is there any solution in the near future (maybe Fixpack or s.th.)??

thanx for your support

Subject: RE: Object Variable Not Set on Notes Launch

OK - I´ve found out.

The error in my above posting is located in line 169. Where you refer to a invalid View.

Change this:

Set locview = Locdb.getview(Lcase(“LocATionS”))

To this:

Set locview = Locdb.getview(Lcase(“($Locations)”))

and you won´t get any error message.

thanx

fatmir sinani