External Data Refresh Failed. We cannot locate a server to load the workbook Data Model. ThisWorkBookDataModel

Hi All,
I have been trying to fix this for days now. I have tried solutions in many articles but to no avail. So while the error message is something you may have seen may times, I just can't find a solution in my case.
This is the error:
And in text just in case the image isn't viewable:
"External Data Refresh Failed. We cannot locate a server to load the workbook Data Model. We were unable to refresh one or more data connections in this workbook. The following connections failed to refresh: ThisWorkBookDataModel."
What is worse is I have checked the ULS (SharePoint Trace Logs), the Event Viewer Logs and the OWA Logs and I cannot find a specific error that would help pin point the problem.
Excel Workbook
So what am I doing? I have an Excel 2013 workbook and I create an "SQL Server" connection to the AdventureWorksDW database, add a pivot table and a pivot chart, test in in Excel and all works fine.
I save the Excel workbook to SharePoint 2013 and then select "Data" then "Refresh All Connections" and then I get the error in the picture above.
Even more puzzling is I have another Excel workbook that also has pivot tables and pivot charts in the AdventureWorksDW2012Multidimensional cube database in "SQL Analysis Services" and this works fine. Hmmm.
My Environment
My environment is Windows 2008 R2 Server, SharePoint 2013 with the April Service Pack1 and a separate server with OWA2013 SP1. It has an SQL Server 2008 R2 database which has been upgraded to SQL Server 2012.
Data Model Settings
In Excel Services this is set to my server name which is "server-name". As I do not have instances all I can enter is the server name. As this works everywhere else including the workbook outside of SharePoint I do not think this is the problem.
But I could be wrong.
Unattended Account
I have set this up for the PowerPivot Services App and Excel Services App.
ODC Connections in Excel
I have tried all 3 authentication modes, Windows, Secure Store ID and "None" which is the unattended account. I have not tried the other connection types, should I?
Not in WOPI
I am not in WOPI mode.
AD Accounts
I have added permissions in the SharePoint Services and SQL Server, and as they work in Excel outside of SharePoint, I do not think it is a permissions issue. I could be wrong of course, but the problem is in one of SharePoint, OWA, AD,
SQL Server, Excel, and Windows Server.
Isolate the Error
Below is a list of errors I think are relevant but they do not tell me much. The SharePoint logs are not really giving me an error that tells me what to do and where to do it, or even why it cannot refresh, (perhaps not noticeable by the untrained eye).
Problem with SQL Server Not Analysis Services
So my cube database in analysis services works fine in SharePoint/OWA but not the databases in sql server. This is my best clue but I have no idea what it means. Why would it work with an Analysis Services connection but not an "SQL Server" connection?
It Works Outside of SharePoint
If I run the excel worksheet outside of SharePoint all works fine. When inside OWA this is where the refresh error occurs.
Errors from Event Viewer on SharePoint Server using ULS Viewer
"Failed to create an external connection or execute a query. Provider message: There are no servers available or actively being initialized., ConnectionName: , Workbook:"
"Refresh failed for 'ThisWorkbookDataModel' in the workbook 'http://server...'. [Session: 1.V22.26itT0lx8piNFeqtuGVhN214.5.en-US5.en-US36.98c0e158-9113-46e9-850e-edda81d9ed1c1.A1.N User: 0#.w|ad\testuser1]"
And an error in the ULS under the "Data Model" category:
"--> Check Deployment Mode (server-name): Fail (Expected: SharePoint, Actual: Multidimensional)."
This last error, as it turned out, defined the problem concisely, although I was yet to work out what it meant in some detail.

