Link to home
Start Free TrialLog in
Avatar of BMaadarani
BMaadarani

asked on

Re: Lotus Notes <The document specified by the link cannot be located within the Linked-to database>

Hello Experts,

I have a VB application that automatically creates a document within a Lotus Notes database. When the document is created, it acquires the universal id of the document, and then creates a doclnk file, which basically means a short-cut to the created document.

After the reference file is created, it goes ahead, and launches Lotus Notes with the name and location of the reference file as a parameter. This means that launch Lotus Notes, and open the document whose specs are within the document link.

The problem is when the application launches, it sometimes is successful in openning the Lotus Notes document, and others I get a Lotus Notes messages as follows:

< The document specified by the link cannot be located within the Linked-to database>

I am extremely frustrated with the lack of consistency of the process. So, if there is anyone that can suggest a solution the issue, or better yet an alternative to my method, I would really appreciate it.

thank you
bm
Avatar of HonorGod
HonorGod
Flag of United States of America image

What version of Lotus Blotes?

You might consider a LotusScript agent (it is very, very similar syntax to VB) that can be scheduled to execute when Blotes starts up, and looks for an input file, and from this input file creates the document.
Avatar of BMaadarani
BMaadarani

ASKER

I am using version 6.5.3..

Your suggestion is valid only when Lotus Notes is not already running. I need a resolution that fits both scenarios, when Lotus Notes is running, and when not.

Thanks HonorGod
 An agent can be schedule to run periodically, and at startup.
 You could even send a "special message" that would indicate to a lotus notes filter that the agent should be run
An agent may not be called, since the application is operating on a workstation, and not a Domino server. Can you please elaborate a little further on the "special message" ID?
ASKER CERTIFIED SOLUTION
Avatar of HonorGod
HonorGod
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial