Hi
We're getting an error calling iwmetadata.cgi from a perl script - the error is "TeamSite: Metadata Capture. Call to sci_FindServerByName() returned with an error"
apacsupport tell us sci_FindServerByName() simply queries for iwserver. This error only occurs with certain users who try to invoke iwmetadata.cgi via a perl script (custom menu item) - invoking iwmetadata.cgi directly as a custom menu item works fine. The perl script being used is:
#!E:\teamsite\iw-home/iw-perl/bin/iwperl
use strict;
use TeamSite::Config;
use TeamSite::CGI_lite;
use Data:

umper;
use File::Basename;
$|=1;
my $iw_home = TeamSite::Config::iwgethome();
my $cgi = TeamSite::CGI_lite->new();
$cgi->parse_data();
my $scriptPath = "E:\\TeamSite\\iw-home\\httpd\\iw-bin\\iwmetadata.cgi";
my $form_data = $cgi->get_form_data();
$ENV{CONTENT_LENGTH} = length $form_data;
if (open (SCRIPT, "|$scriptPath"))
{
print SCRIPT $form_data;
close SCRIPT;
}
exit(0);
Now if the user is in the local administrator group it works fine. Any ideas where our permission problem might be that is throwing up this error?
cheers