DDSearch won't install, Active-X error?

Does anyone else get this error trying to install DDSearch? I had it working before but now it doesn’t install :frowning:

Error Report generated at 3/14/2003 10:29:27 AM

Program name: DDSearch

Release: 2.1.0

Install path: C:\Program Files\DDSearch

MultiInstance: False

Process ID: 4194304

Thread ID: 2108

DLL error: 0

Module name: cApplication::NotesSession

Error number: 429

Error message:

ActiveX component can’t create object

Module hints:

NotesSession: GetSession->

Callstack:

->cApplication::NotesSession<-

cApplication::BookmarkDBPath

cApplication::Install

cApplication::OneTimeInstall

mMain::Main

Subject: Try this

open a command prompt, go into your notes program directory and run regsvr32 nlsxbe.dllto register the Notes COM object support, then try again, this should fix it.

Subject: RE: Try this

Hmmm… the .dll was successfully registered, but it didn’t work with the install (same error), though I have not rebooted yet. It seems to go through the install pretty much all the way, I think it’s just having trouble adding the menu item. Is there a way I can add it manually? This search really whips the Teamstudio search :slight_smile:

Subject: Alternative way…

The MSI installer installs DDSearch, and then calls ddsearch.exe /INSTALL , which in turns adds the menu entry to the designer client. From what I can tell is that either you didn’t perform a clean R6 install or you maybe mixed it with an R5 install, or you launch the code with a notes.ini in a non-standard place, preventing it from starting up programmatically. I was wrong with the reference to the COM registration, as DDSearch doesn’t use COM for the registration of the menu, it uses OLE automation at this point…

So, I really recommend that you try to get a standard install and then it should just work fine.

The other alternative is to create the menu item manually:

Open bookmark.nsf, find the “DesignTools” outline and add a new child entry under the “Always” entry like so:

The computed value needs to set to this code below, make sure to update the 1st line to suit your environment:

application := “D:\DDSearch\DDSearch”;

server := @Name([Abbreviate];@DbName[1]);

cmdServer := @If(server=“”;“”;“/server:"” + server + “"”);

database := @DbName[2];

cmdDatabase := @If(database=“”;“”;“/database:"” + database + “"”);

cmdLine := @Trim(cmdServer + " " + cmdDatabase);

@Command([Execute]; application; cmdLine)

regards

Thomas - IBM

Subject: Alternative way… Thanks!

I could finally install the Sanbox-file! Indeed the system I have to use is a dual R5/R6 system, so some manual hanky/panky was required. The formula above did the trick!