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
LVL 16
Richie_SimonettiIT OperationsAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

p_parthaCommented:
Just a thought , try removing the cache.dsk

Partha
0
HemanthaKumarCommented:
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
0
Cloud Class® Course: Certified Penetration Testing

This CPTE Certified Penetration Testing Engineer course covers everything you need to know about becoming a Certified Penetration Testing Engineer. Career Path: Professional roles include Ethical Hackers, Security Consultants, System Administrators, and Chief Security Officers.

Richie_SimonettiIT OperationsAuthor Commented:
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.

0
HemanthaKumarCommented:
Did you use dll technique
0
Richie_SimonettiIT OperationsAuthor Commented:
sorry. i didn't catch you.
0
HemanthaKumarCommented:
>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
0
qwaleteeCommented:
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"
0
Richie_SimonettiIT OperationsAuthor Commented:
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?
0
HemanthaKumarCommented:
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)
0
Richie_SimonettiIT OperationsAuthor Commented:
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)
:(
0
HemanthaKumarCommented:
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.
0
Richie_SimonettiIT OperationsAuthor Commented:
There is only one library called "libTools" which is mentioned in the log when error occurs.
0
HemanthaKumarCommented:
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
0
Richie_SimonettiIT OperationsAuthor Commented:
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.
0
HemanthaKumarCommented:
Atleast 5.08 is considered stable and a good choice..Secondly make sure that client install meets the requirement spec for that version
0
Richie_SimonettiIT OperationsAuthor Commented:
regarding version:
My 5.0.11 is in english, others are 5.0.7 but spanish.
Could it be a problem too?
0
HemanthaKumarCommented:
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
0
Richie_SimonettiIT OperationsAuthor Commented:
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.
0
HemanthaKumarCommented:
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
0
Richie_SimonettiIT OperationsAuthor Commented:
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
0
qwaleteeCommented:
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!).
0
Richie_SimonettiIT OperationsAuthor Commented:
Ok. Thanks
File is not missing. It exist on target workstations but older ones.
Then, how to solve  the problem?
0
qwaleteeCommented:
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")?

0
qwaleteeCommented:
(I'm thinking there's a possibility that the library uses some LSX that is present on your mahcine but not others.)
0
Richie_SimonettiIT OperationsAuthor Commented:
well, the onlu use statement is for the custom library "libWorkFlow" former "libTools"
0
qwaleteeCommented:
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.
0
Richie_SimonettiIT OperationsAuthor Commented:
Well, my boss want to upgrade and standarize Lotus Notes Clients to solve the problem.
Now, who deserves the points?
Cheers
0
qwaleteeCommented:
You do!
0
ZvonkoSystems architectCommented:
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
0
moduloCommented:
PAQed with points refunded (100)

modulo
Community Support Moderator
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Lotus IBM

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.