I finally solved this myself (or should I say with the help of several key articles).
The refresh did not work because the database was not in "SharePoint Mode". Yes, SQL Server has modes, 3 of them in fact.
If you installed SharePoint to the default SQL instance which would be called <servername> then you cannot use this default instance for Excel 2013 workbooks in OWA 2013 because the refresh only works if the database is in SharePoint mode.
So what are these 3 modes? The Deployment Mode property in the msmdsrv.ini file has them as:
0 = Multidimensional mode (the default whenever you install SQL Server normally)
1 = PowerPivot for SharePoint mode
2 = Tabular mode mode
How do you know what mode you are in? That's easy, open SQL Studio Manager and connect to all your SQL database engine instances (ignore Analysis Services or SSRS as they are not database engines). If you only have the default instance then that is almost
definately in Multidimensional mode which is the default and what SharePoint installs its databases to.
You must have an instance called <servername>\POWERPIVOT. This instance is the "sharepoint mode" needed, and the default instance name when you install an SQL instance in this mode.
If you don't see <servername>\POWERPIVOT in SQL server then you are not in "sharepoint mode". It is more accurate to say, you do not have an instance that is in sharepoint mode. This is because you cannot simply switch modes on an SQL server.
You have to install a new instance in the required mode, thats the only way.
That's easy enough. Load up the SQL Server setup CD and run setup. Install a brand new instance and select "SQL Server PowerPivot for SharePoint" when you get there in the wizard.
Now you will have the default instance that stores all the SharePoint databases and that is in mode 0, and a new instance called <servername>\POWERPIVOT that is in mode 1. The "<servername>\POWERPIVOT" instance connection is what you
will use for Excel 2013 when rendering in OWA 2013.
You also need to ensure OWA 2013 is not in WOPI mode for Excel worksheets. See the last link below for more information about WOPI.
Next you should go to the Excel Service App in CA and click Data Model Settings and add the <servername>\POWERPIVOT instance.
Then you have to either turn off the firewall on the SQL server machine, or create an inbound rule on the Windows firewall to open the TCP port for the <servername>\POWERPIVOT instance:
1. Start Task Manager and then click Services to get the PID of the MSOLAP$InstanceName.
2. Run netstat –ao –p TCP from the command line to view the TCP port information for that PID.
Finally, you can now create Excel 2013 workbooks that run in OWA without refresh errors, as long as you are connecting to the <servername>\POWERPIVOT instance. Hooray.
REFERENCES
Look for the string "There are no servers available or actively being initialized" in this article:
http://blogs.msdn.com/b/analysisservices/archive/2012/08/02/verifying-the-excel-services-configuration-for-powerpivot-in-sharepoint-2013.aspx
Determine the server mode:
http://msdn.microsoft.com/en-au/library/gg471594(v=sql.110).aspx
Install the SharePoint PowerPivot instance (aka SharePoint mode)
http://msdn.microsoft.com/en-au/library/eec38696-5e26-46fa-bc83-aa776f470ce8(v=sql.110)
Open the port for the new SQL instance:
http://msdn.microsoft.com/en-us/library/ms174937(v=sql.110).aspx
Turn Off WOPI for Excel OWA
http://blogs.technet.com/b/excel_services__powerpivot_for_sharepoint_support_blog/archive/2013/01/31/powerpivot-for-sharepoint-browser-refresh-fails-data-refresh-not-supported-in-office-web-apps.aspx

