Link to home
Start Free TrialLog in
Avatar of Richie_Simonetti
Richie_SimonettiFlag for Argentina

asked on

Error Loading USE or USELSX module...

Hi,
i am getting this error on some PC s and not in others for the same database.
- PCs have same lotus version (5.0.11)
- Database is at Server
- The library with the loading error is a custom library where i have all the LotusScript funcionality
- The code is called from an Agent

The only diference between them is that i have Lotus Designer installed. The problem goes out if i install it.
That's not a solution.
Somebody could help me?
Thanks in advance
Avatar of p_partha
p_partha

Just a thought , try removing the cache.dsk

Partha
Other than script libraries.. do you uses other lsx libraries ?

Or it could be related to some corrupt dlls.. which is replaced during designer installation. One such dll is NLSXBE.DLL, replace this with your working copy and see if it complains any more


~Hemanth
Avatar of Richie_Simonetti

ASKER

Many thanks to all:
p_partha: i will do
HemanthaKumar: None other than Lotus itself uses. Indeed, that module is in the same database and it is not external.
madheeswar: I will check it.

Did you use dll technique
sorry. i didn't catch you.
>Or it could be related to some corrupt dlls.. which is replaced during designer installation. One such dll is NLSXBE.DLL, replace this with your working copy and see if it complains any more
Is this agent meant to run in the foreground on the client (i.e., via the Actons menu, or [ToolsRunMacro] or .getAgent/.Run)?  I'll asume it is.  Try recomiling and saving your script library, and recompiling and saving your agent.  You might want to even try changing the ame of the script library, and "fixing: the agents so they use the new name. Sometimes Notes gets these things out of sync, and doing this fxes it,  You can always change the name back.


Madheeswar, please at least read the technote before posting it.  your first link is about server agents.  This does not appear to be a server agent, nor, I assume, a background agent for workstations.

As for the second one... why not just say "Go to support.lotus.com, clickon Search Knowledgebase, and enter the error message as the search term"
it runs under a button's click:
.getAgent/.Run
The agent is at server (since it belongs to that DB) ant it is calling from client (no replicadb invi¡olved)
How do i recompile the script or the agent?
Just open and re-save the agent...this will compile the script.

For compliling script.. use top-down approach.. start from top library and end with last one in the chain (or if using R6 use recompile All LS)
The agent was opened, modified several times before post the question (i did it so to test exactly where the error rises), the same applies to Library (unique)
:(
What libraries are included in it..

If it has say libA, and libA has libB and libB has libC.. and you modified libC..Then open libB just do some change like adding space and save, then perform same with libA, and then for agent.
There is only one library called "libTools" which is mentioned in the log when error occurs.
Possibly some kind of corruption in the registry.. possible workaround is to re-register nslxbe.dll

more info at http://www-1.ibm.com/support/docview.wss?rs=899&uid=swg21112239
I created a new library called "libWorkFlow", exported old library and imported data from it.
After that, i changed all Use "<libame>" that are in the DB.
Problems remains.
It appears like a version problem.
I have version 5.0.11, clients appears to have version 5.07 and it could be the problem.
Atleast 5.08 is considered stable and a good choice..Secondly make sure that client install meets the requirement spec for that version
regarding version:
My 5.0.11 is in english, others are 5.0.7 but spanish.
Could it be a problem too?
wow... you have can of worms that you are slowly opening it now .

I had similar issue once with German version and OS was German too.. Now I have issues with Chinese version of Notes ! Always ongoing !..

One way to shoot at this is to simulate the setup at your end and debug and check what is that notes is messed up with
HemanthaKumar  feedback
Date: 12/09/2004 01:37PM PST
Comment  

Possibly some kind of corruption in the registry.. possible workaround is to re-register nslxbe.dll

 
I did a search for that dll but it is not present in my system.
Upgrade the clients to decent level (5.08 or better 5.0.12) .. THis might fix the registry.. if it doesn't atleast you will find that dll. Or copy it from working install and register it
the name of dll was misspelled:
it should be nlsxbe.dll
i found it. I will try to deploy that dll in no-working workstations.
Cheers
DON'T DEPLOY THE DLL!

There is a version f that DLL deployed in ALL Notes installs.  If the file is missing, you really should do a reinstall, don't try patching back together a corrupt set of binaries.  plus, the version you have will certainly be a mismatch for theone they have, unless you are using teh ame release, and you definitely are not (different language, different build number... everything but different product type!).
Ok. Thanks
File is not missing. It exist on target workstations but older ones.
Then, how to solve  the problem?
Is there any Use or UseLSX statment IN the library itself?

Can you see the code of the library? Do you understand how it works?

Are there any other USE or USELSX statements in the agent, besides Use "libTools" (or now, Use "libWorkFlow")?

(I'm thinking there's a possibility that the library uses some LSX that is present on your mahcine but not others.)
well, the onlu use statement is for the custom library "libWorkFlow" former "libTools"
No UseLSX anywhere in the agent?
No Use or UseLSX anywhere in the library?
Library contents are readable?

Also, try this.  Create a new agent, without any code, just put in (Options) -- Use "libWorkFlow"
Save the new agent.  Run it.  Any errors?

If not , you may want to try exporting the old agent code and importing it into a new agent -- maybe the old agent is what got corrrupt.
Well, my boss want to upgrade and standarize Lotus Notes Clients to solve the problem.
Now, who deserves the points?
Cheers
You do!
No comment has been added to this question in more than 21 days, so it is now classified as abandoned.

I will leave the following recommendation for this question in the Cleanup topic area:
    PAQ with points refunded

Any objections should be posted here in the next 4 days. After that time, the question will be closed.

Zvonko
EE Cleanup Volunteer
ASKER CERTIFIED SOLUTION
Avatar of modulo
modulo

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