Interact2Day, Inc.    Saturday, December 21, 2024

>> USTCP cgiSuite <<

USTCP cgiSuite FAQs
Windows NT/2000 Technical Issues

INDEX:
  1. I am using ISAPI Perl (perlis.dll) with Microsoft IIS and I keep getting server or CGI errors whenever I try to call a cgiSuite application (e.g. cgiadmin.pl, mailform.pl, redirect.pl).
  2. I keep getting errors such as "Could Not Open xxxx File ([filename and path]). INFO: Unable to soft-lock [filename and path]" or errors renaming or deleting files.

 

  1. Q.    I am using ISAPI Perl (perlis.dll) with Microsoft IIS and I keep getting server or CGI errors whenever I try to call a cgiSuite application (e.g. cgiadmin.pl, mailform.pl, redirect.pl).
    A.
        Enable the
    $PrintFullHTTPStatusHeaders variable in each script's source code by setting this variable to a value of "1" (True).  Unlike the standard CGI interface, the Perl for ISAPI interface behaves more like a non-parsed-headers (nph- scripts) environment.  Setting this value to "1" instructs these applications to begin every page with "HTTP/1.0 200 OK" -type headers.  This should fix your problem.
  2. Q.    I keep getting errors such as "Could Not Open xxxx File ([filename and path]). INFO: Unable to soft-lock [filename and path]" or errors renaming or deleting files.
    A.    Unfortunately, this is a common issue on IIS (particularly 4.0).  Essentially IIS locks the file so it can cache the file, but instead of giving up this lock as soon as possible NT will continue to hold onto the lock for minutes to hours before releasing it.  Other times some event may cause the script to terminate prematurely before it can release it's own locks and NT may continue to maintain the file's lock status for some number of minutes or hours, or even until the next reboot.  Sadly, there isn't much programmatically that can be done about this, although you may try disabling flock() support to see if that helps any.  Ultimately you will need to have your System Administrator implement Microsoft's workaround to prevent such greedy locking.  Odds are you are encountering this problem elsewhere when trying to upload a file that was previously viewed with your browser, from time to time as well.
 
Review Interact2Day's Privacy Policy.

© 1996-2006 Interact2Day, Inc., All Rights Reserved.
All material on this site is subject to change or correction without notice.
Additional copyright and trademark statements.
® Interact2Day and the Interact2Day Logo are registered trademarks of Interact2Day, Inc, Anderson, SC, USA.
Interact2Day, Inc., is a Florida registered Corporation headquartered in Anderson, South Carolina.
Interact2Day, Inc.