Solved

Problem in agents

Posted on 2003-11-24
6
260 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
  • 3
6 Comments
 
LVL 13

Accepted Solution

by:
CRAK earned 50 total points
Comment Utility
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
Comment Utility
I'd appreciate some feedback.....
0
 

Author Comment

by:Rajendracn
Comment Utility
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
Comment Utility
Cool! So you are about to close the question?
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

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.
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

771 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now