11/25/2024 5:22:43 PM
|
|
slxdeveloper.com Community Forums |
|
|
|
The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
Forum to discuss general external development topic (related or not to SalesLogix development). View the code of conduct for posting guidelines.
|
|
|
|
KnowledgeSync Event Manager issue
Posted: 27 Mar 06 5:10 PM
|
fiogf49gjkf0d Our company is using KnowledgeSync 2000 to sync incoming emails + attachments to their proper contacts. A Saleslogix business partner help set up KnowledgeSync, so it's difficult for me to understand what is going on. In any case, KnowledgeSync was running fine until recently where we ran out of harddrive space for attachments (there was another scheduled task that was supposed to remove the attachments, but I just discovered that it has failed since it's implementation).
I believe I have narrowed down the issue, though the information I give may not help much (does anyone know where to look for error logs?)
Under the Event Manager, there is an application event that was created called "Saleslogix_Email_Inbox", and it runs a basic script every minute called "Attach Email To SLX.bas". The basic script has not changed, and yet when I attempt to click the "Test this now" or the "Schedule this now" button, I get an error saying "The service is not running. The service must be running in order to process scheduled items".
At first I thought that this was the KnowledgeSync 2000 service, but under services, its status is "Started". I have also started the KnowledgeSync Desktop Service, and its status is also "Started". I have shut down and restart both these services, but it doesn't seem to change anything.
Also, when I'm in the Event Monitor -> Acitvity -> Server Status, the Server "Application Event" has a status of "Shutdown", and there is an error message associated with it that says "Unable to access triggered file: 3024 Application-defined or object-defined error"
Does anyone have any idea? I'm not sure what else to look for, please help. |
|
|
|
Re: KnowledgeSync Event Manager issue
Posted: 28 Mar 06 10:16 AM
|
fiogf49gjkf0d Justin it sounds like your knowledgesync installation has been corrupted. I am including a list of steps that detail how to upgrade from an earlier version of Knoweldgesync to version 5.7 Upgrading is not the important part but the steps detailing how to backup your files and then reinstall Knowledgesync may be something to try. Again, you do not need to perform the upgrade steps listed unless you want.
The steps for upgrading KnowledgeSync are as follows:
1) Go to the "Services" option on the "Administrative Tools" menu of the KnowledgeSync server. Stop the KnowledgeSync service.
2) (Still in the "Services" option) Display the "Properties" of the KnowledgeSync Service. Click on the "Log On" tab. Make a note of (write down) the values for the domain\username in the "This account" field. Exit from the Services option.
3) Locate (and make a note of) your current KnowledgeSync installation folder. Assuming you took the defaults when you initially installed KnowledgeSync, this location will be:
C:\Program Files\Vineyardsoft\KnowledgeSync 2000
4) Backup all of the contents of this folder (and the contents of all of its sub-folders) to a safe and separate location.
5) Uninstall the KnowledgeSync application using the "Add/Remove Programs" option in the Control Panel. Remove any "KnowledgeSync Update" programs first, and then remove the "Vineyardsoft KnowledgeSync" program. (This process will leave your KnowledgeSync data files intact.)
6) Install (execute) the KnowledgeSync V5.7 setup file. Please note that when asked to specify where to install the V5.7 application, be sure to specify the same location (disk and folder name) as your previous KnowledgeSync installation. The default installation location for V5.7 is:
C:\Program Files\Vineyardsoft\KnowledgeSync 2000
7) You may be prompted to re-start your computer after the installation completes. If so, please choose the option to restart immediately.
8) Go to your "Programs" group and to the "Vineyardsoft KnowledgeSync" branch. Select the option called:
"Upgrade earlier version database to V5"
This program will invisibly update your KnowledgeSync database structure to V5.7. When you are prompted to login to the the Event Manager, please make sure to do so, as this step completes the upgrade.
9) Visually verify your applications, queries, events, reports and scripts in the Event Manager. If any data appears to be missing, please locate your data folder from step #4 and replace the currently installed data folder with the contents of your data folder from your backup location and re-execute step #8.
10) Open the Services program from the Administrator tools menu and open the "Properties" of the "KnowledgeSync" service. Click on the "Log On" tab and modify the domain\username in the "This account" field with the value you noted from step 2 and verify the password. Save this entry.
11) (Still in the "Services" option) Start the "KnowledgeSync" service.
12) Run the KnowledgeSync Event Monitor and verify the service and the individual KnowledgeSync servers have started successfully. The status for the servers will first show "Startup" and then, after several seconds, they will change to "Idle" (if there are no KnowledgeSync events to process) or to "Processing" (if there are events to process).
If you have any questions, please contact Vineyardsoft Customer Support at support@vineyardsoft.com
|
|
|
|
Re: KnowledgeSync Event Manager issue
Posted: 28 Mar 06 12:38 PM
|
Thanks Kris, I will attempt your suggestion when I have run out options.
Looking at the basic script, I noticed that the "Attach Email to SLX" script has this at the very top
Declare Function KSGetEvent App ( ByVal s As String ) As String Declare Function KSGetPackage App ( ByVal s As String ) As String Declare Function KSGetSQL App ( ByVal l As Long ) As String Declare Function KSGetData App ( ByVal s As String ) As String Declare Function KSTrigger( ByVal ukey As String) As Boolean Declare Function KSScheduleEvent App ( ByVal lookup As String) As String
I looked for them in the rest of the code to see if they were defined (tried to find out what it does), but after the declaration, I couldn't find any code for them.
When I tested this thru the Cypress Enable Script Editor, everytime it runs one of those functions, a popup window asks me for the return value for these functions...
What's the point of these functions if they don't return anything (requires manual input?), unless I am doing something wrong. Is this perhaps why I'm getting the error "Unable to access triggered file: 3024 Application-defined or object-defined error"??
|
|
|
|
Re: KnowledgeSync Event Manager issue
Posted: 28 Mar 06 12:43 PM
|
These are knowledgesync specific functions that must be called from within Knowledgesync. The Knowledgesync engine interprets these calls and allows the functions to pass values from the query tied to the event to the script itself. \
For instance ksgetdata("companyname") would return to the script the value from the companyname column from the query of the event that the script is running off of. The knowledgesync user guide documents these functions.
You can download the guide here: http://www.vineyardsoft.com/html/support.html |
|
|
|
Re: KnowledgeSync Event Manager issue
Posted: 28 Mar 06 6:39 PM
|
viagra prodej brno viagra prodej areta.se I got it figured out.
I was looking through the databases that KnowledgeSync was using. There are three major ones (major as in updated constantly) in the data directory:
KS_Inbox.mdb KS_Object.mdb KS_Triggered.mdb
Actually, while I was looking through the databases, I noticed that "KS_Triggered.mdb" did not exist, but existed as a backup as "KS_Triggered_Backup.mdb". It seemed inconsistent with the other two databases (which also had their own "_Backup.mdb" file). I took the backup, repaired and compacted the database into "KS_Triggered.mdb".
After restarting the KnowledgeSync service, I noticed in the Event Monitor that the error I was once receiving is now gone.
After waiting for a few hours, it seems to be slowly reattaching the emails once again to Saleslogix.
Thanks very much for your help Kris! I really appreciate all the advice you have given me. |
|
|
|
You can
subscribe to receive a daily forum digest in your
user profile. View the site code
of conduct for posting guidelines.
Forum RSS Feed - Subscribe to the forum RSS feed to keep on top of the latest forum activity!
|
|
|
|
|
|
|
|