Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
Inline commands in DCT
ushapriya
Hi
We had been using ipls (entity) in our dcrs. After upgrading to TS6 and moving to a new box, the dcts open only if iwperl is specified with extension (iwperl.exe). The older dcrs did not require the extension. Code snippet is shown below. Is there a configuration that was done in the other box, which i am missing here?? If so what? If not what should i do?
Thank you
Usha
CODE SNIPPET of datacapture.cfg--------------------
<?xml version="1.0" standalone="yes"?>
<!DOCTYPE datacapture SYSTEM "datacapture5.0.dtd" [
--------works now-------------
<!ENTITY SecurityGroups "C:/iw-home/iw-perl/bin/iwperl.exe C:/iw-home/local/bin/pmmc_intranet/getGroups.ipl">
--------------------------
--------does not work - worked earlier-----------
<!ENTITY SecurityGroups "C:/iw-home/iw-perl/bin/iwperl C:/iw-home/local/bin/pmmc_intranet/getGroups.ipl">
--------------------------
........................
........................
<data-capture-requirements type="content">
<container name="Security" hide-name="t">
<item name="ACLS">
<label>Security Privleges</label>
<inline command="&SecurityGroups;" />
</item>
</container>
........................
........................
</data-capture-requirements>
Find more posts tagged with
Comments
Adam Stoller
Sounds like the new box does not explicitly assume that .exe files are implicitly executable.
if you go to a Command Prompt on the server and type:
echo %PATHEXT%
what do you see?
It should be something like (though not necessarily exactly): .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.PL;.IPL
If you don't see .EXE in that list - that would certainly explain the behavior you're seeing.
If you do see .EXE in that list - then the problem is something else. As I don't use Windows very often anymore (thankfully) - someone else will have to pick it up from here...
--fish
Senior Consultant, Quotient Inc.
http://www.quotient-inc.com
jform_post.rptdesign
ushapriya
Thank you for the suggestion -
I tried it - I see .exe in the output when i type this in cmd window for the command "echo %PATHEXT%"
ushapriya
There was a 0 KB file in the directory "C:/iw-home/iw-perl/bin/" called iwperl. Deleting that file worked to resolve this issue.
Thank you for all your help.