"cannot execute CGI script " error

Greetings.
I am trying to setup a Sun One version 6.1 server. When I try to run a simple cgi script, with a .pl suffix, I get:
"cannot execute CGI script "
Is there anything in particular I should look for in resolving hte problem ?
Thanks.
alan

One thing I'd like to mention is this document:
Document ID: 75347
Title: Sun[TM] ONE WebServer 6 - cannot execute CGI script - Permission denied
which states:
case 2: The value for the chroot is NOT set and NO rights are granted
for cgi's to execute anywhere.
<PROPERTY name="chroot" value=""/>
Note that the value of "value=" above will differ from your setup but that
the location of the line within the server.xml file should be easily
identifiable by the formatting described above.
To quickly identify a fix, grant permissions from the root level by
modifying the line to look thus:
<PROPERTY name="chroot" value=""/>
The problem and fix look to be the same. Any idea what the fix should look like ?
Thanks.
alan

Similar Messages

  • Cannot execute CGI script in WL5.1 on Windows

    Hi
    when i execute a cgi script on WL5.1 on Windows NT machine, i get the
    following error :
    <ServletContext-General> cgi-bin: Failed to exec CGI script:myscript.pl
    The URL i use to call this cgi script is :
    http://localhost:7001/cgi-bin/myscript.pl
    I have added the following lines to weblogic.cmd file to allow for cgi
    support :
    weblogic.httpd.register.cgi-bin=weblogic.servlet.CGIServlet
    weblogic.httpd.initArgs.cgi-bin=\
    cgiDir=d:/weblogic/myserver/cgi-bin,\
    *.pl=D:\ActivePerl\Perl\bin\perl5.6.1.exe
    Can anyone help me with this ?
    Thanks

    Just a thought, did you try using forward slashes in the *.pl line?
    JSB wrote:
    Hi
    when i execute a cgi script on WL5.1 on Windows NT machine, i get the
    following error :
    <ServletContext-General> cgi-bin: Failed to exec CGI script:myscript.pl
    The URL i use to call this cgi script is :
    http://localhost:7001/cgi-bin/myscript.pl
    I have added the following lines to weblogic.cmd file to allow for cgi
    support :
    weblogic.httpd.register.cgi-bin=weblogic.servlet.CGIServlet
    weblogic.httpd.initArgs.cgi-bin=\
    cgiDir=d:/weblogic/myserver/cgi-bin,\
    *.pl=D:\ActivePerl\Perl\bin\perl5.6.1.exe
    Can anyone help me with this ?
    Thanks

  • In Web Server 6.0 during the execution of a Perl Script, the software send the error "Cannot execute CGI script......unable to sewt group".

     

    Hi Pablo,
    Its bcos Your web server has been misconfigured. It doesn't know that it should execute your Perl program, so it's just returning the error to the browser.
    Assuming that u use solaris 2.8. Generally the path for the perl in solaris is #!/usr/bin/perl .make sure u have included this in ur first line of the perl programs.[if not enter the exact location of the perl interpretor]
    Now follow these steps:
    *First Part
    First create a cgi folder mycgi-bin( follow this example please) say u create mycgi in /usr folder (solaris). so the path becomes '/usr/mycgi-bin'. set
    appropriate permissions say set chmod to 755. to make it executable. Then
    (1)Goto Programs tab in IWS (iplanet web server) .
    (2)choose cgi-directory drom left frame.
    (3)CGI Directory Add another CGI Directory
    URL prefix: mycgi-bin
    CGI directory: /usr/mycgi-bin
    (4) click 'OK' and click 'apply' to save changes and restart the server.
    * Second Part:
    1.In the Server Administrator, click Server preferences, then select 'MIME Types' from the frame on the left.
    2.If you want to use .pl as the extension for Perl scripts, find and remove the application/x-perl MIME type (this is mapped to .pl by default). (remove it).
    3.Add a new MIME Type with 'magnus-internal/mycgi-bin' (type this exactly ie magnus-internal/cgidirectory url prefix) as the Content Type, and pl as the File Suffix.
    4.Save and apply these changes, then re-start the server.
    5 .Put a sample perl file in mycgi-bin directory say sample.pl and access http://yourserver:port/mycgi-bin/sample. pl
    *If you are having trouble running Perl scripts on your iPlanet server, check the following:
    * Ensure that the script is readable by the account used by the iPlanet service.Generally, this means you should make the script readable by the Everyonegroup.
    * Ensure that all supporting files, like the perl binary files, the perl library files, and the modules that you use, are all readable by the account used by the iPlanet service (i.e., the Everyone group).
    It should work now,
    Regards,
    T.Raghulan

  • Can't execute cgi scripts outside the default

    I had this working fine on my old imac.
    On my new mac (Running Latest Lion)...
    I edited /etc/apache2/httpd.conf
    Updated
    User wtfuser
    Group staff
    Updated
    DocumentRoot "/Users/wtfuser/Sites"
    Updated:
    # This should be changed to whatever you set DocumentRoot to.
    <Directory "/Users/wtfuser/Sites">
        # Possible values for the Options directive are "None", "All",
        # or any combination of:
        #   Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
        # Note that "MultiViews" must be named *explicitly* --- "Options All"
        # doesn't give it to you.
        # The Options directive is both complicated and important.  Please see
        # http://httpd.apache.org/docs/2.2/mod/core.html#options
        # for more information.
        Options Indexes FollowSymLinks MultiViews ExecCGI
        # AllowOverride controls what directives may be placed in .htaccess files.
        # It can be "All", "None", or any combination of the keywords:
        #   Options FileInfo AuthConfig Limit
        AllowOverride None
        # Controls who can get stuff from this server.
        Order allow,deny
        Allow from all
    </Directory>
    I can execute cgi scripts if they are placed in /Library/Webserver/CGI-Executables
    But if I put a test.cgi file inside /Users/wtfuser/Sites/test.cgi
    I get permission denied and errors:
    [Wed May 02 22:38:45 2012] [error] [client ::1] Options ExecCGI is off in this directory: /Users/wtfuser/Sites/sandbox/test.cgi
    [Wed May 02 22:38:45 2012] [error] [client ::1] File does not exist: /Users/lonewolf/Sites/favicon.ico
    [Wed May 02 22:40:07 2012] [error] [client ::1] File does not exist: /Users/lonewolf/Sites/favicon.ico
    [Wed May 02 22:40:14 2012] [error] [client ::1] File does not exist: /Users/lonewolf/Sites/favicon.ico
    [Wed May 02 22:40:24 2012] [error] [client ::1] File does not exist: /Users/lonewolf/Sites/favicon.ico
    [Wed May 02 22:40:25 2012] [error] [client ::1] File does not exist: /Users/lonewolf/Sites/favicon.ico
    [Wed May 02 22:40:25 2012] [error] [client ::1] File does not exist: /Users/lonewolf/Sites/favicon.ico
    Any help is appreciated

    I will send an update.
    I changed this line
    ScriptAliasMatch ^/cgi-bin/((?!(?i:webobjects)).*$) "/Users/wtfuser/Sites/$1"
    This allowed me to successfully change the location of cgi scripts to a more convenient location, or simply because I wanted to do it! Just because!
    It seems like the AddHandler, and the ExecCGI isn't working. This should allow me to run .cgi files from anywhere, regardless of the script alias.
    So I'm open to suggestions as to why this isn't working.  FYI. I copied my httpd.conf file from my old imac running lion onto my new imac, and it still didn't work. But it works as expected on my old imac.
    Confused. But at least I have a work-around and I know the httpd.conf file I'm modifying is the right one, etc...
    ANd what in gods name is that crap with the favicon.ico?
    This is a brand new out of the box imac, or so I thought. Is this normal??

  • Running CGI scripts

    Hi,
    I am running WebLogic Server 5.1. I get the message - "cgi-bin: Failed
    to execute CGI script:reports" when I try to execute cgi-bin scripts
    (*.cgi).
    I have setup the properties file as follows -
    weblogic.httpd.register.cgi-bin=weblogic.servlet.CGIServlet
    weblogic.httpd.initArgs.cgi-bin=\
    cgiDir=/export/home/webbi/NetTracker/cgi-bin
    and am trying to access cgi script as
    http://<host:port>/cgi-bin/reports/ntcgi.cgi
    Appreciate your help.
    Raja

    Marta,
    Thanks for your reply. I followed your advice, it still complains
    cgi-bin: Failed to exec CGI script:ntcgi.cgi
    Any ideas?
    Raja
    Marta Ramos wrote:
    Hi,
    I had the same problem. Try this:
    weblogic.httpd.initArgs.cgi-bin=\
    cgiDir=/export/home/webbi/NetTracker/cgi-bin/reports
    And access to the cgi script as
    http://<host:port>/cgi-bin/ntcgi.cgi
    Do not ask me why, but WebLogic do not admit directories after
    the cgi-bin directory at the URL. That is why he is trying to
    execute the cgi script "reports".
    Hope this help you.
    Marta.
    Raja Ramanathan <[email protected]> wrote:
    Hi,
    I am running WebLogic Server 5.1. I get the message - "cgi-bin: Failed
    to execute CGI script:reports" when I try to execute cgi-bin scripts
    (*.cgi).
    I have setup the properties file as follows -
    weblogic.httpd.register.cgi-bin=weblogic.servlet.CGIServlet
    weblogic.httpd.initArgs.cgi-bin=\
    cgiDir=/export/home/webbi/NetTracker/cgi-bin
    and am trying to access cgi script as
    http://<host:port>/cgi-bin/reports/ntcgi.cgi
    Appreciate your help.
    Raja

  • RC-50004: Fatal: Error occurred in ApplyDatabase:  Control file creation failed  Cannot execute configure of database using RapidClone

    dear associates,
    linux version: red hat enterprise  linux 4.0.
    EBS version: 12.1.1
    RC-50004: Fatal: Error occurred in ApplyDatabase:
    Control file creation failed
    Cannot execute configure of database using RapidClone
    RW-50010: Error: - script has returned an error:   1
    RW-50004: Error code received when running external process.  Check log file for details.
    Running Database Install Driver for VIS instance

    dear associates,
    can u please assist me how can over come this error or problem.
    linux version: red hat enterprise  linux 4.0.
    EBS version: 12.1.1
    RC-50004: Fatal: Error occurred in ApplyDatabase:
    Control file creation failed
    Cannot execute configure of database using RapidClone
    RW-50010: Error: - script has returned an error:   1
    RW-50004: Error code received when running external process.  Check log file for details.
    Running Database Install Driver for VIS instance

  • LMS 3.2 Apache 403 Error on CGI Scripts

    I've been chasing my tail for a couple of days now, and see no other option than to ask here.  It's probably something reall
    y dumb that I'm just not seeing.
    On a Windows 2008 server with SP1 LMS 3.2 is running fine (as long as no one uses stupid scripts ;o)) on a good day, but whenever I try to access any of the cgi scripts installed under Program Files/CSCOpx/cgi-bin it get the dreaded "You don't have permission to access /cgi-bin/dbadmin/pdbadmin/nph-dbreader.pl on this server".  The httpd.conf section for the CGI handling is as follows:
    ScriptAlias /cgi-bin/ "D:/PROGRA~2/CSCOpx/cgi-bin/"
    <Directory "D:/PROGRA~2/CSCOpx/cgi-bin">
    AllowOverride None
    Options +ExecCGI
    AddHandler cgi-script .pl
    #ScriptInterpreterSource Registry-Strict
    ScriptInterpreterSource Script
    </Directory>
    LoadModule perl_module modules/mod_perl.so
    What I would like to know is what have I missed..?  You can see my first attempt by replacing the ScriptInterpreterSource from Registry-Script to the default, Script, to no avail...
    Also, if I make any modifications to the httpd.conf file I cannot just restart the Apache daemon, I have to stop and start the daemon manager, otherwise no one can access the web login page: is that normal..?  As in the following:
    The Apache daemon is restarted:
    [Fri Dec 11 15:14:38 2009] [notice] Child 6088: Child process is running
    [Fri Dec 11 15:14:38 2009] [notice] Child 6088: Acquired the start mutex.
    [Fri Dec 11 15:14:38 2009] [notice] Child 6088: Starting 500 worker threads.
    [Fri Dec 11 15:14:38 2009] [notice] Child 6088: Starting thread to listen on port 1741.
    [Fri Dec 11 15:14:38 2009] [notice] Child 6088: Starting thread to listen on port 443.
    Lots of the following messages appear in the error.log file:
    [Fri Dec 11 15:14:38 2009] [error] [client 10.185.64.101] client denied by server configuration: com.cisco.nm.cmf.servlet.LwmsMainServlet
    [Fri Dec 11 15:14:38 2009] [error] [client 10.185.64.101] client denied by server configuration: D:/Program Files/CSCOpx/cgi-bin/error/403.pl
    Any help would be most appreciated...
    Regards,
    Sean

    I have no expirience with the W2008 OS yet.
    I get the impression it does things differently.
    If you know the casuser password, I asume you can try to log onto the server and try an run the perl script in a dos box.
    Maybe it will provide a clue.
    if you don't know the casuser password you can set it using CSCOpx\bin\resetpasswd.exe.
    Cheers,
    Michel

  • Error running HAL routine from a perl cgi script via a browser

    Hi,
    I'm getting an error while trying to run a HAL routine from a perl- cgi initiated from a web browser. Perl-Cgi script runs fine when run from command line.
    07/23/2010|183648|N/A|Info|N/A|Analytic Services Adapter Log File Started
    07/23/2010|183648|AppName/Plan2|Info|Connect|Method Started
    07/23/2010|183648|AppName/Plan2*|Error|Connect|java.lang.UnsatisfiedLinkError: no HssJNIDriver950 in java.library.path*
    07/23/2010|183648|AppName/Plan2|Error|Connect|Method Ended - Connect completed with exceptions.
    07/23/2010|183648|N/A|Info|N/A|Analytic Services Adapter Log File Ended
    I've added the following env. variables in Apache server's httpd.conf file
    SetEnv ARBORPATH "E:\\Hyperion\\products\\Essbase\\EssbaseClient"
    SetEnv APS_HOME "E:\\Hyperion\\products\\Essbase\\aps"
    SetEnv ESSLANG "English_UnitedStates.Latin1@Binary"
    SetEnv EASPATH "E:\\Hyperion\\products\\Essbase\\eas\\server"
    SetEnv HYPERION_HOME "E:\\Hyperion"
    SetEnv ESSBASEPATH "E:\\Hyperion\\products\\Essbase\\EssbaseClient"
    SetEnv EAS_HOME "E:\Hyperion\products\Essbase\eas\console"
    SetEnv CLASSPATH "E:\\Vignette\\V7\\vbis\\Hyperion\\EssbaseAdapter"
    SetEnv PATH "E:\\Hyperion\\common\\ADM\\9.5.0.0\\Essbase\\9.5.0.0\\bin;E:\\Vignette\\V7\\vbis\\Hyperion\\EssbaseAdapter\\adm;C:\\Program Files (x86)\\Java\\jre1.5.0_17\\bin\\;E:\\Hyperion\\products\\Essbase\\EssbaseClient\\bin;E:\\Hyperion\\products\\Essbase\\EssbaseClient;E:\\Hyperion\\common\\CSS\\9.5.0.0\\bin;E:\\Hyperion\\products\\Essbase\\eas\\console\\bin;"
    Any pointers would be appreciated.
    Thanks in Advance!!

    Vipul,
    Vipul Sanghvi wrote:
    I am facing problem in running a Perl CGI Script on Weblogic
    Application
    Server
    I set the CGIServlet Property in the Weblogic Properties file as
    weblogic.httpd.register.cgi-bin=weblogic.servlet.CGIServlet
    weblogic.httpd.initArgs.cgi-bin=\
    cgiDir=/weblogic/myserver/public_html/cgi-bin,\
    *.pl=/bin/perl.exe,\It shouldn't end with ,\ right?
    Was it a mistake?
    -Kumar
    >
    I installed the Perl on my system and put the perl exe in the bin
    directory
    of the Weblogic App Server. But I am getting the error "failed to
    execute
    the test.pl ". Where test.pl is a simple test perl script.
    APP server ver is WLE5 Beta[att1.html]

  • Perl/cgi scripts display as text; don't execute in Safari

    The web tells me I have to update mod_perl. I hope there is an easy way to do it.

    Info is slightly incorrect. I just upgraded (today) to OS X 10.10.1. That is when my perl/cgi scripts stopped executing in Safari. I have tried building mod_perl but the build script fails with a permissions error.

  • Error while executing the script adgetlnxver.sh

    Error while executing the script adgetlnxver.sh on apps&db tier during upgrade from 11.5.9 to 11.5.10.2
    -bash: [: -lt: unary operator expected
    [aptinst@dba5 TINST_dba5]$ sh adapcctl.sh restart
    adapcctl.sh version 115.55
    /u01/app/tinst/tinstappl/ad/11.5.0/bin/adgetlnxver.sh: line 123: [: -lt: unary operator expected
    Apache Web Server Listener :httpd ( pid 8645 ) is running.
    Restarting the Apache Web Server Dedicated HTTP Listener..
    Apache Web Server Listener (PLSQL) :httpd ( pid 8673 ) is running.
    Restarting the Apache Web Server Dedicated PLSQL Listener..
    adapcctl.sh: exiting with status 0
    In adgetlnxver.sh: line 123 says
    if [ ${setflag}x = "x" -a $os = "RH" ]; then
    redhatver=`grep -oP "Enterprise Linux [a-z A-Z 0-9]* release [0-9]+" /etc/redhat-release | sed 's/Enterprise Linux [a-z A-Z 0-9]* release //g'`
    if [ $redhatver -lt 5 ]; then
    LD_ASSUME_KERNEL="2.4.19"
    export LD_ASSUME_KERNEL
    fi
    fi
    Thanks,
    Vamsi

    Hi Vamsi.
    The exactly erro refers to a problems when you try upgrade from these version to 11.5.10.
    Can you read this note and apply solution? The note refers a patch, but the problem is the same.
    After Patch 4334965, adstrtal.sh & adstpall.sh is failing with errors [ID 360046.1]
    BR Rafael Ceolim

  • Cannot Execute Any UNIX Scripts From DAC

    Hello,
    I have a BI system implementation on Oracle Solaris Servers. Both DAC as well as Informatica are on single server. My business requirement calls for a frequent Data load into BI and Cache purge. i checked the forum and found so many articles on how to automate Purging of Cache Post ETL. I am successful in creating a script to purge the cache and i already tested it by executing the script manually. But when i call this script from a DAC task it fails. In order to make sure that there is no problem with the Script i created a simple script which just says "Hello" and tried to invoke the script from DAC task but failed.
    All Task Batches
    External Program Batch
      EXTERNAL PROGRAM TASKTest:/PurgeCache/CachePurge.sh:(Source : FULL Target : FULL)
      2013-10-13 17:40:38.015 Acquiring Resources
      2013-10-13 17:40:38.015 Acquired Resources
      2013-10-13 17:40:38.015 EXTERNAL PROGRAM TASKTest:/PurgeCache/CachePurge.sh:(Source : FULL Target : FULL) has started.
      ANOMALY INFO::: Error while executing : EXTERNAL PROGRAM TASKTest:/PurgeCache/CachePurge.sh:(Source : FULL Target : FULL)
      MESSAGE:::com.siebel.analytics.etl.execution.exceptions.ExternalProcessException:
      EXCEPTION CLASS::: java.lang.RuntimeException
      com.siebel.analytics.etl.etltask.GenericTaskImpl.doExecuteWithRetries(GenericTaskImpl.java:536)
      com.siebel.analytics.etl.etltask.GenericTaskImpl.execute(GenericTaskImpl.java:372)
      com.siebel.analytics.etl.etltask.GenericTaskImpl.execute(GenericTaskImpl.java:253)
      com.siebel.analytics.etl.etltask.GenericTaskImpl.run(GenericTaskImpl.java:655)
      com.siebel.analytics.etl.taskmanager.XCallable.call(XCallable.java:63)
      java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
      java.util.concurrent.FutureTask.run(Unknown Source)
      java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
      java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
      java.util.concurrent.FutureTask.run(Unknown Source)
      java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
      java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      java.lang.Thread.run(Unknown Source)
      ::: CAUSE :::
      MESSAGE :::
      EXCEPTION CLASS::: com.siebel.analytics.etl.execution.exceptions.ExternalProcessException
      com.siebel.analytics.etl.etltask.ExternalProgramTask.doExecute(ExternalProgramTask.java:99)
      com.siebel.analytics.etl.etltask.GenericTaskImpl.doExecuteWithRetries(GenericTaskImpl.java:477)
      com.siebel.analytics.etl.etltask.GenericTaskImpl.execute(GenericTaskImpl.java:372)
      com.siebel.analytics.etl.etltask.GenericTaskImpl.execute(GenericTaskImpl.java:253)
      com.siebel.analytics.etl.etltask.GenericTaskImpl.run(GenericTaskImpl.java:655)
      com.siebel.analytics.etl.taskmanager.XCallable.call(XCallable.java:63)
      java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
      java.util.concurrent.FutureTask.run(Unknown Source)
      java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
      java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
      java.util.concurrent.FutureTask.run(Unknown Source)
      java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
      java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      java.lang.Thread.run(Unknown Source)
      (Number of retries : 1)
      /PurgeCache/CachePurge.sh
      2013-10-13 17:40:38.031 EXTERNAL PROGRAM TASKTest:/PurgeCache/CachePurge.sh:(Source : FULL Target : FULL) has finished execution with Failed status.
    (Failed)
    Any help would be greatly appreciated.
    thanks and regards,
    Sree

    See the thread below:
    Re: FDM - Script

  • Error: 28005, Severity: 16, State: 2...An exception occurred while enqueueing a message in the target queue. Error: 15517, State: 1. Cannot execute as the database principal because the principal "dbo" does not exist, this type of principal cannot be impe

    I've seen some similar questions, but want to make sure I can get an answer quickly and how to fix.
    Thanks,
    Paul
    spid24s     Error: 28005, Severity: 16, State: 2
    spid24s     An exception occurred while enqueueing a message in the target queue. Error: 15517, State: 1. Cannot execute as the database principal because the principal "dbo" does not exist, this type of principal cannot be impersonated,
    or you do not have permission.

    Hi Paul,
    I also had the same error on one of my servers, and it was because the user that created the database no longer worked for the company.
    So when his AD account got deleted, the database had NULL as owner
    Using the following query I asked for the owners of the databases:
    select name, suser_sname(sid) from master.dbo.sysdatabases
    So changing the owner of the databases that had a NULL owner solved the issue for me.
    use <databasesname>
    go
    exec sp_changedbowner 'sa'
    Thanks for triggering the solution.
    Peter

  • Cannot Execute Error on JES4 install

    Ok, I'm starting from scratch here...I'm trying to install JES4 on an Admin/Directory server. Downloaded the install from the web but when I try to run the ./install...I get the following error:
    /tmp/.jes_CaChE/Solaris_sparc/installer: /tmp/.jes_CaChE/Solaris_sparc/.install/j2se_jre/bin/java: cannot execute
    Sun Documentation is impossible to follow OR understand! Checked the permission on the /java and changed them to allow for execute but they change back again!
    Any suggestion appreciated!

    Gotta be something pretty basic if java won't run. You did make sure to get the right architecture distribution (it looks like you got the SPARC one, you're not running on a x64 server?) "cannot execute" can be other things than permissions problems. Are you low onf swap space? (install has, at this point, just unpacked a whole JRE into /tmp, and if you have /tmp on swap which is normal for Solaris, that is going to eat a bunch of swap space.) (Btw, the reason the permissions seem to change back is that it's unpacking a whole new version every time you run ./installer.)
    I note the Installation Guide does say to "navigate to the directory" and enter "./installer" . I suspect that means that entering the absolute pat won't work, did you do that?

  • Error to execute the script through command prompt

    I tried to execute the script through command prompt. I got some following error. Could you please advice me how to rectify this.
    cscript D:\JS\Test.js
    Microsoft (R) Windows Script Host Version 5.6
    Copyright (C) Microsoft Corporation 1996-2001. All rights reserved.
    D:\JS\Test.js(1, 1) Microsoft JScript runtime error: 'app' is undefined.
    Thanks,
    Prabudass

    I haven't use CS for quite some time and file associations may not work with the command prompt.
    You can try using Windows Explorer to browse to a .js file then right click on that file. From the popup menu choose Open With. Even if you see Photoshop in the file list choose Browse at the bottom. Browse to Photoshop and make sure to check 'Always use selected program...'
    If that doesn't work you will need to create an action that runs your script and make a droplet from that action. You can then use the droplet in the command prompt. You may also need to create a 'dummy' image file to launch the droplet with if you script doesn't require an open document at startup. See http://www.ps-scripts.com/bb/viewtopic.php?t=967

  • Cannot execute 70SP04 MUP on MSA. Keeps giving error cannot open folder

    Dear Mobile Heroes,
    I cannot execute an (70SP04) MUP on MSA. When the MUP runs, it keeps failing saying that it cannot write to location c:\program files\sap\mobile\app.net\Layout......
    In the Client Upgrade log, "the error occurred in module ClientUpgrade.shared.ccompressor
    <can't open for writing>
    I have checked this folder, and granted full read/write/creation/deletion premissions to all users and cascaded these properties to all subordinate folders - no change. Same error. I even tried granting full rights to all folders inc and below C:\program files\sap\mobile       Still same error - HELP?!
    Richard

    Hello RIchard,
    In case you're upgrading to 70sp04 and executing an MUP for that matter, I'd like to know if
    you've already run the Hotfix.mup that comes bundled with 70sp04(Please see the 70sp04 Upgrade guide).
    In case you've already done so, can you try removing the ReadOnly flag of the folder -
    c:\program files\sap\mobile\app.net\MSA\Layout and then try running the MUP again.
    Thanks,
    Rohit

Maybe you are looking for

  • Installing oracle server on windows xp !!!!!

    Is it possible to install oracle application server 10g AND oracle developer suite 10g on my home PC under Windows XP .... If yes, How to do it for Apllication server 10g ... PLs steps Thanks alot

  • Final Cut Pro X Error in relink file

    Final Cut Pro X. I have a problem: I can not relink the original files of a project that I've moved on an external hard drive. After finishing the work, I run a copy of the project following the procedures of Final Cut Pro X, but now that I reserve t

  • I have doubt in insert query...

    hi everybody.. I want to insert values for one table from another and also in the query i have to assign the values.... for ex: insert into tname (col1,col2,col3=?) (select col1,col2 from another table) in above example col 1 & 2 from another table a

  • Safari 2.0.4 says I need to install Safari update 1.3.2

    I have an I-Mac G-5 I am installing H&R Block Tax Cut program. It tells me that I need to install Safari update 1.3.2 to use Tax Cut online support. Although I already have Safari 2.0.4, I tried to install Safari update 1.3.1 any way. I tried install

  • Code clarrification.

    Hi all, Could anyone plz explain the code in brief. public void updatePurchaseId(String pAction,String pPurchaseId) try OAViewObjectImpl pervo= getmyLearningVO1(); String existingWhereClause = pervo.getWhereClause(); pervo.setWhereClauseParams(null);