Problem running Script in a custome package in BPC

Hello Experts,
I am having an issue running a custom package in BPC 7.0 SP05. Package is to process all dimensions for an application. It runs fine in BI Studio 2008, but gives me login failed error when i run it with BPC. Here is a script i have problem with:
            Dim ExcelCon As String = _
            "Provider=Microsoft.Jet.OLEDB.4.0;Data Source =" _
            & ExcelPath & ";Extended Properties=Excel 8.0"
            Dim excelConnection As System.Data.OleDb.OleDbConnection = _
            New System.Data.OleDb.OleDbConnection(ExcelCon)
            excelConnection.Open()
            Dim OleStr As String = "Select * into [ODBC; Driver={SQL Server}; Server=" _
                & ServerName & ";Database=" & DBName & ";Trusted_Connection=True;].[" _
                & InsertedTableName & "]  FROM [MEMBERS$];"
            Dim excelCommand As New System.Data.OleDb.OleDbCommand(OleStr, excelConnection)
            excelCommand.ExecuteNonQuery()
It's inserting Excel table (dimension members) into SQL Server table.
I'm am running package with BPC admin account (which is sysadmin and local admin).
Is BPC using some Anonymous credentials to execute packages if you don't pass any credentials? I'm not passing any parameters into the package.
I'd appreciate any info...
Thanks,
Akim
P.S. it's a VB.NET script.
Edited by: Akim Zubarchuk on Oct 19, 2009 9:49 PM

Hi
you have to use DM and you can pass parameters or setup global vatiables trough the Global Varialble MODIFYPKG.
Into you VB script you have to use DTS_GLOBALVARIABLE("Nameofvariable").value to be able to get value of global variable.
It is difficult to provide exactly what you have to do but I hope these two information will help you to build your custom package.
Kind Regards
Sorin Radulescu