Similar Messages

  • PowerPivot Data Refresh Fails - We cannot locate a server to load the workbook Data Model

    Hello,
    I have installed sql01\PowerPivot instance of Analysis services on my existing SQL Server and configured it per Configure Power Pivot for SharePoint 2013
    http://technet.microsoft.com/en-us/library/dn456880(v=office.15).aspx . I did not install a second Database Engine on the server.
    I created an Excel 2013 workbook using the Excel 2013 PowerPivot add-in and saved it to my SharePoint BI Center Document library.
    When I try to refresh my workbook, I get 2 errors in the SharePoint log.
    http://support.microsoft.com/kb/2756665?wa=wsignin1.0 indicates the sproc is deprecated, but that does not help me fix the issue.
    Log errors:
    Following error occured while trying to execute a sql query: System.Data.SqlClient.SqlException (0x80131904):
    Could not find stored procedure 'DataRefresh.GetSchedule'.
    EXCEPTION: NoAvailableStreamingServerException: We cannot locate a server to load the workbook Data Model.
    macrel

    Hi Marcel,
    Based on my research, it seems that you have Microsoft SQL Server 2012 PowerPivot for SharePoint 2013 add-in installed on a computer. When you perform a data refresh operation on some PowerPivot workbooks in Microsoft SharePoint 2013, you receive two error
    message.
    As to the first error, this issue occurs because the Custom Properties on the Excel workbook are not correctly cleared before you set a new serialized schedule. This causes an extra custom property to remain after you set the new schedule. Therefore, the
    new schedule fails. To fix this issue, please
    install Cumulative Update 9 for SQL Server 2012 SP1.
    As to the second error, please
    running a repair using PowerPivot configuration wizard for SharePoint 2013. For more information about Troubleshooting PowerPivot Data Refresh, please see: 
    http://social.technet.microsoft.com/wiki/contents/articles/troubleshooting-powerpivot-data-refresh.aspx
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Data Refresh Error: We cannot locate a server to load the workbook Data Model.

    Hello,
    Recently I have developed a PowerBI Report using Excel Workbook with external data source. It refreshes successfully for some days and then starts throwing error on every scheduled refresh as "We cannot locate a server to load the workbook Data
    Model." 
    The workaround solution is to restart the application server which has SQL Server Power Pivot Services Installed which will again work for some more days and again start throwing error.
    So, I am looking for permanent fix for it.
    Following are additional details about our SP Farm:
    No. of front end servers: 2, Application servers:2, DB servers 2 with windows fail over cluster.
    PowerPivot Server is installed and configured from App 2 server.
    Error Log from event viewer:
    Unable to load custom data source provider type: Microsoft.PerformancePoint.Scorecards.DataSourceProviders.AdomdDataSourceProvider, Microsoft.PerformancePoint.Scorecards.DataSourceProviders.Standard, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c
    System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.AnalysisServices.AdomdClient, Version=10.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its dependencies. The system cannot find the file specified.
    File name: 'Microsoft.AnalysisServices.AdomdClient, Version=10.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91'
       at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMarkHandle stackMark, IntPtr pPrivHostBinder, Boolean loadTypeFromPartialName, ObjectHandleOnStack type)
       at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean loadTypeFromPartialName)
       at System.Type.GetType(String typeName, Boolean throwOnError)
       at Microsoft.PerformancePoint.Scorecards.Server.PmServer.InitializeCustomDataSourceProviders()
    PerformancePoint Services error code 10107.
    Thanks,
    Ibrahim

    Hi ibrahim,
    Please try to do the following steps:
    1. Install "1033\x64\SQLSERVER2008_ASADOMD10.msi" from
    http://www.microsoft.com/en-us/download/details.aspx?id=26728
    2. In the Application Management section of the Central Administration home page, click Manage service applications.
    On the Manage Service Applications page, click the Excel Services service application that you want to configure.
    On the Manage Excel Services page, click Data Model.Click Add Server.
    In the Server Name box, type the name of the Analysis Services instance that you want to add.
    3. Check the thread below:
    https://social.technet.microsoft.com/Forums/en-US/ecc18319-88d8-4dd0-bafd-fa0d2edceffb/external-data-refresh-failed-we-cannot-locate-a-server-to-load-the-workbook-data-model?forum=sharepointadmin
    More information:
    https://timpanariuovidiu.wordpress.com/2013/02/14/71/
    https://support.microsoft.com/kb/2769345?wa=wsignin1.0
    Thanks,
    Dennis Guo
    TechNet Community Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Dennis Guo
    TechNet Community Support

  • External Data Refresh failed - Unable to refresh list data in Excel Web Access WebPart

    Hi,
    I have created a PivotChart in Excel workbook that fetches data from a SharePoint list using "OData Data Feed". When refreshing the connection in Excel 2013, the updated data is displayed in PivotChart. But when i upload the same to a SharePoint
    Library and refresh it through Excel Web Access WebPart, it throws an error.
    After configuring PowerPivot for SharePoint, i am getting a "We cannot locate a server to load the Data Model" error.
    Note -
    SQL Analysis Service(PowerPivot) is in running state.
    PowerPivot Server has been under Data Model in Excel Service setting.
    The library location is added in trusted zone.
    Using secure store didn't fix the issue.
    Stack Exception
    SSPM: Initialization failed on server : Microsoft.AnalysisServices.ConnectionException: A connection cannot be made. Ensure that the server is running. ---> System.Net.Sockets.SocketException: No connection could be made because the target machine actively
    refused it 127.0.0.1:2383 
        at System.Net.Sockets.TcpClient..ctor(String hostname, Int32 port) 
        at Microsoft.AnalysisServices.XmlaClient.GetTcpClient(ConnectionInfo connectionInfo)     --- End of inner exception stack trace --- 
        at Microsoft.AnalysisServices.XmlaClient.GetTcpClient(ConnectionInfo connectionInfo) 
        at Microsoft.AnalysisServices.XmlaClient.OpenTcpConnection(ConnectionInfo connectionInfo) 
        at Microsoft.AnalysisServices.XmlaClient.OpenConnection(ConnectionInfo connectionInfo, Boolean& isSessionTokenNeeded) 
        at Microsoft.AnalysisServices.XmlaClient.Connect(ConnectionInfo connectionInfo, Boolean beginSession) 
        at Microsoft.AnalysisServices.Server.Connect(String connectionString, String sessionId, ObjectExpansion expansionType) 
        at Microsoft.AnalysisServices.Streaming.OnPremise.Server.Connect(Nullable`1 ctx, Boolean schedulePingTaskOnFailure) 
        at Microsoft.AnalysisServices.Streaming.OnPremise.Server.Initialize(Guid serviceId, CancellationToken ctx) 
        at Microsoft.AnalysisServices.Streaming.OnPremise.Tasks.InitializationTask.Run(CancellationToken ctx)
    Check Server Version (ServerName\POWERPIVOT): Fail (Expected:
        =11.0.2800.0, Actual: 11.0.2100.60).
        --> Check Deployment Mode (ServerName\POWERPIVOT): Pass.
        Monitorable Check Server Configuration (ServerName\POWERPIVOT): Fail (Uninitialized, ConfigurationError, WrongVersion).
        SSPM: Initialization failed on server ServerName\POWERPIVOT: Microsoft.AnalysisServices.Streaming.ServerConfigurationException: Server ServerName\POWERPIVOT failed configuration checks (Status = Uninitialized, ConfigurationError, WrongVersion).
    at Microsoft.AnalysisServices.Streaming.OnPremise.Server.AssertServerConfiguration(Server amoServer, CancellationToken ctx) at Microsoft.AnalysisServices.Streaming.OnPremise.Server.Initialize(Guid serviceId, CancellationToken ctx) at Microsoft.AnalysisServices.Streaming.OnPremise.Tasks.InitializationTask.Run(CancellationToken
    ctx)
    Thanks,
    Thomas Mathew

    Hi,
    For your issue, the possible reason is that the SharePoint environment does not have a PowerPivot for SharePoint server, or the SQL Server Analysis Services (PowerPivot) service is stopped.
    Install PowerPivot for SharePoint or move the PowerPivot workbook to a SharePoint environment that has PowerPivot for SharePoint installed.
    If the software is installed, verify that the SQL Server Analysis Services (PowerPivot) instance is running. Check Manage services on server in Central Administration. Also check the Services console application in Administrative Tools.
    Refer to the following link:
    http://msdn.microsoft.com/en-us/library/ff487858.aspx
    Besides, here is a similar post, you can use as a reference:
    https://social.technet.microsoft.com/Forums/en-US/2e728b3e-6d3d-497b-b0ce-57f2699710e5/access-was-denied-by-the-external-data-source-the-following-connections-failed-to?forum=sharepointadminprevious
    Best Regards,
    Lisa Chen
    Lisa Chen
    TechNet Community Support

  • Project Server 2013 - External Data Refresh Failed

    Hi, 
    I have built  new Project Server 2013 in a 3 tier farm, with OWA, configured PWA site everything working fine except, Reports in BI Center, where i am getting - External Data Refresh Failed error
    http://Sp2013/PWA/ProjectBICenter/Sample%20Reports/Forms/AllItems.aspx
    i have stopped using Excel Web also to use Excel Services, get below error
    External Data Refresh Failed
    An error occurred while accessing application id ProjectServerApplication from Secure Store Service. The following connections failed to refresh:
    Project Server - Issue Data
    Project Server - Risk Data
    Learn
    more about data refresh
    Steps Tried:
    1.deleted Excel Services - recreated
    2.Deleted Secure store - recreated
    Built  test box without OWA still have the same issue
    Any suggestions/ Solutions greatly appreciated.
    Thanks 
    Aleem
    Alim

    Hi,
    If you are still facing the same issue follow the below steps:
    1) Access PWA from your server
    2) Download any built in report from Reports section (in your case
    Project Server - Issue Data Project
    Server - Risk Data) to your server.
    3) Open report in excel, go to Data->Connections in Workbook Connection dialog open "Project Server - Issue Data" go to properties.
    4) Here select tab 'Definition' under connection file remove tick for 'Always use connection file'
    5) Tweak your connection string & tick save password option 
    6) Excel Services: Authentication Settings (suit yourself)
    Now, save & publish on PWA, hope it works :)

  • "External Data Refresh Failed" in Excel Workbook in SharePoint 2013

      Hi Everyone,
    I hope someone can help me sort this out. I wasn't sure if this should be submitted to SQL Server 2012 or SharePoint 2013 but I think I have ruled out an actual SQL issue here.
    I have a test SharePoint 2013 Farm installed on one server.  On that server we have SQL Server 2012 Standard (Database Engine Only) installed as one instance for SharePoint 2013.  SharePoint 2013 is installed as Enterprise. 
    On another server I have SQL Server 2012 Enterprise installed I have both the Database Engine and Analysis Services installed on that server in one Instance.
    I have created a new Analysis Services Cube and stored in on that server using VS 2012 Data Tools.   I then use Office 2013 Excel and create a new Pivot Table and bring in that data into that workbook.  I save that workbook to my desktop and
    can click on the DATA tab and do a "Refresh All" and the data is refreshed with no problem. 
    I then Save that Workbook to SharePoint 2013 in my Business Center documents library. I then try to do a Data Refresh and get the following error: External Data Refresh Failed. We were unable to refresh one or more data connections in the workbook. The following
    connections failed to refresh: servername ConnectionName.
    Let me tell you a little bit about how I have my SharePoint 2013 setup.
    In Application Management ==> Secure Store Service - I have a Target Application Id setup with an AD account name and password.
    In Application Management ==> Excel Services Application Settings - I an using an Unattended Service Account that is pointing to the Target Application ID that I setup in Secure Store Service.
    Now in SQL Server 2012. I have made the AD account name and password a SYSADMIN account (because nothing seemed to work) and mapped that login to my Database that I created my cube from.
    I have went into the Properties of my Analysis Server on SQL Server 2012 and out that AD userid in the Security Page as a Server Administrator. 
    Now let me tell you the real kicker here. 
    I also have a Sharepoint 2010 farm that we have been testing for about a year.  This is something we wanted to go into production with but now have decided we will deploy our new production site on 2013. 
    This has the same setup only I am using SQL Server 2008 R2 as my database for SharePoint 2010, and am using SQL Server 2008 R2 on another server and instance for Database Engines and Analysis Server. 
    I have already created a cube on the SQL 2008 r2 Analysis Server using BIDS.
    I created a Excel Pivot Table based on that cube and save it to the SharePoint 2013 site.  
    I then put the SSS AD account name on the SQL Server 2008 Analysis Services Security as Administrator.
    I pull up that Excel Workbook and go into Data and do a Refresh All and it works. 
    I then bring up my copy of the Excel workbook I created for my SQL Server 2012 Cube (this does not work on SP 2013) and save it to my Business Center in SP 2010.  This will do a DATA Refresh on that workbook.
    Another thing that I have done, (we have Office Web Apps Server running on the SP 2013 side), is set SPWOPISuppressSetting -view -extension xlsx so that when I bring up the Excel spreadsheet in 2013 it has a url with the xlviewer instead of the WOPI 
    url.
    OK.  I have went through all of my setup.   I am must wondering if I missed something in my install for this.  HELP.   There can't be that much difference in the installation between 2010 and 2013. 
    Thanks in Advance everyone.

    After many hours of research and totally burning down my SQL Server 2012 server because of the many changes I made to it, I finally found the issue that caused this and specifically why SP would not work with SQL Server 2012 Analysis Services.  This
    time I reinstalled SQL Server 2012 from scratch again but only put SP1 on at this time.  I can't be completely sure this fixed the issue since I have not put any of the other CU  on the box.  But, after the reinstall, everything seemed to work
    perfectly from the Excel Services side.
    The issue I then ran into was that I could not get my PerformancePoint Services to work with my Cubes that were created on SQL Server 2012.  I received Error Message " The DataSource Provider for data sources of type 'ADOMD.NET' is not registered" on
    my SharePoint 2013 Server Event Viewer. 
    I finally found this post on the issue: 
    http://yossidahan.wordpress.com/2012/08/14/cant-get-ssas-databases-to-appear-in-performance-point-dashboard-designer-check-you-adomd-net-version/
    Seems that SP 2013 is built to use SQL Server 2008 R2 Analysis Services, so you need to install the ADOMD.net from SQL Server 2008 in order for it to work.   But make sure you install Version 10 since if you install any other it doesn't seem to
    work. 
    I feel like I wasted a whole month tracking these issues down, and I haven't been able to test PowerView, PowerPivot or SSRS yet.  I hope there is not any more. 

  • XEM - Unable to load the initial data or the variances(delta) data into sys

    I am installing xEM 2.0 SP 10 (SAP xApp Emissions Management) in a windows environment with SQL 5000.  I installed xEM on NW 2004, usage types AS Java and EP 6.
    I am attempting to load the initial data or the variances (delta) data into the system.  Instruction is on page 15 in the install guide.
    I am supposed to enter the following in the command line:
    java -Djava.ext.dirs=. -jar SAPtrans.jar import logfile=import.log datafile=init.dat connectstring=[JDBC Driver];[JDBCUrl];[User];[Password]
    Example command for import into SQL Server:
    java -Djava.ext.dirs=. -jar SAPtrans.jar import logfile=import.log datafile=init.dat connectstring=com.ddtek.jdbc.sqlserver.SQLServerDriver; jdbc:datadirect:sqlserver://vma03:1433;SAPC11DB;password
    The customer I am with is running the xEM database on a different instance.  This is where I run into a problem.  I am not sure how to specify the instance in the script.  This is what  I have attempted so far:
    C:\>cd temp\load
    C:\Temp\load>java -Djava.ext.dirs=. -jar SAPtrans.jar import logfile=import.log datafile=init.dat connectstring=com.ddte
    k.jdbc.sqlserver.SQLServerDriver;jdbc:datadirect:sqlserver://PRODSQL43:SQL3:1534;SAPPEMDB;password
    java.lang.Exception: ERROR: Cannot connect to the database:ERROR: Connect failed to database jdbc:datadirect:sqlserver:/
    /PRODSQL43:SQL3:1534 as user SAPPEMDB (java.sql.SQLException/[DataDirect][SQLServer JDBC Driver]Unable to connect.  Inva
    lid URL.): [DataDirect][SQLServer JDBC Driver]Unable to connect.  Invalid URL.
            at com.sap.sdm.util.dbaccess.DBTask.dbImport(DBTask.java:356)
            at com.sap.sdm.util.dbaccess.SapTransTask.perform_import(SapTransTask.java:293)
            at com.sap.sdm.util.dbaccess.SapTransTask.execute(SapTransTask.java:51)
            at com.sap.sdm.util.dbaccess.SapTrans.main(SapTrans.java:21)
    import aborted with java.lang.Exception: ERROR: Cannot connect to the database:ERROR: Connect failed to database jdbc:da
    tadirect:sqlserver://PRODSQL43:SQL3:1534 as user SAPPEMDB (java.sql.SQLException/[DataDirect][SQLServer JDBC Driver]Unab
    le to connect.  Invalid URL.): [DataDirect][SQLServer JDBC Driver]Unable to connect.  Invalid URL.
    C:\Temp\load>java -Djava.ext.dirs=. -jar SAPtrans.jar import logfile=import.log datafile=init.dat connectstring=com.ddte
    k.jdbc.sqlserver.SQLServerDriver;jdbc:datadirect:sqlserver://PRODSQL43;SQL3:1534;SAPPEMDB;password
    java.lang.Exception: ERROR: Cannot connect to the database:ERROR: Connect failed to database jdbc:datadirect:sqlserver:/
    /PRODSQL43 as user SQL3:1534 (java.sql.SQLException/[DataDirect][SQLServer JDBC Driver]Error establishing socket. Connec
    tion refused: connect): [DataDirect][SQLServer JDBC Driver]Error establishing socket. Connection refused: connect
            at com.sap.sdm.util.dbaccess.DBTask.dbImport(DBTask.java:356)
            at com.sap.sdm.util.dbaccess.SapTransTask.perform_import(SapTransTask.java:293)
            at com.sap.sdm.util.dbaccess.SapTransTask.execute(SapTransTask.java:51)
            at com.sap.sdm.util.dbaccess.SapTrans.main(SapTrans.java:21)
    import aborted with java.lang.Exception: ERROR: Cannot connect to the database:ERROR: Connect failed to database jdbc:da
    tadirect:sqlserver://PRODSQL43 as user SQL3:1534 (java.sql.SQLException/[DataDirect][SQLServer JDBC Driver]Error establi
    shing socket. Connection refused: connect): [DataDirect][SQLServer JDBC Driver]Error establishing socket. Connection ref
    used: connect
    C:\Temp\load>java -Djava.ext.dirs=. -jar SAPtrans.jar import logfile=import.log datafile=init.dat connectstring=com.ddte
    k.jdbc.sqlserver.SQLServerDriver;jdbc:datadirect:sqlserver://PRODSQL43:1534;SQL3;SAPPEMDB;password
    java.lang.Exception: ERROR: Cannot connect to the database:ERROR: Connect failed to database jdbc:datadirect:sqlserver:/
    /PRODSQL43:1534 as user SQL3 (java.sql.SQLException/[DataDirect][SQLServer JDBC Driver][SQLServer]Login failed for user
    'SQL3'.): [DataDirect][SQLServer JDBC Driver][SQLServer]Login failed for user 'SQL3'.
            at com.sap.sdm.util.dbaccess.DBTask.dbImport(DBTask.java:356)
            at com.sap.sdm.util.dbaccess.SapTransTask.perform_import(SapTransTask.java:293)
            at com.sap.sdm.util.dbaccess.SapTransTask.execute(SapTransTask.java:51)
            at com.sap.sdm.util.dbaccess.SapTrans.main(SapTrans.java:21)
    import aborted with java.lang.Exception: ERROR: Cannot connect to the database:ERROR: Connect failed to database jdbc:da
    tadirect:sqlserver://PRODSQL43:1534 as user SQL3 (java.sql.SQLException/[DataDirect][SQLServer JDBC Driver][SQLServer]Lo
    gin failed for user 'SQL3'.): [DataDirect][SQLServer JDBC Driver][SQLServer]Login failed for user 'SQL3'.
    C:\Temp\load>java -Djava.ext.dirs=. -jar SAPtrans.jar import logfile=import.log datafile=init.dat connectstring=com.ddte
    k.jdbc.sqlserver.SQLServerDriver;jdbc:datadirect:sqlserver://PRODSQL43:1534:SQL3;SAPPEMDB;password
    java.lang.Exception: ERROR: Cannot connect to the database:ERROR: Connect failed to database jdbc:datadirect:sqlserver:/
    /PRODSQL43:1534:SQL3 as user SAPPEMDB (java.sql.SQLException/[DataDirect][SQLServer JDBC Driver]Unable to connect.  Inva
    lid URL.): [DataDirect][SQLServer JDBC Driver]Unable to connect.  Invalid URL.
            at com.sap.sdm.util.dbaccess.DBTask.dbImport(DBTask.java:356)
            at com.sap.sdm.util.dbaccess.SapTransTask.perform_import(SapTransTask.java:293)
            at com.sap.sdm.util.dbaccess.SapTransTask.execute(SapTransTask.java:51)
            at com.sap.sdm.util.dbaccess.SapTrans.main(SapTrans.java:21)
    import aborted with java.lang.Exception: ERROR: Cannot connect to the database:ERROR: Connect failed to database jdbc:da
    tadirect:sqlserver://PRODSQL43:1534:SQL3 as user SAPPEMDB (java.sql.SQLException/[DataDirect][SQLServer JDBC Driver]Unab
    le to connect.  Invalid URL.): [DataDirect][SQLServer JDBC Driver]Unable to connect.  Invalid URL.
    C:\Temp\load>
    My last attempt was a command using colons and semicolons with the following results.  The closest (there was a significant delay before the error or failure) appears to have been //PRODSQL43;SQL3:1534; (second attempt).  The error listed from this attempt is   "Error establishing socket. Connection refused: connect".
    I also checked the default database that user SAPPEMDB has in place and it is assign the correct database.
    Please help.
    Message was edited by: Owner
            Mike Smayrabunya

    Hey,
    It looks like one of the following:
    1. The DB is down,
    2. The user SAPPEMDB does not have the right authorization.
    3. The password of the user SAPPEMDB is not password
    4. The syntax is incorrect
    in order to find what is the problem,
    please:
    1. Login in the the DB PRODSQL43:1534 with the user "SAPPEMDB" and the password "password",
    this will eliminate the options 1 - DB down, 2 -SAPPEMDB does not have authorization and 3 - password of the user SAPPEMDB is not password.
    2. If the login failed, than please run sql trace with security elements (in the client there is a tool called "SQL Profiler"
    3. If the login is correct, than you check the syntax of the command:
    "java -Djava.ext.dirs=. -jar SAPtrans.jar import logfile=import.log datafile=init.dat connectstring=com.ddtek.jdbc.sqlserver.SQLServerDriver; jdbc:datadirect:sqlserver://vma03:1433;SAPC11DB;password"
    According to the error message "Error establishing socket. Connection refused"
    it looks like The DB is down or syntax is incorrect.

  • I downloaded several cds to my external hard drive in .mp3 format. Later, I copied them to iTunes. The songs only play when the external hard drive is plugged in. I tried to load the songs from iTunes to my iPhone and the songs don't play.

    I downloaded several cds to my external hard drive in .mp3 format. Later, I copied them to iTunes. The songs only play when the external hard drive is plugged in. I tried to load the songs from iTunes to my iPhone and the songs don't play. I thought iTunes allowed me to transfer music to my iPhone and play it. What am I doing wrong?

    Hi skoorb1,
    When adding music to iTunes, you can set it to either make a local copy of the file, or simply point to the original location of the file (for example, on an external hard drive). If it is set to do the latter, it will not be able to play or transfer those files when the external hard drive is not plugged in. You may find the following article helpful:
    iTunes: About the Add to Library, Import, and Convert functions
    http://support.apple.com/kb/ht1347
    Regards,
    - Brenden

  • Error While Loading the Master Data from R3

    Hi Gurus,
    I am loading the masterdata from R3.I have enhanced the Datasource .In that datasource there is a field DATUB ( Valid To Date).For this field I have wriiten the User Exit at the R3 side.Now I am loading the data in BW.But I am not getting the values for DATUB field in the BW, though they are there at the R3 side.
    I have done following to analyse the issue.
    1.Have checked the datasource at the R3 from RSA3.Its populating the field DATUB correctly.
    2.Have deleted the whole masterdata and tried to load again.But no success.
    3.Have tried to load the data for the perticular Bill of Material(BOM).Then it get loaded correctly along with the value of DATUB.But when i tried loading the entire data i am not getting the field DATUB populated.
    Please help me out.Its urgent.
    Thanks.
    Shalaka

    Hello,
    I finally got the solution to my problem.
    If you append a field to generic datsource then you should check the tick in datasource for "field only". Or else you would not get the values handed over to BW.
    Please check following link for more details about this "field only" setting for Generic datasources.
    http://help.sap.com/saphelp_tm70/helpdata/en/3f/548c9ec754ee4d90188a4f108e0121/content.htm
    Regards,
    Anuj

  • Error when loading the master data

    Hi all,
    Can anybody help me out. I am loading the master data from DB Connect source. When i am trying to load it it is giving the runtime error PERFORM_CONFLICT_TAB_TYPE. Can anybody tell me what could be the problem & necessery steps to take.
    Thanks in advance.
    Regards,
    Shaik.

    Hi,
    Please go through the following threads:
    PERFORM_CONFLICT_TAB_TYPE  shortdump during data loading into ODS
    Perform_conflict_tab_type error
    PERFORM_CONFLICT_TAB_TYPE error-Urgent!!
    Next time you might want to just search the forum first... lots of surprises!
    Hope this helps,
    Cheers,
    Gimmo

  • 'Overlapping Time Intervals' error while loading the Master Data

    Guys,
              Need you help with this. I am trying to load the Master Data (attribute) for InfoObject 0FMD_FRSITM using DTP from DataSource 0FMD_FRSITM_ATTR and am getting an error 'Overlapping Time Intervals'.
    This is happening due to overlapping Valid From/Valid To date's for the same Financial Statement Item (0FMD_FRSITM) with different Editions.
    If I select the option 'Ignore Duplicate Records' while loading the data, it is successful. But not all the records are loads and Editions are missing.
    Below is an example of how the data looks like.
    FRSITM         Valid To                  Valid From                 Edition
    1001             12/31/9999             04/01/2010                2010.1.1
    1001             01/31/2010             03/01/2010                2010.1.2
    1001             12/31/9999             02/01/2010                2010.1.3
    In the above scenario, the Valid To Data for record 1 and record 3 is the same (12/31/9999) and the record 3 is being ignore when I select the option 'Ignore Duplicate Records'.
    And also I see that the Edition is not the Key Field.
    Any suggestions or ideas? Appreciate your help.
    Thanks.

    FRSITM Valid To Valid From Edition
    1001 12/31/9999 04/01/2010 2010.1.1
    1001 01/31/2010 03/01/2010 2010.1.2
    1001 12/31/9999 02/01/2010 2010.1.3
    1. While selecting ignore duplicate, make sure to-date is not part of symantic key.
    2. if system comes across two same records it picks up the latest one.
    3. It shall merge the timelines is overlap is found.
    4. I hope Edition is time dependent attribute
    I believe infoobjet key is FRSITM Valid To.
    In your case because first record has more period and may be the latets record system ignore the earlier one with the same time interval.
    have a look at Q table and you shall be able to figure out for your self.
    Hope it helps
    Vikash

  • Error while loading the master data into hierarchy

    Hi,
    When i am trying to load the master data into a hierarchy, it is showing me the following error.
    "Invalid Entry, hierarchy xxxxxx does not exist".
    Can you please tell me what might be the possible cause for this error.
    Thanks,
    Prateek

    Hello
    Have you created a hierarchy, I mean go to Transfer structure->Hierarchy structure 
    ->create hierarchy, put a check of whether it is sorted or time dependent etc. after that while loading data through infopackage just check that you have selected an appropriate hierarchy name in hierarchy selection tab.
    Hope it will help!!
    Regards,
    Sandeep

  • Error while loading  the master data

    Hi Masters,
              When I tried to load the master data, data was not loaded. Monitor tells, in YELLOW color (0 records from 0). Status telling following things
    Diagnosis
    No errors could be found. The current process has probably not finished yet.
    System response
    The ALE inbox of the SAP BW is identical to the ALE outbox of the source system
    and/or
    the maximum wait time for this request has not yet run out
    and/or
    the batch job in the source system has not yet ended.
    Current status
    No Idocs arrived from the source system.
    Could you please help me...
    Thanks & Regards
    Raja.S

    Hi,
    Check the TRFC log.
    You can get to this log using the wizard or the menu path "Environment -> Transact. RFC -> In source system".
    Removing errors:
    If the TRFC is incorrect, check whether the source system is completely connected to the SAP BW. Check especially the authorizations of the background user in the source system.
    Resolutions:
    Reload the Master Data manually again from Info-package at RSA1.

  • Performance problem in loading the Mater data attributes 0Equipment_attr

    Hi Experts,
    We have a Performance problem in loading the Mater data attributes 0Equipment_attr.It is running with psuedo delta(full update) the same infopakage runs with diffrent selections.The problme we are facing is the load is running 2 to 4 hrs in the US morning times and when coming to US night times it is loading for 12-22 hrs and gettin sucessfulluy finished. Even it pulls (less records which are ok )
    when i checked the R/3 side job log(SM37) the job is running late too. it shows the first and second i- docs coming in less time and the next 3and 4 i- docs comes after 5-7 hrs gap to BW and saving in to PSA and then going to info object.
    we have userexits for the data source and abap routines but thay are running fine in less time and the code is not much complex too.
    can you please explain and suggest the steps in r/3 side and bw side. how can i can fix this peformance issue
    Thanks,
    dp

    Hi,
    check this link for data load performance. Under "Extraction Performance" you will find many useful hints.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/3a699d90-0201-0010-bc99-d5c0e3a2c87b
    Regards
    Andreas

  • DIM IDu0092s are polluted only when we load the Master data and SIDu0092s

    DIM ID’s are polluted only when we load the Master data and SID’s are polluted only when load the retraction data. System automatically performs the reconciliation of DIM and SID’s  when we delete the transaction and master data.
    a.     True
    b.     False

    Hi,
    You can use the mapping section of the transformation file for this purpose. It should be something like:
    *COL(5) + *Str(_) + *COL(1)
    I am considering that the 5th column of your file is the property. The 1st column is the ID.
    Please take a look at the below link for more information:
    http://help.sap.com/saphelp_bpc75_nw/helpdata/en/5d/9a3fba600e4de29e2d165644d67bd1/content.htm
    Hope this helps.

Maybe you are looking for

  • After the most recent iOS upgrade, iPad no longer connects to Verizon

    Wi-Fi is fine, but the iPad continually shows "Searching...". I tried resetting the Network Settings (at the cost of my WiFi passwords) and Reprovisioning, but neither fixed the problem. I suspect this is a know issue, but is there a solution?

  • Step should not be executed in PO approval workflow..

    Hi Guys, The PO approval workflow has a sub-workflow for the series of approval levels to be approved. Now the very first step is "Get DeadLine Dates" where we calculate three deadline lines date to send reminders to approver on 2, 7,14th day. Now wh

  • Products needed for XML Support

    One simple question: If I want to store a XML document into a ORACLE database, which additional Products do I have to install beside the Oracle 8i server.

  • Regarding file attachment

    Hi,this is program for sending attachment,i use the path in coding itself...its working properly how i can get file path during the run time...[ex:Dialog box during runtime] could anyone give a suggestion...regarding this problem??? Properties props=

  • Oracle 9iR2 in RHLE3 AS (patches problem)

    Hi! I need a couple of patches to Install Oracle 9i R2 in my Red Hat Enteprise Linux 3 AS Server. I know that they are in metalink, but I do not access to those pages. The files needed are: p2617419_210_GENERIC.zip p3006854_9204_LINUX.zip p3119415_92