Solved

Problem in agents

Posted on 2003-11-24
6
261 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
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

For Desktop Techs: How to retain a user's Notes configuration data when swapping out the end user's computer. (Assuming that you are not upgrading to a completely different version of Notes client) All you need to do is: 1) install Notes o…
Article by: Rob
Notes 8.5 Archiving Steps and Tips This article covers setting up a Notes archive, and helps understand some of the menu choices making setting up and maintaining a Notes archive file easier.
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…

863 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

20 Experts available now in Live!

Get 1:1 Help Now