Similar Messages

  • How to write a procedure to run the call the custom package from backend

    Hi All
    Oracle 10g
    Oracle Apps R12
    I am working with oracle order management here we have a customize Package called (Pick Release).Due to some problem we have running this concurrent program by manually giving Route_id as parameter. The route_id is taken from the route Table. By using this query
    select distinct route_id from route@DB_LINK_APPS_TO_ROADSHOW
    where trunc(route_date) = trunc (sysdate+2).
    so daily we have nearly 42 routes and we are running this concurrent program manually nearly times.
    so now how to write a procedure for this
    Step 1 Getting the route from route table.( By cursor we can get the route_id Accordingly)
    Step 2 How to trigger the custom package from back end and execute accordingly to that output of the cursor(route_id)
    If the cursor get 40 routes is it then the concurrent program runs 40 times according to that route_id.
    can some could provide the steps to do this
    Thanks & Regards
    Srikkanth.M

    This is about 4 or 5 lines of PL/SQL and the name of the custom package is not provided.
    If you request someone in this forum to do your work for free -because obviously you didn't even try to write it, which must be considered abusing this forum- you must at least provide sufficient info so someone can do it.
    And no, I won't do it for you.
    Sybrand Bakker
    Senior Oracle DBA

  • OSD: How to run script(it's In package) without download

    I has a hta script need to run before "Partition Disk", but this script is in a package, if I want to run it, it need to download to harddisk. so it will fail, because no partition.
    So how to run directly this script in network, without download to C drive.
    PS: I think I can put this script into boot image, but it is not easy to maintain. So I want to run directly in network
    06/30:
    Thank you for everyone support!
    My Hta will warn users that the following operations will format data.So "Create a temporary partition on the disk"--It is not for my requirement.
    As Narcoticoo mentioned, I want to use "Package Share Settings" to share folder, so how to map this folder with automatically recognize
    DP?
    just like \\%DP%\hta

    Thank you for everyone support!
    As Narcoticoo mentioned, I want to use "Package Share Settings" to share folder, so how to map
    this folder with automatically recognize DP?
    just like \\%DP%\hta
    Is there this variable?

  • SCSM 2012 - Problems running script in custom workflow

    Hi all,
    I'm trying to create a custom workflow in the Authoring Tool that will send an email when a ticket in certain queues is unassigned, but I only want this to run during business hours. I've created the PowerShell script, and it runs great on its own.
    However, whenever I try to add any kind of scripting event to a custom workflow, the workflow fails:
    Microsoft.EnterpriseManagement.Common.InconsistentDataException: The requested objects had an unknown management pack. ---> Microsoft.EnterpriseManagement.Common.InconsistentDataException: The call produced inconsistent results. The data on the client
    does not match the data returned from the server. The most likely cause is that client-side cache is out of sync with server data. ---> Microsoft.EnterpriseManagement.Common.ObjectNotFoundException: An object of class ManagementPack with ID %GUID% was not
    found...
    If I create and import a management pack with an empty workflow, the workflow succeeds. If I use the "Add AD DS User to Group", the workflow succeeds. But as soon as I add a scripting event, the workflow fails.
    For testing, I added a PowerShell event with this code: 
    $a=1
    I also added a Command Script event with this code and got the same error as above: ping SomeServer
    I even tried a VBScript, but that caused the workflow to not run at all:
    dim someVariable
    someVariable = "some value"
    I then disabled the VBScript activity and the workflow runs successfully.
    I'm running SCSM 2012 SP1 with UR4. I am copying the .dll file into the SCSM installation directory (which is not in the default location). The GUID referenced in the error code is the GUID for my custom MP.
    This is my first time creating a custom workflow in the Authoring Tool. Can you tell me what I'm missing? Please let me know if you need any more information
    Thanks!
    Marnie

    Thanks, Anders. I had seen that issue in my searches on this problem. I had tried both the manual fix suggested in that post as well as upgrading to UR4 (so I'm on on SP1 UR4). Neither approach made any difference.
    Am I supposed to do anything with the .cs, .xoml, and .xomlx files that also get generated? I noticed that if I move ALL the associated files into the install directory (not just the .dll file), then import the MP, I get a different error. Instead of the
    MP being missing, the error is now:
    System.NullReferenceException: Object reference not set to an instance of an object.
       at Microsoft.ServiceManager.WorkflowAuthoring.ActivityLibrary.WindowsPowerShellScript.Activity_Closed(Object sender, ActivityExecutionStatusChangedEventArgs e)
       at System.Workflow.ComponentModel.ActivityExecutorDelegateInfo`1.ActivityExecutorDelegateOperation.Run(IWorkflowCoreRuntime workflowCoreRuntime)
       at System.Workflow.Runtime.Scheduler.Run()
    This makes it seem like I do need to move ALL the files to the install directory, but maybe now the workflow just doesn't like my code?
    Thanks!
    Marnie

  • Running custom packages within BPC 5.1

    Hi,
    Current Enviroment:
    BPC Ver: 5.1
    SQL Server: SQL 2005
    I have used earlier versions of BPC 5.1 which used SQL 2000 as a back end and was able to utlise functionailty within the EVMODIFYSCRIPT object to perform certian SQL based tasks such as creating a new bespoket table.
    In trying to re-perform the same process with BPC 5.1 and SQL 2005 I am unable to run a simialr bespoke package from DataManager.   To highligh the problem I have included below the syntax that I once used for SQL 2000 (- which worked in the earlier version of BPC 5.1) and which will now not not work with BPC 5.1 and I am not sure if it is because SQL 2005 requires a different aproach for the syntax it will accept or whether it is because the EVMODIFYSCRIPT object which has now become a MODIFYSCRIPT variable and as a result has lost some of its functionailty.
    The syntax (as an example) for SQL 2000 that I have used successfuly in the past would have been something like the following:
    PROMPT(TEXT,%CATGVALUE%,"Enter the category for the current year",,"actual,budget")
    TASK(EXCUTESQL,SQLSTATEMENT,%SQLSTRING%)
    BEGINFO (%SQLSTRING%)
    SELECT * INTO COPYTBLFACTWB WHERE CATEGORY IN (%CATGVALUE%)
    ENDINFO
    The above syntax runs fine in Visual Studio 2005 Integrated Services however it fails (with no indication of why) when run from BPC .. any thoughts on what I may be doing wrong ?
    Thanks

    I've never had any success directly updating a Package Variable from within the MODIFYSCRIPT value.   In DTS you could modify a GLOBAL Variable from the EvModifyScript task and the package could utilize that value.  However, in SSIS, the GLOBAL Variable no longer exists and Package Variables have "replaced" them.  But I do not believe the EvModifyScript Task replacement of the variable MODIFYSCRIPT has the ability to directly update a Package Variable.
    However, within the MODIFYSCRIPT value, you can update properties of the tasks and connections included in a package. 
    In your scenario, you could use a Prompt and dynamically build the sql statement with the variable holding the user provided value.  Then passed the sql statement to the property of the Execute SQL Task.
    ie:
    <<in the MODIFYSCRIPT  -- not exact code, just off the top of my head so I might have some syntax wrong>>
    PROMPT(TEXT,%USERINPUT%,"Enter value",)
    BEGININFO(%SQLQUERY%)
        Insert Into tblFac2Finance
        Select * from tblFactFinance
        Where Category=%USERINPUT%
    ENDINFO
    TASK(Execute SQL Task, SQLSTATEMENTSOURCE,%SQLQUERY%)
    But if you wish to provide the user with member selectors for the input, you could use the SELECTINPUT prompt with the appropriate dimensions.   The user selections are then recorded in a txt file within the PrivatePublications Temp directory for the user executing the package.  The location of this file is stored in the BPC MODIFYSCRIPT variable %SELECTIONFILE%.  I have created packages with a flat file connection that can be updated in the MODIFYSCRIPT with the selectionfile location.
    CONNECTION(UserSelectionFile,CONNECTIONSTRING,%SELECTIONFILE%)
    Then within the package, I add a Script task that performs file processing against the UserSelectionFile to parse the values into the appropriate package variables that can then be used throughout the package.
    I would be very interested in discovering a more direct way to update a package variable from within the MODIFYSCRIPT.
    Hope this helps,
    Sara Lee McLindon

  • Running script with linux32 breaks package installs

    Hi,
    I'm running on an x86_64 system and I was trying to install the PPD and other files needed for my Panasonic KX-MB2030 printer.  I tried running the install script Panasonic provided, but it complained that it's not meant for an x64 system.  Then, I ran the script again with:
    linux32 ./install-linux
    The script ran, but now I cannot install any programs.  For instance, CUPS complained that libcups wasn't working properly (probably because the script overrode some of its files), but when I go to reinstall libcups, I get a message like this:
    :: package libcups-1.5.3.-5-i686 does not have a valid architecture
    I've tried installing other packages, but they all complain about how the i686 version of the package is not valid.  I tried to switch back using 'linux64', but Arch still won't let me install any packages.
    Please let me know if you have any suggestions.
    Thanks!
    Matt
    Last edited by stantheman286 (2012-07-08 15:56:20)

    Sure, here it is:
    #!/bin/bash
    # batch file to install Panasonic Printer Driver
    # Make sure only root can run our script
    if [ "$(id -u)" != "0" ]; then
    echo " Install MUST be run as root" 1>&2
    exit 1
    fi
    BUILD_CPU=i686
    TARGET_CPU=`uname -m`
    INSTALL_PATH="/usr/local/share/panasonic/printer"
    # check can install to thie system
    CAN_INSTALL=no
    FILTER_PATH_SEARCH=""
    MODEL_PATH_SEARCH=""
    case $TARGET_CPU in
    i[345]86)
    case $BUILD_CPU in
    i386)
    CAN_INSTALL=yes
    esac
    i686)
    case $BUILD_CPU in
    i[36]86)
    CAN_INSTALL=yes
    esac
    x86_64)
    case $BUILD_CPU in
    x86_64)
    CAN_INSTALL=yes
    esac
    FILTER_PATH_SEARCH="$FILTER_PATH_SEARCH /usr/lib64/cups/filter"
    FILTER_PATH_SEARCH="$FILTER_PATH_SEARCH /usr/libexec64/cups/filter"
    FILTER_PATH_SEARCH="$FILTER_PATH_SEARCH /usr/local/lib64/cups/filter"
    FILTER_PATH_SEARCH="$FILTER_PATH_SEARCH /usr/local/libexec64/cups/filter"
    esac
    MODEL_PATH_SEARCH="$MODEL_PATH_SEARCH /usr/share/cups/model"
    MODEL_PATH_SEARCH="$MODEL_PATH_SEARCH /usr/local/share/cups/model"
    MODEL_PATH_SEARCH="$MODEL_PATH_SEARCH /usr/share/ppd"
    MODEL_PATH_SEARCH="$MODEL_PATH_SEARCH /usr/local/share/ppd"
    FILTER_PATH_SEARCH="$FILTER_PATH_SEARCH /usr/lib/cups/filter"
    FILTER_PATH_SEARCH="$FILTER_PATH_SEARCH /usr/libexec/cups/filter"
    FILTER_PATH_SEARCH="$FILTER_PATH_SEARCH /usr/local/lib/cups/filter"
    FILTER_PATH_SEARCH="$FILTER_PATH_SEARCH /usr/local/libexec/cups/filter"
    if test "x$CAN_INSTALL" != "xyes"; then
    echo "the package is build for $BUILD_CPU cpu, can not install to $TARGET_CPU system"
    exit 1
    fi
    # find install dir
    FILTER_PATH=""
    for DIR in $FILTER_PATH_SEARCH; do
    if test -d $DIR
    then
    FILTER_PATH=$DIR
    break
    fi
    done
    MODEL_PATH=""
    for DIR in $MODEL_PATH_SEARCH; do
    if test -d $DIR
    then
    MODEL_PATH=$DIR
    break
    fi
    done
    if test "x$FILTER_PATH" == "x"
    then
    echo " Cannot found CUPS filter path"
    exit
    fi
    if test "x$MODEL_PATH" == "x"
    then
    echo " Cannot found CUPS model path"
    exit
    fi
    FILTER_PROGRAMS="L_H0JDGCZAZ"
    # echo informations
    echo
    echo " start <Panasonic Printer Driver ($BUILD_CPU)> install......"
    # check and execute uninstall shell script
    if test -f $INSTALL_PATH/uninstall-driver
    then
    echo "find exist printer driver"
    echo " execute uninstall shell script now......"
    if !($INSTALL_PATH/uninstall-driver)
    then
    echo " uninstall old <Panasonic GDI Printer Driver> failed"
    echo " install driver failed"
    echo
    exit 1
    fi
    fi
    SCRIPT=`readlink -f $0`
    SCRIPTPATH=`dirname $SCRIPT`
    PWD=`pwd`
    cd $SCRIPTPATH
    # echo informations
    echo " start install files......"
    # make install dir
    mkdir -p $MODEL_PATH/panasonic/
    chown root:root $MODEL_PATH/panasonic/
    chmod 755 $MODEL_PATH/panasonic/
    mkdir -p $INSTALL_PATH/
    mkdir -p $INSTALL_PATH/bin
    mkdir -p $INSTALL_PATH/conf
    mkdir -p $INSTALL_PATH/data
    chmod 777 $INSTALL_PATH/conf
    # copy files
    # create uninstall script
    cat > $INSTALL_PATH/uninstall-driver <<\_______EOF
    #!/bin/bash
    # batch file to uninstall Panasonic Printer Driver
    # Make sure only root can run our script
    if [ "$(id -u)" != "0" ]; then
    echo " Uninstall MUST be run as root" 1>&2
    exit 1
    fi
    # echo informations
    echo
    echo " Confirmation"
    echo " <Panasonic Printer Driver> uninstall"
    echo
    echo -n " input 'y' to continue:"
    read inputval
    if test "$inputval" != "y"
    then
    echo " uninstall be canceled"
    echo
    exit 1
    fi
    # remove files
    echo " uninstall files......"
    # follow is created by install script
    _______EOF
    chmod 755 $INSTALL_PATH/uninstall-driver
    # copy lib files
    INSTALL_LIB_PATH="/usr/lib"
    RESTORECON=/sbin/restorecon
    LIB_FILES="L_H0JDJCZAZ"
    for file in $LIB_FILES; do
    cp ./lib/$file.so.1.0.0 $INSTALL_LIB_PATH/
    echo "rm -f $INSTALL_LIB_PATH/$file.so.1.0.0" >> $INSTALL_PATH/uninstall-driver
    ln -sf $file.so.1.0.0 $INSTALL_LIB_PATH/$file.so.1
    echo "rm -f $INSTALL_LIB_PATH/$file.so.1" >> $INSTALL_PATH/uninstall-driver
    ln -sf $file.so.1 $INSTALL_LIB_PATH/$file.so
    echo "rm -f $INSTALL_LIB_PATH/$file.so" >> $INSTALL_PATH/uninstall-driver
    done
    for file in $FILTER_PROGRAMS; do
    cp ./filter/$file $FILTER_PATH/
    echo "rm -f $FILTER_PATH/$file" >> $INSTALL_PATH/uninstall-driver
    if test -f $RESTORECON
    then
    $RESTORECON $FILTER_PATH/$file
    fi
    done
    # copy ppd files
    PPD_FILES=`find ppd -name *.ppd`
    for file in $PPD_FILES; do
    cp $file $MODEL_PATH/panasonic/
    file=`basename $file`
    echo "rm -f $MODEL_PATH/panasonic/$file" >> $INSTALL_PATH/uninstall-driver
    done
    echo "rmdir --ignore-fail-on-non-empty $MODEL_PATH/panasonic" >> $INSTALL_PATH/uninstall-driver
    # copy SPC & RCT files
    DATA_FILES=`find data`
    for file in $DATA_FILES; do
    if test -d $file
    then
    mkdir -p $INSTALL_PATH/$file
    else
    if test -f $file
    then
    cp $file $INSTALL_PATH/$file
    echo "rm -f $INSTALL_PATH/$file" >> $INSTALL_PATH/uninstall-driver
    fi
    fi
    done
    for file in $DATA_FILES; do
    if test -d $file
    then
    echo "rmdir --ignore-fail-on-non-empty -p $INSTALL_PATH/$file" >> $INSTALL_PATH/uninstall-driver
    fi
    done
    # copy tools
    cp ./panautil/L_H0JDUIZAZ $INSTALL_PATH/bin/
    echo "rm -f $INSTALL_PATH/bin/L_H0JDUIZAZ" >> $INSTALL_PATH/uninstall-driver
    cp ./panautil/L_H0JDUCZAZ $INSTALL_PATH/bin/
    echo "rm -f $INSTALL_PATH/bin/L_H0JDUCZAZ" >> $INSTALL_PATH/uninstall-driver
    chmod 4755 $INSTALL_PATH/bin/L_H0JDUCZAZ
    cp ./panautil/L_H0JDUIZAZ.png $INSTALL_PATH/bin/
    echo "rm -f $INSTALL_PATH/bin/L_H0JDUIZAZ.png" >> $INSTALL_PATH/uninstall-driver
    if test -d /usr/share/applications/
    then
    cp ./panautil/L_H0JDUIZAZ.desktop /usr/share/applications/
    echo "rm -f /usr/share/applications/L_H0JDUIZAZ.desktop" >> $INSTALL_PATH/uninstall-driver
    fi
    echo "rm -Rf $INSTALL_PATH/conf" >> $INSTALL_PATH/uninstall-driver
    echo "rmdir --ignore-fail-on-non-empty -p $INSTALL_PATH/bin" >> $INSTALL_PATH/uninstall-driver
    echo "rm -f $INSTALL_PATH/uninstall-driver" >> $INSTALL_PATH/uninstall-driver
    cat >> $INSTALL_PATH/uninstall-driver <<\_______EOF
    # restart
    echo " restart spooler - CUPS"
    if test -f /etc/init.d/cups
    then
    /etc/init.d/cups restart
    else
    if test -f /etc/init.d/cupsys
    then
    /etc/init.d/cupsys restart
    fi
    fi
    # echo informations
    echo
    echo " uninstall driver completed"
    echo
    echo " please use \"system-config-printer\" or \"lpadmin\" "
    echo " to remove all printers based on the driver."
    echo
    exit 0
    _______EOF
    # restart CUPS
    echo " restart spooler - CUPS"
    if test -f /etc/init.d/cups
    then
    /etc/init.d/cups restart
    else
    if test -f /etc/init.d/cupsys
    then
    /etc/init.d/cupsys restart
    fi
    fi
    cd $PWD
    # echo informations
    echo
    echo " install driver completed"
    echo
    echo " please use \"system-config-printer\" or \"lpadmin\" to add printer."
    echo
    exit 0

  • Problems downloading and installing OS X Yosemite An error occurred while running scripts from the package

    Hi! I have problems downloading and installing OS X Yosemite.
    While downloading this message pops up:
    An error occurred while running scripts from the package \U201cwct8079783343594854923.pkg\U201d.
    and in /var/log/install.log i can see:
    MacBook-Pro installd[1086]: PackageKit: Install Failed: PKG: pre-install scripts for "com.apple.pkg.InstallMacOSX"\nError Domain=PKInstallErrorDomain Code=112 UserInfo=0x100193c00 "An error occurred while running scripts from the package “wct8079783343594854923.pkg”." {\n    NSFilePath = preinstall;\n    NSLocalizedDescription = "An error occurred while running scripts from the package \U201cwct8079783343594854923.pkg\U201d.";\n    NSURL = "#InstallMacOSX.pkg -- file://localhost/Users/username/Library/Application%20Support/AppStore/91504108 2/wct8079783343594854923.pkg#Distribution";\n    PKInstallPackageIdentifier = "com.apple.pkg.InstallMacOSX";\n}
    does anyone have an idea about this?
    thank you very much

    Mucked up installation. If the installer app is still in /Applications, delete it and start over.
    27" i7 iMac (Mid 2011) refurb, OS X Yo (10.10.2), Mavs, ML & SL, G4 450 MP w/10.5 & 9.2.2

  • Running Permission Scripts for App-V packages in VDI environment

    Hi
    We use App-V 5.0 SP1 in VDI environment.
    We have a major problem with packages' permissions
    Our users don't have administrative privileges on their machines.
    As the option for "Security Descriptors" is discontinued, the only way to give permissions to a folder in a package is to use the VFSCACLS.vbs as a startup script of a package.
    This way the first time users launch an application they're prompt to reopen it, and the second time they can use the application with the needed permissions.
    The problem:
    The script saves those permission changes under LOCALAPPDATA\AppV...
    Therefore, everytime the users logoff the folder is deleted (VDI...) and again, they must run the script for the first  again to get the permissions back after logon!
    We cannot roam the LOCALAPPDATA\AppV folder as its size can be dozens of GBs...
    Folder permissions with group policy is also not a solution, as the folder name changes everytime we upgrade a package and it's impossible to follow with hundreds of packages.
    So it's either we're missing something critical in the architecture with VDI environment or there's a normal solution for these situations.
    Would love to get some help
    Thanks
    Tamir Levy

    Hi Nicke
    that's what I did! the problem is that I find my self over and over again want to sequence packages in App-V 5.0 and forced to sequence it in App-V 4.6.
    I really hope that it wasn't App-V team's goal. announcing App-V 5.0 and tell us it doesn't support many things so we will still need App-V 4.6 forever.
    I have to maintain 2 different App-V environments with 4 different servers , 4 different sequencers and 2 clients on each computer. it doesn't make any sense for me to forced to stay with both of the versions forever.
    correct me if I'm wrong but App-V 4.6 is a legacy application. the new versions cover only support on newer operating systems and nothing more. I won't be surprised if in the next version of MDOP won't come with App-V 4.6 anymore and Microsoft will announced
    it's unsupported very soon.
    Every time I open a ticket with MS Support the best thing I get is "It's a known issue, we can't tell when it will be fixed"
    can you help me more ? move it forward to other people from the inside? at least agree with me that something is not as expected in App-V 5.0... :(
    I love the technology, I believe in it, I'm kinda depend on it and I only want it to be better
    Tamir Levy

  • An error occurred while running scripts from the package "ztb343812063996219254.pkg

    i tried to upgrade my os lion 10.7.5 to os x yosemite on my macbook pro and in the middele of downloading I'm getting this notice: an error occurred while running scripts from the package "ztb343812063996219254.pkg
    help me please…..
    i think i have problem with the app store cause sometimes I'm getting more errors like error no 13 or 100
    what should i do?

  • An error occurred while running scripts from the package "mzm,stuhjljp.pkg".

    I hope someone can help, I have now tried downloading Lion OSx 4 times and I keep getting this message: An error occurred while running scripts from the package "mzm,stuhjljp.pkg".
    I go back to the app store and it kindly tells me it's installed. It's not quite simply it is nowhere to be found.
    Nice one Apple for moving away from those reliable discs and causing pain, wasted productivity and a **** of a lot of frustration. $29.99 to annnoy the **** out of me, thanks.
    Anyone have a solution that may be of assistance.

    Mj, I can't offer much help but you may be able to use this method to "find" Lion OS X in the App Store again.
    Hold down the "option" key while clicking on the App Store icon.  Keep holding down the option key, then click on the "Purchased" tab at the top of the page. 
    With any luck the button to the right of Lion OS X will now say "install."
    I'm having a similar problem reinstalling Lion, so don't be surprised if you try to reinstall and get the same error.
    Good luck,
    Contender

  • "An error occurred while running scripts from the package "DeveloperTools.pkg"

    I'm trying install my xcode 4.2 and check log and this where there is problem
    "An error occurred while running scripts from the package “DeveloperTools.pkg”

    II found the answer elsewhere. I logged in from a diffent admin acount and the install went fine.

  • "Run Scripts" giving a problem to create portal domain

    Hello All.
    I am new to weblogic portal development. Was trying to create my basic sample portal in weblogic_portal_10.3.4 with the help of documentation. I am getting in running scripts when I was creating the domain. I have followed the below steps, please help me if you find any issue with my steps.
    1. downloaded Weblogic_Portal_10.3.4 and installed in my windows 7 environment.
    2. launched eclipse for weblogic portal.
    3. opened portal prospective in eclipse.
    4. right click on server tab and selected "Oracle WebLogic Server 11gR1 (10.3.4)"
    5. opened "Domain Configuration Wizard"
    6. Selected "Create a new Weblogic domain" radio button.
    7. in the next screen for "Generate a domain configured automatically to support the following products"
    selected "Weblogic Portal 10.3.4" radio button
    8. in the next screen given the domain_name
    9. in the next screen provided the password/confirm-password for administrator user
    10. in the next screen selected JRocket SDK and development_mode for my domain.
    11. in the next screen just left all the default configuration for the datasources. ( non of the datasource is selected in their check boxes)
    12. in the next screen just clicked on "Next" button and "OK" on my popup
    13. in this screen "p13nDataSource" is selected on my left top window area, All 3 SQL Files are selected for loading database.
    Clicked on *"Run Scripts"*
    At this point i am getting an error saying : "CFGFWK-60839:  Database Load Failed!"
    java.lang.Exception: SQLException when executing file file:/C:/Oracle/Middleware/wlportal_10.3/p13n/db/derby/seq_drop_tables.sql
         at com.oracle.cie.domain.jdbc.JDBCDataLoader.load(JDBCDataLoader.java:183)
         at com.oracle.cie.wizard.domain.gui.tasks.JDBCConfigGUITask$LoadDatabaseThread$1.run(JDBCConfigGUITask.java:1673)
    Caused by: java.sql.SQLNonTransientConnectionException: java.net.ConnectException : Error connecting to server localhost on port 1527 with message Connection refused: connect.
         at org.apache.derby.client.am.SQLExceptionFactory40.getSQLException(Unknown Source)
         at org.apache.derby.client.am.SqlException.getSQLException(Unknown Source)
         at org.apache.derby.jdbc.ClientDriver.connect(Unknown Source)
         at com.oracle.cie.domain.jdbc.JDBCConnectionTester.createConnection(JDBCConnectionTester.java:272)
         at com.oracle.cie.domain.jdbc.JDBCDataLoader.load(JDBCDataLoader.java:154)
         ... 1 more
    Caused by: org.apache.derby.client.am.DisconnectException: java.net.ConnectException : Error connecting to server localhost on port 1527 with message Connection refused: connect.
         at org.apache.derby.client.net.NetAgent.<init>(Unknown Source)
         at org.apache.derby.client.net.NetConnection.newAgent_(Unknown Source)
         at org.apache.derby.client.am.Connection.<init>(Unknown Source)
         at org.apache.derby.client.net.NetConnection.<init>(Unknown Source)
         at org.apache.derby.client.net.NetConnection40.<init>(Unknown Source)
         at org.apache.derby.client.net.ClientJDBCObjectFactoryImpl40.newNetConnection(Unknown Source)
         at org.apache.derby.jdbc.ClientDriver.connect(Unknown Source)
         at com.oracle.cie.domain.jdbc.JDBCConnectionTester.createConnection(JDBCConnectionTester.java:273)
         at com.oracle.cie.domain.jdbc.JDBCDataLoader.load(JDBCDataLoader.java:154)
         at com.oracle.cie.wizard.domain.gui.tasks.JDBCConfigGUITask$LoadDatabaseThread$1.run(JDBCConfigGUITask.java:1674)
    Caused by: java.net.ConnectException: Connection refused: connect
         at java.net.PlainSocketImpl.socketConnect(Native Method)
         at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
         at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
         at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
         at java.net.Socket.connect(Socket.java:529)
         at java.net.Socket.connect(Socket.java:478)
         at java.net.Socket.<init>(Socket.java:375)
         at java.net.Socket.<init>(Socket.java:189)
         at javax.net.DefaultSocketFactory.createSocket(SocketFactory.java:206)
         at org.apache.derby.client.net.OpenSocketAction.run(Unknown Source)
         at org.apache.derby.client.net.NetAgent.<init>(Unknown Source)
         at org.apache.derby.client.net.NetConnection.newAgent_(Unknown Source)
         at org.apache.derby.client.am.Connection.<init>(Unknown Source)
         at org.apache.derby.client.net.NetConnection.<init>(Unknown Source)
         at org.apache.derby.client.net.NetConnection40.<init>(Unknown Source)
         at org.apache.derby.client.net.ClientJDBCObjectFactoryImpl40.newNetConnection(Unknown Source)
         at org.apache.derby.jdbc.ClientDriver.connect(Unknown Source)
         at com.oracle.cie.domain.jdbc.JDBCConnectionTester.createConnection(JDBCConnectionTester.java:272)
         at com.oracle.cie.domain.jdbc.JDBCDataLoader.load(JDBCDataLoader.java:154)
         at com.oracle.cie.wizard.domain.gui.tasks.JDBCConfigGUITask$LoadDatabaseThread$1.run(JDBCConfigGUITask.java:1673)
    CFGFWK-60839:  Database Load Failed!
    Please help me if you find any problem with the steps that I am following to create my weblogic_portal_domain.
    I was following the steps mentioned at : http://docs.oracle.com/cd/E15919_01/wlp.1032/e14252.pdf to create my domain to start portal development.

    Those are the WLP 10.3.2 instructions. But, the 10.3.4 instructions in the tutorial (http://docs.oracle.com/cd/E26806_01/wlp.1034/e14252/setup_dev_env.htm#i1014619) are wrong, too.
    In 10.3.4, with derby, Run Scripts doesn't work any longer; it should still work the other database (Oracle, SQL Server, etc.). Instead, for derby, just create the domain, accepting any warning dialogs about databases that come up. After that finishes, in the domain directory, run create_db.cmd (on windows) or create_db.sh (on *nix and Mac). It should create the derby database files in the domain, and include everything needed.
    I'll send a note to get the docs updated.
    Greg

  • HT1222 hi i have a apple imac 27 2009 and i have purchased mountain lion but near the end it says An error occurred while running scripts from the package "mzps6175750011235388779.pkg"

    hi i have a apple imac 27 2009 and i have purchased mountain lion but near the end it says An error occurred while running scripts from the package “mzps6175750011235388779.pkg”
    can you please advise me what should i do to fix this

    Some ideas.
    https://discussions.apple.com/message/20034600#20034600

  • Issue while running a custom package:ORA-20100: File o2670336.tmp creation for FND_FILE failed.You will find more information on the cause of the error in request log. in Package PA_OPPORTUNITY_MGT_PVT Procedure modify_project_attributes ORA-20100: File o

    Hi Guys,
    We have created a custom package where in we are trying to call the standard API's of Oracle projects i.e PA_PROJECT_PUB.When we are trying to call these APIs we are facing the below issue.
    We have tried testing in two instances ,Initially it worked in both instances.
    Using the same API's multiple times we tested the same data set in these instances.
    For the first few runs it works fine.But when we go on using the same API's again and again for our testing we face now and then the below issue.
    Standard API's
    =========
    add_task
    update_project
    change_structure_status
    create_draft_plan
    Error:
    ORA-20100: File o2670336.tmp creation for FND_FILE failed.You will find more information on the cause of the error in request log. in Package PA_OPPORTUNITY_MGT_PVT Procedure modify_project_attributes ORA-20100: File o2670336.tmp creation for FND_FILE failed.
    You will find more information on the cause of the error in request log. in Package PA_PROJECT_PUB Procedure update_project:ORA-0000: normal, successful completionError while publishing the task
    Please let us know if anyone of has come across the same situation.
    Regards,
    Vijay

    But have issue only with validating invoice batch. I followed metalink ID's 605542.1, 167990.1,261693.1,1088553.1,749491.1, 461271.1 and few more.Was this working before? If yes, any changes have been done recently?
    Please see if these docs help.
    APXAPRVL: Invoice Validation Errors With MSG-00001 and REP-1419 [ID 333305.1]
    Invoice Validation Errors When Others:101505:Non-Oracle Exception Rep-1419 [ID 464125.1]
    Invoice Validation Fails with REP-1419 Error in Ap_approval_matched_pkg.Execute_matched_checks [ID 293425.1]
    Invoice Validation Failing On Fnd_file Could Not Write To File L0202306.Tmp [ID 461520.1]
    Invoice Validation (APPRVL) Errors ORA-20001 APP-SQLAP-10000 PSA_FUNDS_CONTROL_PKG.glxfck [ID 463184.1]
    Validate Invoice Error With ORA-20001: APP-SQLAP-10000: AP_FUNDS_CONTROL_PKG.Calc_QV [ID 432702.1]
    Invoice Validation Program Is Erroring Out [ID 382844.1]
    Error On Validation Of Invoices From Previous Periods [ID 412814.1]
    Thanks,
    Hussein

  • Problem Running SSIS Package with a SQL Server Agent

    SQL Server: SQL Server 2012
    VS: Visual Studio 2012
    Hello,
          I have been having a problem running SSIS packages by using a SQL Server Agent job. I first created these SSIS packages in a separate IS project in Visual Studio. I imported the packages to the Integration Services (Package
    Store) instance on my SQL Server and tried to create a job that would run them from there.
          At first I read around about needing a proxy account to allow the agent/packages to access the file system since these packages are importing data from a flat file in the SQL database. So I created a temporary admin user to
    use as the user for the agent. I did this by going to Services.msc on the server and linked the account the agent's "logon as". Then arose another issue where I am getting an error about using the incorrect type for my connection managers.
    The connection manager "TestFile" is an incorrect type.  The type required is "OLEDB". The type available to the component is "FLATFILE". Source: Data Flow Task Flat File Destination [2]     Description:
    Cannot open the datafile "O:\*****\Success.txt"
    I am not sure what this even means as I am getting this error even with a test package that doesn't do anything with the database. I have just two flat file connection managers  in this test project one for grabbing the source file and one for
    creating the new test file.
    I am not sure what to do.
    Thanks in advance,
    Matt

    I accidently created two posts. The newest one has the details.
    I did not mean to.
    SQL Server: SQL Server 2012
    VS: Visual Studio 2012
    Hello,
          I have been having a problem running SSIS packages by using a SQL Server Agent job. I first created these SSIS packages in a separate IS project in Visual Studio. I imported the packages to the Integration Services (Package
    Store) instance on my SQL Server and tried to create a job that would run them from there.
          At first I read around about needing a proxy account to allow the agent/packages to access the file system since these packages are importing data from a flat file in the SQL database. So I created a temporary admin user to
    use as the user for the agent. I did this by going to Services.msc on the server and linked the account the agent's "logon as". Then arose another issue where I am getting an error about using the incorrect type for my connection managers.
    The connection manager "TestFile" is an incorrect type.  The type required is "OLEDB". The type available to the component is "FLATFILE". Source: Data Flow Task Flat File Destination [2]     Description:
    Cannot open the datafile "O:\*****\Success.txt"
    I am not sure what this even means as I am getting this error even with a test package that doesn't do anything with the database. I have just two flat file connection managers  in this test project one for grabbing the source file and one for
    creating the new test file.
    I am not sure what to do.
    Thanks in advance,
    Matt

Maybe you are looking for

  • Stop video, switch back to camera mode

    My iPad mini will not allow me to return to camera mode from video mode

  • IPod classic won't go Disk Mode

    My iPod classic has a red cross and won't go to Disk Mode. Does this means my iPod died and I need to buy a new one?

  • Executing OS command from within PL/SQL...

    Hi I would like to know if you can issue operating system command from within a PL/SQL block on Oracle Database(not developer 2k) .Is there any built in package for the same ? Like a similar command is available in forms i.e HOST . Can anyone help pl

  • Export table to flat file programmatically

    Hi all, i want to know how to export a table/tables programmatically to a flat file i know that we can do that by right click on the table and choose save as .... etc... (in toad) But how do i make it with a script.. thx

  • Fonts not updating in Illustrator CS4

    Dear Adobe Community: I am using the text tool and adding text to a document.  This is "artistic" text, not paragraph text without any appearance filters or effects applied.  When I try to choose a different font than the default which I believe is M