Solved

Problem in agents

Posted on 2003-11-24
6
264 Views
Last Modified: 2010-04-22
Hello,

I had created a agent in which I used a script library and called few sub written in library. it was working fine meeting all requirements. Later I created another Library. I copied this library from library of another database. I am using this new library in my old library.
  This is working . But if i run the program,the  sub called from the agent are throwing errors.

   Please suggest the answer
 
0
Comment
Question by:Rajendracn
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
6 Comments
 
LVL 13

Accepted Solution

by:
CRAK earned 50 total points
ID: 9818593
Depends on the error...
Any subs, functions or vars with the same name declared globally (twice)? (note: you can declare them a 2nd time as local va inside a sub)
Does the copied library use another library that is not available? Or perhaps a circular use (A using B, B using A thus A and B indirectly calling themselves)?
Is it a type mismatch (declared as number in one place, fed with a string in the sub)?
I really need more info on the error(s)!

If you suspect its not a programmatic error, try recompiling the whole bunch...
Assume you have an agent "A", using a library "B" and "B" uses a 2nd library "C".
Open "C", save it after making a modification (e.g. type a space and remove it again), then do the same on "B" an finally on "A".
0
 
LVL 13

Expert Comment

by:CRAK
ID: 9869282
I'd appreciate some feedback.....
0
 

Author Comment

by:Rajendracn
ID: 9918166
the copied library had a function call that did not have right prameters, however the bugs were cleared  

 Regards
  Rajendracn
0
 
LVL 13

Expert Comment

by:CRAK
ID: 9918858
Cool! So you are about to close the question?
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Notes Document Link used by IBM Notes is a link file which aids in the sharing of links to documents in email and webpages. The posts describe the importance and steps to create a Lotus Notes NDL file in brief.
This article covers general Notes 8.5 troubleshooting information including recreating the Notes\Data folder.
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question