Return error ocurring during bdc

Hello all,
I am a abaper and i got a project to in which there is a requirement that we have to do the bdc by remote function call.
I am able to do bdc through it but my main concern is the error which come while doing bdc.
I mean we can see the screen which in which there is error. I want to capture that error and that error should be return to the function.
Suppose we are doing bdc which the help of .net application. We want to retrun the error which is occuring during the bdc and return the error to the .net application. so can you tell me how can we return the error.
Thanks...

Hi,
Implement RFC or any interface to communicate with non-SAP system. And have one table parameter with two fields..one with flag and other field is for message text. Then your table parameter output will be like following:
E: Process not occurred
S: Table updated updated successfully
etc.,
and,
As we know,
bdcmsgcoll type bdcmsgcoll occurs 0 with header line,
call transaction 'TCODE' using bdcdata mode 'N' update 'S' messages into bdcmsgcoll.
this syntax will helps you capture the messages with BDC processing. And then pass this message ID and types etc to 'FORMAT_MESSAGE' or some other function module whcih can gives you message text. And finally populate ABOVE internal table with those details.
Thanks,
Naveen Inuganti.

Similar Messages

  • An error ocurred during the installation of assembly 'Microsoft. VC80.crt,type="win32", version="8.0.50727.4053".publickKeyToken="1fc8b3b9a1e18e3b".processorArchitectu re="amd64".Please refer to help and support for more information. HRESULT: 0x80071A30

    An error ocurred during the installation of assembly 'Microsoft. VC80.crt,type="win32", version="8.0.50727.4053".publickKeyToken="1fc8b3b9a1e18e3b".processorArchitectu re="amd64".Please refer to help and support for more information. HRESULT: 0x80071A30
    Instale iTunes perfectamente, conecte mi iPone y me dijo que necesitaba otra version que borrase la actual y instalase la nueva, borre la que tenia, y al instalar la nueva me salia esto y no tengo forma de instalarla. Ya hice los tutoriales de la pagina, y nada.

    OK.  If both of you are Windows 7.  Make sure you go to Windows update (START button, type in Windows Update). Check for updates and update whatever that are available. (especially Microsoft .NET Framework 4 )
    After that see if you still get this error message.
    The last resort would be to unistall and reinstall the whole thing.
    Follow the steps below:
    1. Go to Microsoft website to fix install and Unistall problems. Click "Run now" from Fix it to remove all iTunes & related installer files:
    http://support.microsoft.com/mats/Program_Install_and_Uninstall
    Be aware that Windows Installer CleanUp Utility will not remove the actual program from your computer. However, it will remove the installation files so that you can start the installation, upgrade, or uninstall over.
    2. You should remove all instances of iTunes and the rest of the components listed below:
    it may be necessary to remove all traces of iTunes, QuickTime, and related software components from your computer before reinstalling iTunes.
    Use the Control Panel to uninstall iTunes and related software components in the following order:
    iTunes
    QuickTime
    Apple Software Update
    Apple Mobile Device Support
    Bonjour
    Apple Application Support (iTunes 9 or later)
    Follow the instructions from Apple article listed here: http://support.apple.com/kb/HT1923 to remove all components
    3. Reboot your computer. Next, download iTunes from here:http://www.apple.com/itunes/download/ and install from scratch

  • My pc (vista) display the following: An error ocurred during assembly policy 8.0 microsoft VC80,CRT,type = win32 policy version. What can I do?

    I have Windows Vista, when I tried to install iTunes, the following error pops up:
    "An error ocurred during the installation of assembly policy 8.0 microsoft VC80.CRT. Win32 policy version"
    What can I do to complete the installation?
    Thanks in advance!

    "An error ocurred during the installation of assembly policy 8.0 microsoft VC80.CRT. Win32 policy version"
    These ones are typically caused by underlying problems on the PC that also often cause Windows Updates to fail to install. If we can fix the Windows Update trouble, we can usually get the iTunes trouble cleaned up en passant.
    Go into your Windows update and try to check for new updates. If updates install, stock up on the ones you're behind on, restarting the PC if requested to do so. After the restart, try installing iTunes again. Does it go through this time for you?
    If windows updates fail to install, go into your Update History and doubleclick the failures. What alphanumeric codes appear for you? (For example, 8007000B.)

  • I am trying to download the mountain lion software which I purchased and downloaded successfully in my air book, in to my desktop and I get an error 403 message saying that an server error ocurred during downloading

    I am trying to download the mountain lion software which I purchased and downloaded successfully in my air book, in to my desktop and I get an error 403 message saying that an server error ocurred during downloading

    Implies that the DL is hosed and necessitating DLing it again.

  • Please can somebody help me? My imessage does not work, I try to activate it but it says an error ocurred during activation. try again  :(

    Please can somebody help me? My imessage does not work, I try to activate it but it says an error ocurred during activation. try again 

    Its possible that the server can be down now. Have you ever used it before?  If you want, try resseting the phone by just holding the sleep/wake key and the home button together for 10 seconds.  Then wait 5 seconds when it turns off and press the sleep/wake button to turn it back on.  Then try it again.  Let me know what the results are.

  • An error ocurred during the installation of assambly

    trying to install the new itune have the older one just got the 4S but cant use it on my curent itune have an error ocurred during the installation of assambly it what it says and then back tracks and stops

    These ones are typically caused by underlying problems on the PC that also often cause Windows Updates to fail to install. If we can fix the Windows Update trouble, we can usually get the iTunes trouble cleaned up en passant.
    Go into your Windows update and try to check for new updates. If updates install, stock up on the ones you're behind on, restarting the PC if requested to do so. After the restart, try installing iTunes again. Does it go through this time for you?
    If windows updates fail to install, go into your Update History and doubleclick the failures. What alphanumeric codes appear for you? (For example, 8007000B.)

  • HT201210 I can't update my iphone ios from 5 to 6. I recieve a message as " an error ocurred during instalation". What should I do?

    I can't update my iphone's ios from 5 to 6. I recieve a message as " an error ocurred during installation. what should I do?

    http://support.apple.com/kb/TS3694  See  your error code and resolution in the link provided.

  • Error ocurred during initialization of VM. Unable to load native library...

    Hi,
    I´m trying to install Oracle 9i on a PC with Suse 9.2.
    when I put the first CD it comes with this error:
    Initializing Java Virtual Machine from /tmp/OraInstall2006-05-04_11-13-11PM/jre/bin/java. Please wait...
    Error occurred during initialization of VM
    Unable to load native library: /tmp/OraInstall2006-05-04_11-13-11PM/jre/lib/i386/libjava.so: symbol __libc_wait, version GLIBC_2.0 not defined in file libc.so.6 with link time reference
    I´ve seen that there was a similar issue in 2004 and I´ve trying to do what it says but it didn´t work this time.
    Unable to load native library:
    Could everyone help me to install Oracle??? I´ve been trying it for a few days and doesn´t work.
    Regards,

    I had same problems long time ago. Ok, I try to remember.
    First I read the recommandation. You need a special GLIBC-Library to support the JAVA 1.1.8 runtime environment.
    Some of the Oracle9i tools are compiled with gcc 2.95 compiler.
    You may need ”gcc_old for SLES9” for linking of those tools.
    gcc_old-2.95.3-175.2.i586.rpm is included in SLES 9 SP2 CD1
    For Suse you can obtain a package called orarun. You will get further support for installing, starting and stopping ORACLE. Please look at http://ftp.novell.com/partners/oracle/docs/9205_sles9_install.pdf.
    Good luck.

  • Xperia Z - Error Ocurred During Tethering

    I can't get tethering working, when I turn it on i get a message 'an error occurred during tethering' i can still connect my laptop to the phone's wifi hotspot but only get local access..I am on Ornage UKYes they support tetheringYes mobile data is switched onAnyon got a clue? There seem to be a lot of people on Sony Xperia phones with the same problem ???Thanks ....

    Samuel wrote:
    Take a look at this thread, seems to be a similar issue: http://talk.sonymobile.com/thread/132256      What are your thoughts about this forum? Let us know by doing this short survey.Actually it shows the error ''Error occurred during tethering''. I don't even know how this has been overlook, they  just had to activate the tethering and the error will pop right up no matter what. No wonder the lollipop on Z/ZR/ZL is filled with bugs.

  • Error ocurred during capture: Bigger type length than Maximum

    Hi,
    I am working on a migration project from mysql 5.1 to oracle 9i. I have got everything setup as mentioned in the installation file (jdk1.5.0_22, mysql-connector-java-5.0.4, sql developer 1.5.3). I have tried the latest version 1.5.5 and 2.1 as well which doesn't seem to work either.
    I have done the suggested changes in the forum specifically talking about this issue. They relate it to the jdbc.library not pointing to the current directory where sqldeveloper is installed but this is without the jdk so I guess that should not be case for this error. I have tested with all possible combinations; like with jdk and pointing the jdbc.library to the directory where sqldeveloper is installed. I have also tried the ORACLE_HOME = %CD%. I really need help on this one. I am quite not able to understand the root cause of this error and if it relates to jdbc, I have got the proper versions set.
    Any ideas would be really appreciated.
    I have attached the current property settings of the installation....
    java.awt.graphicsenv     sun.awt.Win32GraphicsEnvironment
    java.awt.printerjob     sun.awt.windows.WPrinterJob
    java.class.path     ..\..\ide\lib\ide-boot.jar
    java.class.version     49.0
    java.endorsed.dirs     D:\Program Files\Java\jdk1.5.0_22\jre\lib\endorsed
    java.ext.dirs     D:\Program Files\Java\jdk1.5.0_22\jre\lib\ext
    java.home     D:\Program Files\Java\jdk1.5.0_22\jre
    java.io.tmpdir     C:\Temp\1\
    java.library.path     C:\Program Files\sqldeveloper;.;C:\WINDOWS\system32;C:\WINDOWS;E:\oracle\ora90\bin;E:\oracle\ora92\jre\1.4.2\bin\client;E:\oracle\ora92\jre\1.4.2\bin;E:\oracle\ora92\bin;C:\Program Files\Oracle\jre\1.3.1\bin;E:\oracle\ora90IDS\bin;E:\oracle\ora90IDS\jre\1.3.1\bin;E:\oracle\ora90IDS\jre\1.4.0\bin;C:\Program Files\Oracle\jre\1.1.8\bin;E:\oracle\ora102\bin;E:\ODI\OStore\bin;C:\Program Files\Windows Resource Kits\Tools\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\HITACHI\DynamicLinkManager\bin;C:\Program Files\HITACHI\DynamicLinkManager\lib;C:\Program Files\Common Files\Hitachi;e:\util;E:\Program Files\IBM\Director\bin;C:\Program Files\Common Files\IBM\ICC\cimom\bin;C:\Program Files\Windows Imaging\
    java.naming.factory.initial     oracle.javatools.jndi.LocalInitialContextFactory
    java.runtime.name     Java(TM) 2 Runtime Environment, Standard Edition
    java.runtime.version     1.5.0_22-b03
    java.specification.name     Java Platform API Specification
    java.specification.vendor     Sun Microsystems Inc.
    java.specification.version     1.5
    java.util.logging.config.file     logging.conf
    java.vendor     Sun Microsystems Inc.
    java.vendor.url     http://java.sun.com/
    java.vendor.url.bug     http://java.sun.com/cgi-bin/bugreport.cgi
    java.version     1.5.0_22
    java.vm.info     mixed mode
    java.vm.name     Java HotSpot(TM) Client VM
    java.vm.specification.name     Java Virtual Machine Specification
    java.vm.specification.vendor     Sun Microsystems Inc.
    java.vm.specification.version     1.0
    java.vm.vendor     Sun Microsystems Inc.
    java.vm.version     1.5.0_22-b03
    jdbc.driver.home     /E:/oracle/ora102/
    jdbc.library     /E:/oracle/ora102/jdbc/lib/ojdbc14.jar
    line.separator     \r\n
    oracle.home     C:\Program Files\sqldeveloper
    oracle.ide.util.AddinPolicyUtils.OVERRIDE_FLAG     true
    oracle.translated.locales     de,es,fr,it,ja,ko,pt_BR,zh_CN,zh_TW
    oracle.xdkjava.compatibility.version     9.0.4
    orai18n.library     /E:/oracle/ora102/jlib/orai18n.jar
    os.arch     x86
    os.name     Windows 2003
    os.version     5.2
    path.separator     ;
    reserved_filenames     con,aux,prn,lpt1,lpt2,lpt3,lpt4,lpt5,lpt6,lpt7,lpt8,lpt9,com1,com2,com3,com4,com5,com6,com7,com8,com9,conin$,conout,conout$
    sun.arch.data.model     32
    sun.boot.class.path     D:\Program Files\Java\jdk1.5.0_22\jre\lib\rt.jar;D:\Program Files\Java\jdk1.5.0_22\jre\lib\i18n.jar;D:\Program Files\Java\jdk1.5.0_22\jre\lib\sunrsasign.jar;D:\Program Files\Java\jdk1.5.0_22\jre\lib\jsse.jar;D:\Program Files\Java\jdk1.5.0_22\jre\lib\jce.jar;D:\Program Files\Java\jdk1.5.0_22\jre\lib\charsets.jar;D:\Program Files\Java\jdk1.5.0_22\jre\classes
    sun.boot.library.path     D:\Program Files\Java\jdk1.5.0_22\jre\bin
    sun.cpu.endian     little
    sun.cpu.isalist     
    sun.desktop     windows
    sun.io.unicode.encoding     UnicodeLittle
    sun.java2d.ddoffscreen     false
    sun.jnu.encoding     Cp1252
    sun.management.compiler     HotSpot Client Compiler
    sun.os.patch.level     Service Pack 2

    Elizabeth,
    I'm not in the exact same circumstance (doing a migration) but getting the exact same error while trying to use SQL Developer to retrieve MySQL data (select * from table@mysql_link) using the DG4ODBC gateway (Oracle Database Gateway for ODBC).
    It sounds like you've found some forum threads here that talk about this error. That's more than I've been able to find, with the exception of yours. Would you mind pointing me to one or two of those? A search here only turns up your thread for me. Thanks!
    Earl

  • An Error Occurred during iMessage and FaceTime Activation. I've tried everything. New iPad.

    Hey guys. I know there are tons of threads of this, but none help me out. I just bought a new iPad and am trying to set up iMessage and FaceTime. I use both on my MacBook Pro and iPhone. I have-
    Made sure I'm on automatic time
    changed the D.N.S. to 8.8.8.8 and 8.8.4.4
    Hard reset
    Reset settings
    Restore through iTunes
    Please help. This is very annoying and un-apple. Thanks in advance!

    I'm having the same problem!  I can sign in FaceTime and iMessage just fine via my MacBook Pro, but just set up my BRAND NEW ipad and keep getting the "An error ocurred during activation.  Try again." error.    BOOOOO!  What's up with this Apple?

  • TS3694 i was doing update on my apple iphone 3g 8gb during update an error ocured namely 1015. and when i was doing restoration of my previous software version once again error ocured namely 1015

    i was doing update on my apple iphone 3g 8gb during update an error ocured namely 1015. and when i was doing restoration of my previous software version once again error ocured namely 1015.
    and 2nd i have downloaded few free apps like face book twitter etc on my itunes but when iam installing them to my iphone its not installing i dont know why plz help me to install them thanks

    Errors related to downgrading iOS
    The required resource cannot be found: This alert message occurs when your device has a newer version of iOS than what is available in iTunes. When troubleshooting a device that presents this alert message, go to Settings > General > About and check the version of iOS on the device. If it is newer than the latest released iOS version, the device may have a prerelease developer version of iOS installed. Installing an older version of iOS over a newer version is not supported.
    Error 1015: This error is typically caused by attempts to downgrade the iPhone, iPad, or iPod touch's software. This can occur when you attempt to restore using an older .ipsw file. Downgrading to a previous version is not supported. To resolve this issue, attempt to restore with the latest iPhone, iPad, or iPod touch software available from Apple. This error can also occur when an unauthorized modification of the iOS has occurred and you are now trying to restore to an authorized, default state.
    Maybe you phone has been jailbroken

  • Latest update returns error " None of the selected updates could be installed. The update could not be expanded, and may have been corrupted during downloading. The update will be downloaded and checked again the next time that Software Update runs."

    Latest update returns error " None of the selected updates could be installed. The update could not be expanded, and may have been corrupted during downloading. The update will be downloaded and checked again the next time that Software Update runs."

    Which latest update? Details get answers. Rather than using SU, DL and install from http://support.apple.com/downloads/.

  • RC-00118: Error occurred during creation of database

    adcrdb.sh started at Mon Nov 14 16:16:13 EAT 2011
    The environment settings are as follows ...
    ORACLE_HOME : /u04/d01/tech_st/11.2.0
    ORACLE_SID : JCLONE
    TWO_TASK :
    PATH : /usr/bin:/u04/d01/tech_st/11.2.0/bin:/usr/bin:/usr/sbin:/u0 4/d01/tech_st/11.2.0/jdk/bin:/usr/ccs/bin:/bin:/usr/bin/X11:/usr/local/bin:/u04/ d01/tech_st/11.2.0/appsutil/clone/bin/../jre/jre/bin:/usr/lib/qt-3.3/bin:/usr/ke rberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbi n:/usr/bin:/usr/X11R6/bin:/root/bin:.
    LD_LIBRARY_PATH : /u04/d01/tech_st/11.2.0/lib:/usr/X11R6/lib:/usr/openwin/lib :/u04/d01/tech_st/11.2.0/ctx/lib
    Executable : /u04/d01/tech_st/11.2.0/bin/sqlplus
    The log information will be written to
    /u04/d01/tech_st/11.2.0/appsutil/log/JCLONE_oracle/adcrdb_JCLONE.txt
    Creating the control file for JCLONE_oracle database ...
    SQL*Plus: Release 11.2.0.2.0 Production on Mon Nov 14 16:16:13 2011
    Copyright (c) 1982, 2010, Oracle. All rights reserved.
    Connected to an idle instance.
    ORACLE instance shut down.
    Connected to an idle instance.
    ORACLE instance started.
    Total System Global Area 1071333376 bytes
    Fixed Size 1348968 bytes
    Variable Size 427821720 bytes
    Database Buffers 629145600 bytes
    Redo Buffers 13017088 bytes
    CREATE CONTROLFILE REUSE SET DATABASE "JCLONE"
    ERROR at line 1:
    ORA-01503: CREATE CONTROLFILE failed
    ORA-01159: file is not from same database as previous files - wrong database id
    ORA-01110: data file 1: '/u04/d01/apps_st/data/system01.dbf'
    alter database open resetlogs
    ERROR at line 1:
    ORA-01507: database not mounted
    alter tablespace TEMP add tempfile '/u04/d01/apps_st/data/temp01.dbf' REUSE
    ERROR at line 1:
    ORA-01109: database not open
    ALTER DATABASE RENAME GLOBAL_NAME TO "JCLONE.jtl.co.ke"
    ERROR at line 1:
    ORA-01109: database not open
    ORA-01507: database not mounted
    ORACLE instance shut down.
    Connected to an idle instance.
    ORACLE instance started.
    Total System Global Area 1071333376 bytes
    Fixed Size 1348968 bytes
    Variable Size 427821720 bytes
    Database Buffers 629145600 bytes
    Redo Buffers 13017088 bytes
    Database mounted.
    BEGIN dbms_backup_restore.zeroDbid(0); END;
    ERROR at line 1:
    ORA-01119: error in creating database file
    '/u04/d01/tech_st/11.2.0/dbs/MISSING00015'
    ORA-27037: unable to obtain file status
    Linux Error: 2: No such file or directory
    Additional information: 3
    ORA-06512: at "SYS.X$DBMS_BACKUP_RESTORE", line 4754
    ORA-06512: at line 1
    ORACLE instance shut down.
    Connected to an idle instance.
    ORACLE instance started.
    Total System Global Area 1071333376 bytes
    Fixed Size 1348968 bytes
    Variable Size 427821720 bytes
    Database Buffers 629145600 bytes
    Redo Buffers 13017088 bytes
    CREATE CONTROLFILE REUSE SET DATABASE "JCLONE"
    ERROR at line 1:
    ORA-01503: CREATE CONTROLFILE failed
    ORA-01159: file is not from same database as previous files - wrong database id
    ORA-01110: data file 1: '/u04/d01/apps_st/data/system01.dbf'
    alter database open resetlogs
    ERROR at line 1:
    ORA-01507: database not mounted
    alter tablespace TEMP add tempfile '/u04/d01/apps_st/data/temp01.dbf' REUSE
    ERROR at line 1:
    ORA-01109: database not open
    ALTER DATABASE RENAME GLOBAL_NAME TO "JCLONE.jtl.co.ke"
    ERROR at line 1:
    ORA-01109: database not open
    Error Running create/replace library with adupdlib.sql
    ORA-01109: database not open
    PL/SQL procedure successfully completed.
    File created.
    Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - Pr oduction
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    exit_code=0
    Checking for errors ...
    The database has not been successfully created. Shutting down the instance ...
    SQL*Plus: Release 11.2.0.2.0 Production on Mon Nov 14 16:16:32 2011
    Copyright (c) 1982, 2010, Oracle. All rights reserved.
    Connected.
    ORACLE instance shut down.
    Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - Pr oduction
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    .end std out.
    .end err out.
    ADX Database Utility
    getConnectionUsingAppsJDBCConnector() -->
    APPS_JDBC_URL='null'
    Trying to get connection using SID based connect descriptor
    getConnection() -->
    sDbHost : oracle
    sDbDomain : jtl.co.ke
    sDbPort : 1524
    sDbSid : JCLONE
    sDbUser : apps
    Trying to connect using SID...
    getConnectionUsingSID() -->
    JDBC URL: jdbc:oracle:thin:@oracle.jtl.co.ke:1524:JCLONE
    Exception occurred: java.sql.SQLException: IO Error: The Network Adapter cou ld not establish the connection
    Trying to connect using SID as ServiceName
    getConnectionUsingServiceName() -->
    JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=oracle .jtl.co.ke)(PORT=1524))(CONNECT_DATA=(SERVICE_NAME=JCLONE)))
    Exception occurred: java.sql.SQLException: IO Error: The Network Adapter cou ld not establish the connection
    Trying to connect using SID as ServiceName.DomainName
    getConnectionUsingServiceName() -->
    JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=oracle .jtl.co.ke)(PORT=1524))(CONNECT_DATA=(SERVICE_NAME=JCLONE.jtl.co.ke)))
    Exception occurred: java.sql.SQLException: IO Error: The Network Adapter cou ld not establish the connection
    Connection could not be obtained; returning null
    -------------------ADX Database Utility Finished---------------
    RC-00118: Error occurred during creation of database
    Raised by oracle.apps.ad.clone.ApplyDatabase
    StackTrace:
    java.lang.Exception: Control file creation failed
    at oracle.apps.ad.clone.ApplyDatabase.<init>(ApplyDatabase.java:661)
    at oracle.apps.ad.clone.ApplyDatabase.<init>(ApplyDatabase.java:328)
    at oracle.apps.ad.clone.ApplyDatabase.<init>(ApplyDatabase.java:304)
    at oracle.apps.ad.clone.ApplyDBTier.<init>(ApplyDBTier.java:154)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct orAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC onstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:501)
    at oracle.apps.ad.clone.util.CloneProcessor.run(CloneProcessor.java:68)
    at java.lang.Thread.run(Thread.java:595)
    Current database Version is 11.2.0.2
    Apps Version is 11.5.10.2
    RUP version is 6
    Forms Patchset version is 19
    Please advise how to resolve this error ?
    Regards
    Mohammed.

    Please refer to these docs/links.
    Troubleshooting RapidClone issues with Oracle Applications 11i [ID 364565.1]
    Adcfgclone.pl DBTier is failing with error for dbms_backup_restore.zeroDbid(0) [ID 361157.1]
    https://forums.oracle.com/forums/search.jspa?threadID=&q=ORA-01503+AND+ORA-01159+AND+ORA-01110&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    Thanks,
    Hussein

  • Excel SSAS Tabular error: An error occurred during an attempt to establish a connection to the external data source

    Hello there,
    I have an Excel report I created which works perfectly fine on my dev environment, but fails on my test environment when I try to do a data refresh.
    The key difference between both dev and test environments is that in dev, everything is installed in one server:
    SharePoint 2013
    SQL 2012: Database Instance, SSAS Instance, SSRS for SharePoint, SSAS POWERPIVOT instance (Powerpivot for SharePoint).
    In my test and production environments, the architecture is different:
    SQL DB Servers in High Availability (irrelevant for this report since it is connecting to the tabular model, just FYI)
    SQL SSAS Tabular server (contains a tabular model that processes data from the SQL DBs).
    2x SharePoint Application Servers (we installed both SSRS and PowerPivot for SharePoint on these servers)
    2x SharePoint FrontEnd Servers (contain the SSRS and PowerPivot add-ins).
    Now in dev, test and production, I can run PowerPivot reports that have been created in SharePoint without any issues. Those reports can access the SSAS Tabular model without any issues, and perform data refresh and OLAP functions (slicing, dicing, etc).
    The problem is with Excel reports (i.e. .xlsx files) uploaded to SharePoint. While I can open them, I am having a hard time performing a data refresh. The error I get is:
    "An error occurred during an attempt to establish a connection to the external data source [...]"
    I ran SQL Profiler on my SSAS Server where the Tabular instance is and I noticed that every time I try to perform a data refresh, I get the following entries:
    Every time I try to perform a data refresh, two entries under the user name ANONYMOUS LOGON.
    Since things work without any issues on my single-server dev environment, I tried running SQL Server Profiler there as well to see what I get.
    As you can see from the above, in the dev environment the query runs without any issues and the user name logged is in fact my username from the dev environment domain. I also have a separated user for the test domain, and another for the production domain.
    Now upon some preliminary investigation I believe this has something to do with the data connection settings in Excel and the usage (or no usage) of secure store. This is what I can vouch for so far:
    Library containing reports is configured as trusted in SharePoint Central Admin.
    Library containing data connections is configured as trusted in SharePoint Central Admin.
    The Data Provider referenced in the Excel report (MSOLAP.5) is configured as trusted in SharePoint Central Admin.
    In the Excel report, the Excel Services authentication settings is set as "use authenticated user's account". This wortks fine in the DEV environment.
    Concerning SecureStore, PowerPivot Configurator has configured it the PowerPivotUnnattendedAccount application ID in all the environments. There is
    NO configuration of an Application ID for Excel Services in any of the environments (Dev, test or production). Altough I reckon this is where the solution lies, I am not 100% sure as to why it fails in test and prod. But as I read what I am
    writing, I reckon this is because of the authentication "hops" through servers. Am I right in my assumption?
    Could someone please advise what am I doing wrong in this case? If it is the fact that I am missing an Secure Store entry for Excel Services, I am wondering if someone could advise me on how to set ip up? My confusion is around the "Target Application
    Type" setting.
    Thank you for your time.
    Regards,
    P.

    Hi Rameshwar,
    PowerPivot workbooks contain embedded data connections. To support workbook interaction through slicers and filters, Excel Services must be configured to allow external data access through embedded connection information. External data access is required
    for retrieving PowerPivot data that is loaded on PowerPivot servers in the farm. Please refer to the steps below to solve this issue:
    In Central Administration, in Application Management, click Manage service applications.
    Click Excel Services Application.
    Click Trusted File Location.
    Click http:// or the location you want to configure.
    In External Data, in Allow External Data, click Trusted data connection libraries and embedded.
    Click OK.
    For more information, please see:
    Create a trusted location for PowerPivot sites in Central Administration:
    http://msdn.microsoft.com/en-us/library/ee637428.aspx
    Another reason is Excel Services returns this error when you query PowerPivot data in an Excel workbook that is published to SharePoint, and the SharePoint environment does not have a PowerPivot for SharePoint server, or the SQL Server Analysis
    Services (PowerPivot) service is stopped. Please check this document:
    http://technet.microsoft.com/en-us/library/ff487858(v=sql.110).aspx
    Finally, here is a good article regarding how to troubleshoot PowerPivot data refresh for your reference. Please see:
    Troubleshooting PowerPivot Data Refresh:
    http://social.technet.microsoft.com/wiki/contents/articles/3870.troubleshooting-powerpivot-data-refresh.aspx
    Hope this helps.
    Elvis Long
    TechNet Community Support

Maybe you are looking for

  • Espn videos won't play

    Hi. any videos on espn won't play for me. I can watch youtube videos, NHL.com, NFL.com videos, etc. but not on espn. I have the latest version of shockwave. What happens is I get either an image instead of the video or just a black screen. If I right

  • Changing Batch Level from Material Level to Plant Level.

    I want to create the batch class with the class code 22 instead of 23. As the batch class is maintained at the Material Level, not at the Plant Level. So is it possible to change the batch class from Material to Plant Level and create batch class wit

  • Creating new OLap Variable

    Hi Experts, I want to create a new variable for using at data extractions. How can I do that, I tried it at CMOD but I couldn't see my variable at the OLAP Variables list how can I see it in the list ?

  • Confirmation ending in Awaiting for Approval Status

    Hi Experts, The Confirmation of Goods receipt was working fine till last month. Now For some PO's Confirmation is going to Awaiting for Approval status this is happening only for few PO's and for others PO's Confirmation is happening properly and the

  • What is the best way to backup my computer before upgrading from OSX 10.5.8 to 10.6?

    What is the best way to backup my computer before upgrading from OSX 10.5.8 to 10.6? I just purchased a WD portable external hard drive.