Managing data source connections inside an Excel workbook for deployment reasons

Hi,
with a certain frequency, I use Excel to show SQL Server data, or SSAS data, etc. in tables, pivot tables, ...
So, a single Excel workbook can contain more connections and ofter a same connection is used.
When an Excel is deployed to a prod environment from a test environment an issue it to update each data source connections by specifing the prod server and/or the prod instance. To avoid to accomplish the boring task to change each single connection,
is it possible to perform it in a more simple or automatic manner?
Any ideas, please?
Thanks

Hey pscorca,
When you deployed Excel files to a product environment, why did you need to change the data source? Did you move SQL server DB and SSAS DB to the product environment too?
And when you click Data->From SQL Server/From AS ,then Excel should create a Office data connection file which is usually saved in: C:\Users\Username\Documents\My Data Sources . If you have multiple Excel files need to use the same connection,
you can choose the Existing Connections, then select the odc file. If you want to change your connections, you just need to Edit the .odc file.
Wind Zhang
TechNet Community Support

Similar Messages

  • ERROR [IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified in windows server 2008 r2

    ERROR [IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified in windows server 2008 r2.I made a application in asp.net c#.I am using ODBC connection.When I deployed my application in windows server2008 r2.There
    is no Microsoft ODBC driver shown in ODBC Data source administrator.Then I go to the C:\Windows\SysWOW64 and open  Odbcad32.exe and add Microsoft ODBC2 driver for Oracle and when I run my application I got following error
    ERROR [IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified
    I am using follwoing string
     <connectionStrings>
    <add name="theconnetion" connectionString="DSN=abdb;UID=abc;PWD=xyz"/>
     </connectionStrings>
    Guide me What I do?

    Did you add a System DSN or a User DSN? If you added a User DSN from your own login, the asp.net application will not be able to use it unless its application Pool in IIS is configured to run under the same credentials that you used for creating
    the DSN. It's better if you add a System DSN.
    Also, be careful to ensure that you are using a 64 bit DSN, unless you configure the application to run in 32 bits. If the 64 bit application attempts to use the 32 bit driver you get the same error message "Data source name not found and no default
    driver specified". See this KB article:
    http://support.microsoft.com/kb/942976/en-us

  • SQL Server Reporting Services: ERROR [IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified

    Hey everyone, So I am trying to get a report onto the server, and in BIDS I kept getting a login screen repeating over and over when I tried to deploy my report, so I tried to upload the file at http://<servername>/Reports This worked, but then trying
    to run this report from http://<servername>/Reports did not work either because "An error has occurred during report processing. (rsProcessingAborted) Cannot create a connection to data source 'FTYDataSource'. (rsErrorOpeningConnection) For more information
    about this error navigate to the report server on the local server machine, or enable remote errors" Anyways I tried to add a New Data Source (which I would use in the report) at http://<servername>/Reports, type ODBC, with the connection string Dsn=blah_blahblah.
    I try to test the connection here and get the error ERROR [IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified This is really getting old fast, everything I try, a new error comes up. Granted I am new at this,
    but this still should not be this troublesome. Does anyone have any ideas on what could FINALLY allow me to just put a report out onto the server?!? THANK YOU in advance for ANY help.

    Hi,
    Please try setting the credentials of the datasource.
    1. Double click and open the datasource in your project.
    2. Click on the credentials tab, and click on option button 'Use this username and password'
    3. Enter the username and password to connect to the datasource
    4. Deploy or upload the datasource to the report server and try accessing the reports.
    Hope this helps.
    Please click "Mark as Answer" if this resolves your problem or "Vote as Helpful" if you find it helpful.
    BH

  • Linked Server [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified

    Hi  I have SQL2012 installed on my local machine and have also installed MySQL 5.6.23 installed with a test database.
    I also have my SQL connector installed and MYSQL ODBC Driver 3.51.   
    Which happily connects to the Mysqldb.
    The Datasource Name : mySQL conn
    TCP/IP Server : localhost and Port :3306
    User root
    with pwd
    On the SQL side I have used the following
    EXEC master.dbo.sp_addlinkedserver
      @server = N'MYSQLSRV',
      @srvproduct=N'mySQL conn',
      @provider=N'MSDASQL',
      @datasrc=N'mySQL conn'
    However when I try to selet using open query
    SELECT * FROM OPENQUERY ( [MYSQLSRV], 'SELECT * FROM students' )
    it comes back with
    OLE DB provider "MSDASQL" for linked server "MYSQLSRV" returned message "[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified".
    Msg 7303, Level 16, State 1, Line 1
    Cannot initialize the data source object of OLE DB provider "MSDASQL" for linked server "MYSQLSRV".
    I cant understand what I have done wrong .   Any help in this would be great as Ive hit a bit of a brick wall

    Hi Robert3975,
    In addition to other post, please also note the following things.
    1. If you use the 32-bit driver on a 64-bit machine, please run the 32bit version of "odbcad32.exe" by running "c:\Windows\SysWOW64\odbcad32.exe"
     from Start/Run menu and
    create your ODBC DSN. However, for the 64-bit driver, use c:\windows\system32\odbcad32.exe to create your ODBC DSN. For more details, please review this similar
    thread.
    2. Expand the folder Providers under Linked server directory in SSMS and go to properties of MSDASQL provider and configure it properly as described in this blog:
    Creating Linked server to MYSQL from SQL Server.
    Thanks,
    Lydia Zhang
    If you have any feedback on our support, please click
    here.
    Lydia Zhang
    TechNet Community Support

  • [unixODBC][Driver Manager]Data source name not found, and no default driver

    Hi,
    I'm running
    Red Hat Linux 5, MySQL and BOXI 3.1
    I try and schedule a report in the CMC and the report fails with the error
    A database error occured. The database error text is: {Driver Manager} Data source name not found, and no default driver specified. (WIS 10901)
    I've went through the steps in the Bus Obj's Documentation outlining how to install the unixODBC (though this doco was for R2 - I'm not certain whether this install is needed for 3.1).  
    Error WIS 10901 details
    Database error: . Contact your administrator or database supplier+
    for more information. (WIS 10901)
                  The database that provides the data to this document has generated an error.
    Cause
                  Details about the error are provided in the section of the message indicated
                  +by the field code: .
                  Contact your BusinessObjects administrator with the error message
    Action
                  information or consult the documentation provided by the supplier of the
                  database.
    Any pointers suggestions on how to set up correctly the unixODBC will be looked into.
    Thanks for taking the time to view this post.
    Cheers

    Hi again Aravind,
    I hope you're not beginning to wish you had never answered that first question from me since it seems as if I'm now backing up the truck with regard to the entire question. If I'm asking too much from you let me know I don't wanna overstep the line with repect to what should and shouln't be asked in these forums'
    anyway I looked in that env.sh script. It was huge (pity I can't attach the file, I've appended it but it makes these threads somewhat lengthy)
    DEFAULT_ODBCFILE="$BOBJEDIR"defaultodbc.ini
        export DEFAULT_ODBCFILE
        +ODBC_HOME="$odbc"+
        export ODBC_HOME
    also
      # setup the mysql env variables
        if [ -d "$BOBJEDIR"/mysql ]; then
                # mysql env variables
    set up the odbc symlink to work around:*
    The DataDirect SQL Server ODBC driver on UNIX will not function properly under a*
    locale other than "en_US" due to strong dependencies on their locale files.*
                MYSQL_UNIX_PORT="$BOBJEDIR"mysql/mysql.sock
                export MYSQL_UNIX_PORT
        We want to be able to source the config file multiple times.
    fi
    if [ -d "$BOBJEDIR"/tomcat ]; then
    set the JAVA_OPTS for tomcat
    I see what you were referring to earlier with
    if [ -d "$ODBC_HOME/locale" ]; then
          the javascript files are kept here
    The machine name
    The user name
    MYLOCALE=`locale | grep LC_MESSAGES | sed -e 's|LC_MESSAGES="||g' -e 's|"$||g'`The default registry
          if [ ! -d "$ODBC_HOME/locale/$MYLOCALE" ]; then
            ln -s "$ODBC_HOME/locale/en_US" "$ODBC_HOME/locale/$MYLOCALE"
          fi
        fi
    Again cheers for your help in this matter.
    #!/bin/sh
    BOBJEDIR="/home/eberwick/BO_3_1/bobje/"
    export BOBJEDIR
    BODIR="`dirname $BOBJEDIR`/"
    export BODIR
    DEFAULTFILE="$
    check for existence of u flag, if it is there, turn it off.
    Set a flag so we don't source the environment more than once
    webi config file
    ccm.config"
    if [ -f "$DEFAULTFILE" ]; then
        . "$DEFAULTFILE"
    fi
    . "${BOBJEDIR?}setup/modify_ko_locale.sh"
    SOFTWARE=`uname -s`
    OBJECT_MODEL=`grep Platform $BODIR/setup/ProductID.txt | awk '{print $4;}'`
    [ -z "$OBJECT_MODEL" ] && OBJECT_MODEL=32
    SOFTWAREPATH=`grep SoftwarePath $BODIR/setup/ProductID.txt | awk '{print $3;}'`
    U_FLAG=0
    if [ X"$SOFTWARE" = "XHP-UX" ]; then
    unset the LANG so that we don't get the localized version of 'unlimited' if the localized system messages are installed.
    raise the ulimits to max allowed
    undo that bug workaround from above
    figure out what architecture we're on
    now that we're localized, deal with unknown architecture
    we include English, as localization may have failed
    set the JDK variable
        if [ x`echo $- | grep "u"` != "x" ]; then
            set +u
            U_FLAG=1
        fi
    fi
    if [ x"$BOBJE_ENV_SOURCED" = x ]; then
        if [ -f "$setup/boconfig.cfg" ]; then
        HKEY_LOCAL_MACHINE="$setup/boconfig.cfg"
            export HKEY_LOCAL_MACHINE
        fi
        BOBJE_ENV_SOURCED="true"
        export BOBJE_ENV_SOURCED
        BOBJEVERSION="12.0"
        export BOBJEVERSION
        LANGWAS="$LANG"
        unset LANG
        LC_ALLWAS="$LC_ALL"
        unset LC_ALL
        ulimit -Sn `ulimit -Hn` # max file descriptors
        ulimit -S -c `ulimit -H -c` # max core file size
        ulimit -S -d `ulimit -H -d` # max data segment size
        ulimit -S -f `ulimit -H -f` # max file size
        ulimit -S -s `ulimit -H -s` # max stack
        ulimit -S -t `ulimit -H -t` # max CPU time
        LANG="$LANGWAS"; export LANG
        unset LANGWAS
        LC_ALL="$LC_ALLWAS"; export LC_ALL
        unset LC_ALLWAS
        case X"$SOFTWARE" in
            XLinux) SOFTWARELC="linux"; SHAREDLIBSUFFIX=".so"; CB1LIBSUFFIX="${SHAREDLIBSUFFIX?}.12.0"; CB1SYMLINKLIBSUFFIX="${SHAREDLIBSUFFIX?}.12" ;;
            XAIX)   SOFTWARELC="aix"; SHAREDLIBSUFFIX=".so"; CB1LIBSUFFIX=".12.0${SHAREDLIBSUFFIX?}"; CB1SYMLINKLIBSUFFIX=".12${SHAREDLIBSUFFIX?}";;
            XSunOS) SOFTWARELC="solaris"; SHAREDLIBSUFFIX=".so"; CB1LIBSUFFIX="${SHAREDLIBSUFFIX?}.12.0"; CB1SYMLINKLIBSUFFIX="${SHAREDLIBSUFFIX?}.12";;
            XHP-UX)
                    SOFTWARELC="hpux";
                    if [ "$SOFTWAREPATH" = "hpux_ia64" ]; then
                            SHAREDLIBSUFFIX=".so";
                    else
                            SHAREDLIBSUFFIX=".sl";
                    fi
                    CB1LIBSUFFIX="${SHAREDLIBSUFFIX?}.12.0";
                    CB1SYMLINKLIBSUFFIX="${SHAREDLIBSUFFIX?}.12";;
        esac
        export SOFTWAREPATH
        export SOFTWARE
        export SHAREDLIBSUFFIX
        export CB1LIBSUFFIX
        export CB1SYMLINKLIBSUFFIX
        if [ "$SOFTWAREPATH" = "" ]; then
            echo "$UNKNOWNPLATFORM (unknown platform): $SOFTWARE"
            exit 1
        fi
        if [ -d "$BOBJEDIR"/jdk ]; then
          JAVA_HOME="$jdk"
          export JAVA_HOME
        fi
          JAVA_OPTS="-d$OBJECT_MODEL -Dbobj.enterprise.home=$
    fi
    setting AAHOME here so when CAD starts the value is set
    enterprise120 -Djava.awt.headless=true -Djava.net.preferIPv4Stack=false"
          if [ "$SOFTWARE" = "AIX" -o "$SOFTWARE" = "SunOS" -o "$SOFTWARE" = "Linux" -o "$SOFTWARE" = "HP-UX" ]; then
            JAVA_OPTS="$JAVA_OPTS -Xmx1024m -XX:MaxPermSize=256m"
          fi
          export JAVA_OPTS
        if [ -d "$Dashboard_Analytics_120" ]; then
            AAHOME="$Dashboard_Analytics_120"
            export AAHOME
        fi
        WCSDIR="$enterprise120/$SOFTWAREPATH/wcs/"
        export WCSDIR
        WCSBINDIR="$bin/"
        export WCSBINDIR
        WCSCOMPONENTDIR="$components/"
        export WCSCOMPONENTDIR
        BINDIR="$enterprise120/$SOFTWAREPATH/"
        export BINDIR
        LIBDIR="$enterprise120/$SOFTWAREPATH/"
        export LIBDIR
        PLUGINDIR="$enterprise120/packages/"
        export PLUGINDIR
        PLUGINDIST="$enterprise120/$SOFTWAREPATH/plugins/"
        export PLUGINDIST
        LOGDIR="$append the new valuelogging/"
        export LOGDIR
        if [ x"$BOE_LOGGER_ENVIRONMENT" = x ]; then
            BOE_LOGGER_ENVIRONMENT="-loggingPath $LOGDIR"
        else
            BOE_LOGGER_ENVIRONMENT="$BOE_LOGGER_ENVIRONMENT -loggingPath $LOGDIR"
        fi
        export BOE_LOGGER_ENVIRONMENT
        SCRIPTDIR="$enterprise120/generic/"
        export SCRIPTDIR
        JAVASCRIPTDIR="$setup/jscripts/"
        export JAVASCRIPTDIR
        MACHINENAME=`uname -n`
        export MACHINENAME
        removeUTF8SpecificsForKorean
        STRIPPEDMACHINENAME=`hostname | sed -e 's/\..*//'`
        export STRIPPEDMACHINENAME
        if [ x"$BOBJEUSERNAME" = x ]; then
          BOBJEUSERNAME=`id | sed -e "s|).\$||" -e "s|^.(||" `
          export BOBJEUSERNAME
        fi
        restoreUTF8SpecificsForKorean
        DEFAULT_REGFILE="$BOBJEDIR"setup/.defaultreg
        export DEFAULT_REGFILE
        REGFILE="$BOBJEDIR"data/.bobj
        export REGFILE
        BOE_REGISTRYHOME="$REGFILE/registry"
        export BOE_REGISTRYHOME
        DEFAULT_ODBCFILE="$BOBJEDIR"defaultodbc.ini
        export DEFAULT_ODBCFILE
        ODBC_HOME="$odbc"
        export ODBC_HOME
    the PID file location
        PIDDIR="$BOBJEDIR"serverpids
        export PIDDIR
        SQLRULEDIRECTORY="$LIBDIR"
        export SQLRULEDIRECTORY
        PATH="$BINDIR:$crpe/xvfb:$PATH"
        export PATH
        CRPEPATH="$enterprise120/$SOFTWAREPATH/crpe/"
        export CRPEPATH
        MWHOME="$mw/"
        export MWHOME
        BOBJEXVFBPATH="$xvfb/"
        export BOBJEXVFBPATH
        MWUSER_DIRECTORY="$once the crpe is in, we should exit if this file doesn't exist.
    Uncomment this to turn off Xvfb security and allow connections from
    everyone. 
    MW_XVFB_AC="1"
    export MW_XVFB_AC
    Use a seperate .Xauthority file.  Comment out this line if you want
    to use the user's .Xauthority file for storing the Xvfb authentication
    tokens.
    registry/"
        export MWUSER_DIRECTORY
        MWRT_MODE="professional"
        export MWRT_MODE
        MWREGISTRY=":$MWUSER_DIRECTORY/hklm_$
    Mainwin can deadlock unless this is set
    Prevents Mainwin from popping up dialogs in some situations, causing a deadlock
    variables merged from RAS
    XVFB Manager
    Environment Variables:
          MW_XVFB_EXE         = Name of the Xvfb exe.
                                Default is 'Xvfb'.
          MW_XVFB_DAEMON      = Name of the XvfbDaemon exe.
                                Default is 'XvfbDaemon'.
          MW_XVFB_DAEMON_PORT = Port number that Xvfb Daemon will listen too.
                                Default is 5222.
          MW_XVFB_DAEMON_HOST = Host on which the XvfbDeamon is running.
                                Default is Local host.
          MW_XVFB_DAEMON_XVFB = Number of Xvfb to run.
                                Default is '5'.
          MW_XVFB_DAEMON_DISPLAY = Starting display number for Xvfb.
                                Default is '1'.
          MW_XVFB_DAEMON_PROFILE = Path to the Security Profile for Xvfb.
                                Default is 'SecurityProfile'.
          MW_XVFB_DAEMON_TRACE = Set to turn on tracing information.
                                Default is undefined.
          MW_XVFB_DAEMON_DIE  = Turn off the exit code if no more connections.
                                Default is undefined.
          MW_XVFB_FONT = Locations from which to load font
    By this symbol being defined, the checking for a current set display is disabled.
    Set to turn on tracing info when defined.  Default is undefined.
    MW_XVFB_DAEMON_TRACE=defined
    export MW_XVFB_DAEMON_TRACE
    RAS Home
    .bin"
        export MWREGISTRY
        MWCORE_PRIVATE_DATA="$MWUSER_DIRECTORY/core_data"
        export MWCORE_PRIVATE_DATA
        if [ -f "$MWHOME"setmwruntime ]; then
            . "$MWHOME"setmwruntime
        fi
        MWNT_OLE_DOCS=true
        export MWNT_OLE_DOCS
        MWPRINTER_DPI=600
        export MWPRINTER_DPI
        MWVISUAL_CLASS="TrueColor"
        export MWVISUAL_CLASS
        if [ "$SOFTWAREPATH" = "hpux_ia64" ]; then
            MWTHREAD_STACK="200000"
        else
            MWTHREAD_STACK="FA000"
        fi
        export MWTHREAD_STACK
        MWFONT_DIR_PATH="$fonts/"
        export MWFONT_DIR_PATH
        MW_XVFB_DAEMON_FONT="$misc/"
        export MW_XVFB_DAEMON_FONT
        XAUTHORITY="$xvfb/.Xauthority"
        export XAUTHORITY
        MWDEBUG_LEVEL=0
        export MWDEBUG_LEVEL
        MWINVISIBLE_DISPLAY=1
        export MWINVISIBLE_DISPLAY
       MWNO_SIGCHLD_IGNORE=1
       export MWNO_SIGCHLD_IGNORE
       MWLOOK=motif
       export MWLOOK
            MW_XVFB_DAEMON_PROFILE="$BOBJEXVFBPATH/SecurityPolicy"
            export MW_XVFB_DAEMON_PROFILE
            MW_XVFB_DAEMON_IGNORE_DISPLAY="true"
            export MW_XVFB_DAEMON_IGNORE_DISPLAY
            if [ "$SOFTWARE" = "HP-UX" ]; then
                MW_XVFB_DAEMON_XVFB=10
            else
                MW_XVFB_DAEMON_XVFB=5
            fi
            export MW_XVFB_DAEMON_XVFB
            MWNO_FILE_LOCKING=true
            export MWNO_FILE_LOCKING
            MWNO_SIGNAL_CATCHING=true
            export MWNO_SIGNAL_CATCHING
        RASHOME="$enterprise120/$SOFTWAREPATH/ras/"
        export RASHOME
        LIBRARYPATH="$LIBDIR:$WCSCOMPONENTDIR:$PLUGINDIST/auth/secEnterprise:$enterprise120/$SOFTWAREPATH/crpe:$:$PLUGINDIST/desktop/CrystalEnterprise.Report:$enterprise120/$SOFTWAREPATH/ras:$
    May optionally be set to MALLOCMULTIHEAP=heaps:n[,considersize]
    where n is scaled to the number of CPUs (usually 2x).
    Setting to MALLOCMULTIHEAP=1 enables system defaults.
    setting MALLOCMULTIHEAP to 'considersize' fixes an AIX memory leak and significantly reduces the memory footprint.
    env variable to fix the default cpu affinity
    env variable to fix dlopen/dlclose behaviour to be more like ELF-based systems
    aix thread stack overflow guarding : won't catch if overflow is more than 4k, but better than nothing
    aix specific ulimit changes
    unset the LANG so that we don't get the localized version of 'unlimited' if the localized system messages are installed.
    undo that bug workaround from above
    set the aix thread scope to system (1:1)
    better core naming for aix 5
    Check if memory windows is enabled in the kernal parameters
    We will support memory windows, either through the "BOE120_HP_MEMWIN_ID" environment variable,
    or through the "BusinessObjectsEnterprise120" memory window key in /etc/services.window
    Use memory windows if available on HP-UX.
    For both HPUX Itanium and PA-RISC
    Reduce the number of arenas from 8 (default) to 1 (min) which solves memory blowup issue.
    Enable the thread local cache to compensate.
    http://www.docs.hp.com/en/B2355-60130/malloc.3C.html
    mysql/lib"
        if [ "$SOFTWARE" = "AIX" ]; then
            LIBPATH="$LIBRARYPATH:$LIBPATH"
            export LIBPATH
            if [ x"$MALLOCMULTIHEAP" = x ]; then
                CRConfig env variable for DCP
                MALLOCMULTIHEAP="considersize"
                export MALLOCMULTIHEAP
            fi
            RT_GRQ=ON
            export RT_GRQ
            LDR_CNTRL=IGNOREUNLOAD
            export LDR_CNTRL
            AIXTHREAD_GUARDPAGES=1
            export AIXTHREAD_GUARDPAGES
            LANGWAS="$LANG"
            unset LANG
            LC_ALLWAS="$LC_ALL"
            unset LC_ALL
            ulimit -S -m `ulimit -H -m` # max memory
            LANG="$LANGWAS"; export LANG
            unset LANGWAS
            LC_ALL="$LC_ALLWAS"; export LC_ALL
            unset LC_ALLWAS
            AIXTHREAD_SCOPE="S"
            export AIXTHREAD_SCOPE
            Version=`uname -v`
            Release=`uname -r`
            if [ "$Version" -gt 4 ]; then
                CORE_NAMING=ON
                export CORE_NAMING
            fi
            AIXTHREAD_MUTEX_DEBUG=OFF
            export AIXTHREAD_MUTEX_DEBUG
            AIXTHREAD_COND_DEBUG=OFF
            export AIXTHREAD_COND_DEBUG
            AIXTHREAD_RWLOCK_DEBUG=OFF
            export AIXTHREAD_RWLOCK_DEBUG
        elif [ "$SOFTWARE" = "HP-UX" ]; then
            if [ "$SOFTWAREPATH" = "hpux_ia64" ]; then
                SHLIB_PATH="$LIBRARYPATH:$SHLIB_PATH:$JAVA_HOME/jre/lib/IA64W.0/server"
            else
                SHLIB_PATH="$LIBRARYPATH:$SHLIB_PATH:$JAVA_HOME/jre/lib/PA_RISC2.0/server"
            fi
            export SHLIB_PATH
            MAX_MEM_WINDOW=`/usr/sbin/kctune | grep max_mem_window | awk '{print $2}'`
            if [[ "$MAX_MEM_WINDOW" != "0" ]]; then
                if [[ "$BOE120_HP_MEMWIN_ID" = "" && -r "/etc/services.window" && -x "/usr/bin/getmemwindow" ]]; then
                  BOE120_HP_MEMWIN_ID="`/usr/bin/getmemwindow BusinessObjectsEnterprise120`"
                  export BOE120_HP_MEMWIN_ID
                fi
                if [[ -x "/usr/bin/setmemwindow" ]]; then
                    if [[ "$BOE120_HP_MEMWIN_ID" != "" ]]; then
                        CE_CMDLINE_PREFIX="/usr/bin/setmemwindow -f -i $BOE120_HP_MEMWIN_ID "
                    fi
                fi
                export CE_CMDLINE_PREFIX
            fi
            export MARENA_OPTS=1:8
            export MCACHE_OPTS=100:8:0
        elif [ "$SOFTWARE" = "Linux" ]; then
            LD_LIBRARY_PATH="$LIBRARYPATH:$perl/lib/5.8.0/i386-linux-thread-multi/CORE:$LD_LIBRARY_PATH"
            export LD_LIBRARY_PATH
        else
            LD_LIBRARY_PATH="$LIBRARYPATH:$LD_LIBRARY_PATH"
            export LD_LIBRARY_PATH
        fi
        CRCONFIGFILE="$java/CRConfig.xml"
        if [ -f "$CRCONFIGFILE" ]; then
          CRConfig11="$CRCONFIGFILE"   
          export CRConfig11
        fi
        if [ -d "$ODBC_HOME/locale" ]; then
    set up the odbc symlink to work around:
    The DataDirect SQL Server ODBC driver on UNIX will not function properly under a
    locale other than "en_US" due to strong dependencies on their locale files.
          MYLOCALE=`locale | grep LC_MESSAGES | sed -e 's|LC_MESSAGES="||g' -e 's|"$||g'`
          if [ ! -d "$ODBC_HOME/locale/$MYLOCALE" ]; then
            ln -s "$ODBC_HOME/locale/en_US" "$ODBC_HOME/locale/$MYLOCALE"
          fi
        fi
    This was originally called TMPDIR, but now MainWin supports MW_TMPDIR, so we export MW_TMPDIR
    ADAPT00506764 tracks the original issue with TMPDIR/Essbase Connectivity
    MySQL now sets its TMPDIR in mysqlstartup.sh
    set the tmp dir locally, if the value is not already set.
        if [ x"$MW_TMPDIR" = x ]; then
          if [ ! -d "$BOBJEDIR"/tmp ]; then
            mkdir -p "$BOBJEDIR"/tmp
          fi
          MW_TMPDIR="$BOBJEDIR"/tmp
          export MW_TMPDIR
        fi
    Comment this out to turn off custom Solaris memory allocator
        if [ "$SOFTWAREPATH" = "solaris_sparc" ]; then
            LD_PRELOAD="libhoard.so.1"
            export LD_PRELOAD
    Need to set up 64-bit specific library path so that 64-bit processes will
    preload the 64-bit version of the memory allocator, and not the 32-bit version
            LD_LIBRARY_PATH_64="$enterprise120/solaris_sparcv9"
            export LD_LIBRARY_PATH_64
        fi
    setup the mysql env variables
        if [ -d "$BOBJEDIR"/mysql ]; then
    mysql env variables
                MYSQL_UNIX_PORT="$BOBJEDIR"mysql/mysql.sock
                export MYSQL_UNIX_PORT
        fi
    call env.sh from sub-directories (presumably from add-on installs)
        for dir in "${BOBJEDIR?}/setup"/*
        do
            if [ -r "${dir?}/env.sh" ]; then
                . "${dir?}/env.sh"
            fi
        done
    fi
    if [ X"$SOFTWARE" = "XHP-UX" ]; then
    check for existence of u_flag, if it is, turn it back on.
        if [ "$U_FLAG" = 1 ]; then
            set -u
        fi
    fi

  • Factory-class in data-sources.xml managed-data-source

    OracleAS_1\j2ee\home\config has
    data-sources.xml
    Using managed-data-source.
    For connection-pool, connection-factory factory-class If I use OracleDriver instead of OracleDataSource, what difference would it have? In terms of performance?
    Thanks.

    Oops, a case issue...
    class="oracle.jdbc.pool.Oracle[b]OCIConnectionPool"

  • SAP Crystal Reports data source connection problem using sap business one

    Hi,
    I m facing a problem regarding: SAP Crystal Reports data source connection problem using sap business one
    I am trying to create a Crystal report but when I try to configure a new connection it does not work.
    I select Sap Business One data source and try to complete the information required to connection but it does not list my companies databases, what is the problem?
    Our Current SAP related software details are as follows:
    OS: Windows Server 2008
    SAP B1 Version: SAP B1 9 (902001) Patch 9
    SAP Crystal Report Version: 14.0.4.738 RTM
    Database: MS SQL Server 2008 R2
    I have also added some screenshots of the issues.
    Please have a look and let me know if you have any questions or any further clarifications.
    I m eagerly waiting for a quick and positive reply.

    Hi,
    There is problem with SAP Business One date source.
    I had faced same problem, I used OLEDB Data-source, and it worked fine for me.
    So, try to use OLEDB.
    Regards,
    Amrut Sabnis.

  • Error while importing the tables from MySQL using the data source connection

    Hi,
    I am trying to import tables from MySQL into Powerpivot using the data source connection, if use the import using the Query option its working fine but not with the select list of table option.
    when i click on the select list of tables option, i get the below error after selecting all the tables to be imported:
    OLE DB or ODBC error.
    An error occurred while processing table 'XXXXXXXXXX'.
    The current operation was cancelled because another operation in the transaction failed.

    Hi Bharat17an,
    Please provide the detail information when create the MySQL connection in your PowerPivot model. Here is a good article regarding "how to Use MySQL and Microsoft PowerPivot Together" for your reference, please see:
    http://www.datamensional.com/2011/09/how-to-use-mysql-and-microsoft-powerpivot-together-2/
    If this issue still persists, please help to collection windows event log information. It maybe helpful for us to troubleshoot this issue.
    Regards,
    Elvis Long
    TechNet Community Support

  • Change all reports data source connection

    I have numerous SQL reports that require their data source connection changed. Does anyone have code to change all reports that use a data source name of 'Data_Warehouse_Main' to a different shared connection.
    Thanks

    Hi BiscuitB,
    According to your description, there are numerous SQL reports and their data source need to be changed. You used RSScripter but it does not work.
    In Reporting Services, if we want to change data sources of multiple SSRS Report, we can use Powershell to set the data sources for an item in a report server database or SharePoint library. To achieve your goal, we need to use both the Reporting Service
    GetItemDataSources Method and the SetItemDataSources Method. You can refer to the thread provided by PrajapatiNeha, and the PowerShell script sample will be helpful for you.
    Reference:
    GetItemDataSources Method
    SetItemDataSources Method
    If you have any more questions, please feel free to ask.
    Thanks,
    Wendy Fu

  • SmartView 11.1.1.2 Data Source Connection Manager is Disabled.

    I recently did a fresh install of Oracle Hyperion EPM 11.1.1.2 in a Windows 2003 Enterprise Server (64-bit) environment.
    I'm now having problems running Smart View in this environment.
    When I attempt to connect to a cube, from within Excel, the Data Source Manager appears in the right-hand pane, but I can't interact with it. Also, nothing at all appears in the Data Source Manager pane.
    I've duplicated this problem in a Windows 7 RC1 64-bit environment as well (Yes, I know. It's not supported).
    This looks like some sort of Active X issue.
    I am running Office 2007 SP1. However, applying the latest MS Office updates did not alleviate the issue. I also enabled macros and active x controls through the "Trust Center", but that did not help either.
    Any help or ideas would be appreciated.
    Thanks,
    Alan Farkas

    Hello all,
    Nice to know misery has lots of company. Having the same problem. I've gotten lots of suggestions and have tried everything short of reinstalling OS. The strange thing is that it was working at initially but my laptop crashed and I reinstalled everything. This problem appeared after the reinstall.
    I'll keep trying and will let you know if the OS reinstall does the trick...
    If anyone else comes up with something better - please post.
    Thanks,
    Frank

  • Preserving Named Tables as Pivot Table data sources after copying to new workbook (Excel 2010)

    Have 2010 Excel Workbook with Named Tables and child Pivot Tables and several other support sheets.  I want to make a 'working' file --  with only copies of these Named Tables and Pivot Table
    structures, and then I would populate the copied Tables with the 'real data' and crunch the numbers I need in this new working file.
    I need to use VBA for this transformation (which I've tried).
    Problem -- Upon copying the Named Table [Table1] and Pivot Tables [Pivot11] and [Pivot12] to the new stand-alone file, WORKING.xlsm, the Pivot Tables only recognize the Tables in the source file (I.e. the data source for Pivot11 is C:\...\'SOURCE.xlsm'!Table1),
    and not simply Table1 in the new stand-alone file.
    Longhand changing of the Data Source for each Pivot Table [Table1] from 'C:\...\SOURCE.xlsm'!Table1 to simply Table1 seems to be disallowed from all angles.
    Anyone have clean VBA code that will copy the parent Named Table and its child Pivot Tables to an external .xlsm file without the absolute links back to the original source file ?

    Hi Jon,
    How do you change the data source?
    Base on my test, we can change the data source by using this code below:
    ActiveSheet.PivotTables("PivotTable1").ChangePivotCache ActiveWorkbook. _
    PivotCaches.Create(SourceType:=xlDatabase, SourceData:= _
    "[path]!Table4" _
    , Version:=xlPivotTableVersion15)
    To copy and paste the Named Table and Pivot Tables, we could use
    Range.Copy and
    Range.PasteSpecial method.
    To check whether the Pivot Tables parent is specify Named Table, we could check
    PivotTable.SourceData property.
    Regards
    Starain
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Managing Data Source on a Report

    Post Author: sliese
    CA Forum: Upgrading and Licensing
    Hi - I am wondering if there is a way to quickly change the datasource for a report.  Set Data Source Location seems a bit too bulky.  I would like to manage the datasource in a separate file (kind of like in other languages when you can have an XML file that defines the datasource and you can easily change the connection by editing the XML file)...I looked into OLE DB Data Link Files (UDL) and managed to connect my report with the UDL. But when I changed the DB that the UDL pointed to, it did not change the report.  Once the report connected to the UDL, it was fixed.  Any thoughts or ideas? -Stephanie

    Post Author: V361
    CA Forum: Upgrading and Licensing
    look into adding a command. (stolen from the CR help file)
    The Add Command to Report dialog box appears when you double-click Add Command in the Database Expert. The Add Command option is found in the connection folder for an active Database Files or ODBC (RDO) data source.
    Use this dialog box to write your own SQL command (query) which will be represented in Crystal Reports as a Table object.

  • Retrieve data source connection string from reportserver.dbo.DataSource

    I would like to retrieve the connection string (and credentials) for each of my data sources (without having to click on each individual item). The DataSource table has a column called ConnectionString, but the data type is image, which cannot be converted to varchar. Does anyone have any ideas of how to pull this information from the database?
    I have tried converting to binary/varbinary, and then converting to varchar, but I get garbage back.
    Note: I am currently using SSRS 2005
    Thanks,
    Marianne

    Hi Jin,
    I downloaded your script and was impressed with the information it retrieves, however, it is not formatted very well with the name of each data source being on the same line as the previous data source so I updated the script to create a blank line between
    each data source block, and also to include the login credentials used by the data source, and the path for the data source, which is very useful in being able to locate the data source for editing in Report Manager. However, it is not retrieving all data
    sources and I don't know why. I know this for a fact because there are data sources defined that are not in the output of this script but I don't know enough about VB to improve the script further, or how the report server is configured to ensure the code
    finds the missing data sources.
    Here's the updated script.
    '=============================================================================
    '  File:      PublishSampleReports.rss
    '  Summary:  Demonstrates a script that can be used with RS.exe to
    '      publish the sample reports that ship with Reporting Services.
    ' This file is part of Microsoft SQL Server Code Samples.
    '  Copyright (C) Microsoft Corporation.  All rights reserved.
    ' This source code is intended only as a supplement to Microsoft
    ' Development Tools and/or on-line documentation.  See these other
    ' materials for detailed information regarding Microsoft code samples.
    ' THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
    ' KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
    ' IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
    ' PARTICULAR PURPOSE.
    Public Sub Main()
        rs.Credentials = System.Net.CredentialCache.DefaultCredentials
        'Create the parent folder
        GetCatalogItems(String.Empty)
    End Sub
        ' <summary>
        ' recursivly get folder items from report
        ' server catalog; render to treeview control
        ' </summary>
        ' <param name="catalogPath"></param>
        ' <param name="parentNode"></param>
        Public Sub GetCatalogItems(ByVal catalogPath As String)
            Dim items As CatalogItem()
            Try
                ' if catalog path is empty, use root, if not pass the folder path
                If catalogPath.Length = 0 Then
                    ' no recursion (false)
                    items = rs.ListChildren("/", False)
                Else
                    ' no recursion (false)
                    items = rs.ListChildren(catalogPath, False)
                End If
                ' iterate through catalog items and populate treeview control
                For Each item As CatalogItem In items
                    ' if folder is hidden, skip it
                    If item.Hidden <> True Then
                        ' ensure only folders are rendered
                        If item.Type.Equals(ItemTypeEnum.DataSource) Then
                            'use the GetDataSourceContents to get the definition of the data source.
                            Dim definition As DataSourceDefinition = Nothing
                            Try
                                definition = rs.GetDataSourceContents(item.Path)
                                Console.WriteLine(item.Name)
                                Console.WriteLine(item.Path)
                                Console.WriteLine("Connection String: {0}", definition.ConnectString)
                                Console.WriteLine("Extension name: {0}", definition.Extension)
                                Console.WriteLine("UserName: {0}", definition.UserName)
                            Catch e As SoapException
                                Console.WriteLine(e.Detail.InnerXml.ToString())
                            End Try
                            Console.WriteLine(item.Name)
                            Console.WriteLine()
                        ElseIf item.Type.Equals(ItemTypeEnum.Folder) Then
                            ' recurse                     
                            GetCatalogItems(item.Path)
                        End If
                    End If
                Next
            Catch ex As Exception
                Console.WriteLine(ex.Message)
            Finally
                'Do nothing
            End Try
        End Sub
    To run this I use:
    rs -i GetPropertiesOfDataSources.rss -s
    http://<reportserver_name>/reportserver > DataSources_<reportserver_name>.txt
    But as I mentioned it is not picking up all of the data sources and I don't know why. I also don't know why it's so difficult to find all the data sources from within Report Manager. I'm new to SSRS but was told that prior to SQL 2005, this information was
    easily available using Management Studio to connect to the report server but now it's buried in the Report Manager and not accessible from one spot. Bad move by Microsoft apparently. You'd think that there would be an easy way to find all of the data sources.
    We need to migrate the SQL Servers on which reports are running, but we have tons of reports and, historically, little documentation for them so we need to be able to determine where all the data sources are so we know which to update. This is proving extremely
    difficult. Your script helps but is not comprehensive.
    Any and all help is appreciated.
    Michael MacGregor, Senior SQL Server DBA, Carlson Marketing

  • SharePoint 2010 Report using a Shared Data Source Connection file (.rsds) is forcibly closed.

    Hi -
    When attempting to render a report (.rdl) in a SharePoint 2010 document library that has a
    Connection Type specified as a Shared data source (the connection succeeds when tested in the SharedDataSource.aspx page), the following error message is displayed in the report:
    The data source that I'm using passes the test when tested in isolation but when used in the report it yields to the error message above. Below are some of the details of the .rsds file:
    For this particular Web Application, Kerberos has been enabled. I couldn't spot any traces in ULS nor in the Security Windows logs.
    Any feedback on how to fix this issue is appreciated.
    Thanks.

    Hi
    There are multiple resolution found for the same issue, please refer 
    http://www.marc-lognoul.me/itblog-en/an-existing-connection-was-forcibly-closed-by-the-remote-host/
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/4ad2a302-8a77-44f3-91ce-803d36efc9c5/sharepoint-2010-an-existing-connection-was-forcibly-closed-by-the-remote-host-when-log-in-using?forum=sharepointadminprevious
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/235ca863-f540-4fa0-9688-0b0b46c2d75d/sharepoint-2010-an-existing-connection-was-forcibly-closed-by-the-remote-host-when-log-in-using?forum=sharepointadminprevious 
    Let us know if this helps, thanks
    Regards,
    Pratik Vyas | SharePoint Consultant |
    http://sharepointpratik.blogspot.com
    Posting is provided AS IS with no warranties, and confers no rights
    Please remember to click Mark As Answer if a post solves your problem or
    Vote As Helpful if it was useful.

  • Help creating applescript to select email data and insert in existing Excel workbook

    Hi there
    I'd really appreciate some help.
    I want to select three types of data, specifically Name, Email address, and a Date, from the body text of emails in Mac Mail, and export them into columns in an existing Excel workbook.
    I've set up a rule in Mail based on the sender, and specified an Applescript action based on the script below. I've sent test emails to meet the rule conditions, and included in the body of these emails the text items below to trigger the script rules, but the Applescript doesn't do anything.
    Where I am going wrong?
    using terms from application "Mail"
      on perform mail action with messages theMessages for rule TravelRule
      tell application "Mail"
      repeat with each_message in theIncomingMessages
      -- reset the variables
      set thetext to content of each_message
      display dialog thetext
                                            set {thename, theemail, thedates} to {"", "", "", ""}
      -- get the message text
      set message_text to content of each_message
      -- setup text item delimiters
      set {old_delims, my text item delimiters} to {my text item delimiters, ": "}
      -- iterate through the lines of the message looking for the keywords
      repeat with each_para in (paragraphs of message_text)
                                                      if text item 1 of each_para = "Name" then
      set thename to text item 2 of each_para
                                                      else if text item 1 of each_para = "Email" then
      set theemail to text item 2 of each_para
                                                      else if text item 1 of each_para = "Dates" then
      set thedates to text item 2 of each_para
                                                      end if
      end repeat -- each para
      set my text item delimiters to old_delims
      end repeat -- each_message
                                  tell application "Microsoft Excel"
      activate
                                            open workbook "/PathDetailsHere/Workbook1.xls"
                                            set formula of range "G6" of worksheet "sheet1" to thename
                                            set formula of range "G9" of worksheet "sheet1" to theemail
                                            set formula of range "G12" of worksheet "sheet1" to thedates
      end tell
      end tell -- application "Mail"
      end perform mail action with messages
    end using terms from
    I'm a complete Applescript newbie, so any help would be really appreciated! Thank you.

    my variables are global for all data providers since I use the same query for my data providers.
    It's just the values (some of them : ex: conso version) that differ from one data provider to another.
    ex : here for 2 diff Data providers based on the same query i need to enter the following values for mandatory variables
    Different versions / different years but same conso group / data entry year/ posting period.
    i would like to have the possibility to enter these values out of the "select values for variable" window (not convenient when we have 7 or 8 DP...), but directly in the workbook.
    But maybe this is not possible...
    In DP1                 
    conso version = A_PL                         
    conso group = FR01
    data entry year = 9999
    fiscal year = 2010
    Posting period = 12
    In DP2
    Conso version = P4_MAG
    Conso group = FR01
    Data entry year = 9999
    fiscal year =2011
    Posting period = 12

Maybe you are looking for

  • Samsung CLX-2160N Network Printer - How?

    All, Thanks in advance for the support I know you'll be able to provide.  Here's my trouble. I have a CLX-2160N printer from Samsung that I am trying to get connected to.  It is running on my network, at the IP address 192.168.1.18. I've tried instal

  • Burn DVD from Powerpoint

    My teen made a Word 2004 powerpoint presentation, complete with photos and some text, which he needs for a school project. It's pretty snazzy except we can't seem to figure out how to burn a DVD of it. It's readily viewed in QT on the computer. Query

  • Can't find storage used

    Hi, On the preferences panel, it's write i use 2Go for documents, but in my iCloud Drive (on my MacBook), i use only 200Mo ??? What's happen ? And, is it possible to share iCloud drive with other people ? Thanks

  • Rsvarexit_0CYEAR  exit does not exists in se37

    Hi I m working on reports of HR. it has standard report 'number of leavings' which has variable 0CYEAR processing type of it is  sap exit. but there is no sap exit with 'RSVAREXIT_0CYEAR' . the report is not fetching the data as there is no exit ment

  • Reminders Sync Only 1 Way

    When I create a reminder on my iMac, it goes out to my iOS devices.  When I create a reminder on either of my iOS devices, it does not show up in the reminders on my iMac.  Any ideas? Thanks