JList - Adding Data & Refreshing

Hi
I have two JLists in JDialog. First JList is get populated with some items. I selected some items in the first list and click on ">>" button the selected items has to add to the second list and remove from first list.
First time getting selected items using the method (getSelectedValues()) and assigning to second list. working fine. Again selected some more items from the first list and trying to assing to second list the items first assigned were vanished and the new items comes into picture. I want to preserve the existing list and add new items to the list.
Code
Vector listData = list1.getSelectedValues();
list2.setListData(listData);
Thanks
Hari Babu Popuri

I am trying to attain similar events as listed in the original post (move selected multiple items from one jList to another). I have searched through hundreds of posts and a few list tutorials. I tried the code listed here, but am getting an error on it.
on the line:
Vector listData = list1.getSelectedValues();
My compiler doesn't like that I'm trying to put Object[] into a Vector. I've tried casting it to a vector and a couple other things, but I'm just lost right now.

Similar Messages

  • 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

  • Adding data to a specific row in excel

    Hi there,
                        I have problems with my data collection from serial read block. I get every time 16 bytes when I write certain command to my serial device. But after a continuous data written to excel, that is let say six rows of data and after that I get one byte of data which I do not want to save in current updating excel sheet. 
    For that now, I have taken a case structure with two cases, one case contains nothing when I read the one byte and another case contains the code(Spreadsheet file VI) for adding data to excel when 16 bytes received one by one. Still, I am not getting what I wish for. The one byte case adding zero to the current excel file at row 6 and then continuous with 16bytes of data in remaining rows and again after 6 continuous rows it adds zero and so on. I don't know why it is adding zero even i did not put any code inside the case of it.
    How could I eliminate this adding of zeros?
    Here it looks like in my excel sheet.
    row1: 15 16 17 18 19 20
    row2: 15 16 17 18 19 20
    row3: 15 16 17 18 19 20
    row4: 15 16 17 18 19 20
    row5: 15 16 17 18 19 20
    row6: 0                            (This when one byte reception case which contains no spreadsheet file VI)
    row7: 15 16 17 18 19 20
    row8: 15 16 17 18 19 20
    row9: 15 16 17 18 19 20
    row10: 0
    Any help here around!

    You misunderstood my point. I have no code inside the adding zero case. It adding by no meaning. I have only written in one case to add continuous data to excel when ever I receive more than one byte. If I receive one byte exactly, I would not like to append this to excel but currently my program is doing that.
    I have added my code snippet which is not the current working code. I am out of access to my current code. But instead I have attached similar one. You merely assume that the data is coming form serial read block.
    Thanks for your efforts.
    Attachments:
    Excel.vi ‏11 KB

  • Adding data labels to column graph

    I work in the financial industry and I have to add data labels to all bars that appear in my ten year performance graphs (see http://fundinvestor.calamos.com/ClosedEndFunds/CEFund.aspx?name=CHI under the "Performance" tab as an example). Is there a script that can do this? I saw there's this technique that Adobe offers for column totals: http://livedocs.adobe.com/en_US/Illustrator/13.0/help.html?content=WS714a382cdf7d304e7e07d 0100196cbc5f-619e.html but that's not working. What am I doing wrong? Adding data labels to bars is ridiculously simple in Excel, why can't I find the way to do it easily in Illustrator?

    http://help.adobe.com/en_US/Illustrator/14.0/WS714a382cdf7d304e7e07d0100196cbc5f-619ea.htm l
    That should do the trick.
    Mylenium

  • Adding data to Manual Distribution Rule from DIAPI

    Hi
    I am searching for the object to insert the data to OMDR (manual distribution rule) using DI API. Can any one help me out.
    I found many questions related to adding data to manual distribution rule using DIAPI which were not answered.
    Thanks in Advance.

    hi.
    Just check the below posts.
    object type of distribution rules
    Distribution rules setup..

  • Adding data to multiple tables using one form in Access 2010?

    Hi All,
    I have a access database with two tables and I want to create a single form to enter data into that tables.
    How to adding data to multiple tables using one form in Access 2010?
    I don't have to much knowledge of access database?
    Please help me
    Thanks
    Balaji

    You really don't enter identical data into 2 tables.  You enter dat into one single table, and then you have an unique identifier that maps to another table (you have a unique relationship between two tables). 
    Maybe you need to read this.
    http://office.microsoft.com/en-001/access-help/database-design-basics-HA001224247.aspx
    Think about it this way...  What is you update data in 2 tables, and then the data in one of those tables changes, but the data in the other table does NOT change.  WHOOPS!!  Now, you've got a BIG problem.  For instance, you have a customer
    named Bill Gates.  In one Table you update Bill's address to 1835 73rd Ave NE, Medina, WA 98039 and in the other table you accidentally update Bill's address to 183 73rd Ave NE, Medina, WA 98039.  Now you have 2 addresses for Bill.  Why would
    you want that???  Which is right?  No one knows.  If you have one address, you just have to update one address and if there is a mistake, you just have to update one address, but you don't have to waste time trying to figure out which is right
    and which is wong...and then update the one that is wrong.
    Post back with specific questions.
    Knowledge is the only thing that I can give you, and still retain, and we are both better off for it.

  • Adding data in internal table using extracted data

    Hi Experts,
    Good day!
    I have a requirements in our historical data of material price which adding data that are not existing based on data extracted from standard tables such as A004 and KONP.
    Now, i need to use the VALIDFROM (DATAB) value as basis for the latest price.
    To make it more clear, see the example below:
    Extracted data:
    Material Number      Valid From       Valid to          Price
    100101                   01/01/2008      02/01/2008     100.00      
    100101                   02/02/2008      04/02/2008     100.00
    100101                   04/03/2008      08/01/2008     200.00
    100101                   08/02/2008      01/31/2009     300.00  
    100102                   05/02/2008      07/01/2008      10.00
    100102                   07/02/2008      10/31/2008      15.00 
    100102                   11/01/2008      01/31/2009      20.00  
    Output:
    Material Number     Calmonth        Price
    100101                 01/2008           100.00
    100101                 02/2008           100.00
    100101                 03/2008           100.00
    100101                 04/2008           200.00
    100101                 05/2008           200.00
    100101                 06/2008           200.00
    100101                 07/2008           200.00
    100101                 08/2008           300.00
    100101                 09/2008           300.00
    100101                 10/2008           300.00
    100101                 11/2008           300.00
    100101                 12/2008           300.00
    100101                 01/2009           300.00
    100102                 05/2008           10.00
    100102                 06/2008           10.00
    100102                 07/2008           15.00
    100102                 08/2008           15.00
    100102                 09/2008           15.00
    100102                 10/2008           15.00
    100102                 11/2008           20.00
    100102                 12/2008           20.00
    100102                 01/2009           20.00
    Text that are in bold are the added data. What is the best code to do with this?
    How can i come up with this output? Help me please
    Thanks and Godbless,
    nips

    Hi Nips,
    Logic shud b sumthing on similar lines
    lv_count = 1.
    Loop at itab into watab.
    if lv_count > 12.
    lv_count = 1.
    endif.
    if watab-date+0(2) = lv_count.
    append watab to gt_output.
    continue.
    else.
    concatenate lv_count sy-datum+4(4) into watab-date.
    append watab to gt_output.
    endif.
    endloop.
    Best regards,
    Prashant

  • Adding Data in the grid

    One thing I am finding a little awkward; Adding data in the grid. It would be nice to be able to use tab to get to the next cell. At present it just highlights the cell and typing doesn't do anything until the cell is clicked. Equally hitting return I would expect it to give me a new blank row. I would like to be able to add a couple of rows of data without resorting to using the mouse at each turn.
    Very good initial impressions though.

    Yes we should do this as it's what everyone will expect from Excel.
    -kris

  • Adding data from one matrix to another

    Hay guys.I'm having trouble with adding data, that is situated in a Matrix on form A and bound to a userdatasource,
    to a Matrix on form B that is bound to a dbdatasource.
    For some reason the data either does not display at all, or it only displays the last records' data as many times
    as there are records in the original matrix from form A.
    Here's the code I've tried: (Displays only last record x times)
    For i = 1 To oMatrixSync.RowCount
    oFormTime.DataSources.DBDataSources.Item("@TB_TIMEDET").SetValue("U_Activity", _
                              oMatrixTime.RowCount, _
                              oFormSync.DataSources.UserDataSources.Item("U_Act").ValueEx)
    oMatrixTime.AddRow()
    next
    And this code displays zip:
    For i = 1 To oMatrixSync.RowCount
      oCheckBox = oMatrixSync.Columns.Item("c_Check").Cells.Item(i).Specific
      If oCheckBox.Checked = True Then
        oEditS = oMatrixSync.Columns.Item("c_Activity").Cells.Item(i).Specific
        oFormTime.DataSources.DBDataSources.Item("@TB_TIMEDET").SetValue("U_Activity", _
                   oMatrixTime.RowCount, _
                   oEditS.Value)
      oMatrixTime.AddRow()
      oMatrixTime.LoadFromDataSource()
    next
    Any help would be greatly appreciated, thanx all!
    Message was edited by: Tjaard Du Plessis

    Thanks, Jaro!
    You are right. The code should look like this:
    Dim oDBDSTime As DBDataSource = oFormTime.DataSources.DBDataSources.Item("@TB_TIMEDET")
    Dim oUDSSync As UserDataSource = oFormSync.DataSources.UserDataSources.Item("U_Act")
    For i = 1 To oMatrixSync.RowCount
    oMatrixSync.GetLineData(i)
    oDBDSTime.InsertRecord(i)
    oDBDSTime.SetValue("U_Activity", _
                        i, _
                        oUDSSync.ValueEx)
    Next
    oMatrixTime.LoadFromDataSource()
    Regards,
    Frank

  • Adding data source-JDBC

    Hi Guys,
    I have another problem on adding data source on EID. When I try adding a data source on EID as a JDBC source I get error that says "Could not establish a connection"..Do you tell me step by step what I have to do when I add a data source on Endeca? My data has based on SQL 2008.

    The Studio Administration and Customization Guide includes the information on creating and managing data sources.
    Adding and editing data sources in the Data Source Library
    I don't know anything about the specific format of a connection URL for SQL 2008. That should be fairly standard, though.

  • Adding data dynamically to JTable with a filter - getting error

    Hello,
    I am using JTable, and adding data and displaying it worked fine
    until I tried adding a filter,
    can anyone tell me what am I doing wrong or
    why am I getting this Error?
    The Error message
    Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
            at javax.swing.DefaultRowSorter.convertRowIndexToModel(DefaultRowSorter.java:501)
            at javax.swing.JTable.convertRowIndexToModel(JTable.java:2620)
            at javax.swing.JTable.getValueAt(JTable.java:2695)
            at javax.swing.JTable.prepareRenderer(JTable.java:5712)
            at javax.swing.plaf.basic.BasicTableUI.paintCell(BasicTableUI.java:2075)
            at javax.swing.plaf.basic.BasicTableUI.paintCells(BasicTableUI.java:1977)
            at javax.swing.plaf.basic.BasicTableUI.paint(BasicTableUI.java:1773)
            at javax.swing.plaf.ComponentUI.update(ComponentUI.java:143)
            at javax.swing.JComponent.paintComponent(JComponent.java:763)
            at javax.swing.JComponent.paint(JComponent.java:1027)
            at javax.swing.JComponent.paintChildren(JComponent.java:864)
            at javax.swing.JComponent.paint(JComponent.java:1036)
            at javax.swing.JViewport.paint(JViewport.java:747)
            at javax.swing.JComponent.paintChildren(JComponent.java:864)
            at javax.swing.JComponent.paint(JComponent.java:1036)
            at javax.swing.JComponent.paintToOffscreen(JComponent.java:5122)
            at javax.swing.BufferStrategyPaintManager.paint(BufferStrategyPaintManager.java:277)
            at javax.swing.RepaintManager.paint(RepaintManager.java:1217)
            at javax.swing.JComponent._paintImmediately(JComponent.java:5070)
            at javax.swing.JComponent.paintImmediately(JComponent.java:4880)
            at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:803)
            at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:714)
            at javax.swing.RepaintManager.seqPaintDirtyRegions(RepaintManager.java:694)
            at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:128)
            at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
            at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
            at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
            at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
            at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
            at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)I am also using my own class that extends "AbstractTableModel"
    as TableModel,
    public class MyTableModel extends AbstractTableModel  {
        ArrayList<TableData> tableData=new ArrayList<TableData>(10);
        String[] columnNames=new String[]{"S/N"," Time (mili)","SD","SA","SSAP","DA","DSAP","FC","DATA"};   
        public void addRow(TableData data){
            tableData.add(data);
            fireTableDataChanged();
        @Override
        public int getRowCount() {
            return tableData.size();
        public TableData getRow(int i){
            return tableData.get(i);
        @Override
        public int getColumnCount() {
            return columnNames.length;
        @Override
        public String getColumnName(int col) {
                return columnNames[col];
        @Override
        public Object getValueAt(int rowIndex, int columnIndex) {
            return tableData.get(rowIndex).getValue(columnIndex);
        }The Row Filter class
    class myRowFilter extends RowFilter<MyTableModel,Integer>{
            @Override
            public boolean include(Entry<? extends MyTableModel, ? extends Integer> entry) {
                // Entry < SomeCostumTableModel , Integer> entry   ; Integer =Identifier= Row Number
                boolean frame_type;
                MyTableModel model=entry.getModel();
                TableData data=model.getRow(entry.getIdentifier());
                frame_type=((SD1&&data.SD==TableData.SD1) ||
                                             (SD2&&data.SD==TableData.SD2) ||
                                             (SD3&&data.SD==TableData.SD3) ||
                                             (SD4&&data.SD==TableData.SD4) ||
                                             (SC&&data.SD==TableData.SC) );
               return frame_type;
        }and How I add the filter to the Table
        private MyTableModel myTableModel=new MyTableModel();
        private RowSelectionListener rowSelectionListener=new RowSelectionListener();
        TableRowSorter<MyTableModel> sorter=new TableRowSorter<MyTableModel>(myTableModel);
        private FilterFrame filterFrame=new FilterFrame(this);
        // then in the constructor of the main frame
        // I call this
            sorter.setRowFilter(filterFrame.filter);
            MainTable.setRowSorter(sorter);
            sorter.setSortsOnUpdates(true);Edited by: YellowMurdoch on Nov 17, 2009 6:31 AM
    Edited by: YellowMurdoch on Nov 17, 2009 6:31 AM

    Thanks for noting that.
    you mean like this?
    public void addEntry(TableData data){
            myTableModel.addRow(data);
            javax.swing.SwingUtilities.invokeLater(new Runnable(){
                @Override
                public void run(){
                        myTableModel.fireTableRowsInserted(0,0);
        }both work,
    would putting "invokeLater" inside "addEntry" somehow mess other things?
    i guess that means addRow() is not supposed to update the table graphically?
    Edited by: YellowMurdoch on Nov 17, 2009 9:30 AM
    Edited by: YellowMurdoch on Nov 17, 2009 9:33 AM

  • Adding Data through LOV when LOV validation fails to bring row

    Question on Adding data to LOV:
    Just like in form 5(Professional Forms), Is there a way to dynamically insert the row to add data if the data entered is not in the LOV? I have searched forum and looked at Dev Guide but didn't find any notes. One way is making "AutoValidation" false so LOV will not fire and validate, THEN upon SAVE just commit trx. Will this work? or Is there a better thought. Thanks

    Set the Disable  Validation property of the LOV Item to "True"
    Thanks,
    Kumar

  • Excel Services 2013 Bug - Automatic or Periodic Data Refreshes Doesnt Update

    All,
    I have heard from other colleagues that there is a problem with SP2013 Excel Services Automatic Refresh.  Specifically, when you set the data connection properties to
    Refresh data when opening a file, no error is generated upon open, but it DOES NOT refresh the spreadsheet with new data.
    Manual Refresh First.  What I did to test this was configure an AS tabular model with AdventureWorksDW as the data source.  Loaded the AdventureWorks Tabular project.  Created an ODC pointing to the resulting cube instance.
    (Made all of the required Excel Services configurations.) Then pointed a workbook to this data source to populate a Pivot Table.  Saved it to SharePoint in a trusted location.  ODC saved to SharePoint in a trusted data connection library.  Finally,
    I configured the connection properties to NOT Refresh data when opening the file.  Saved it.  Go to my in browser Excel Services file, and click
    Data | Refresh All Connections.  WORKS!  Great. 
    Next up: Automatic Data Refresh.  I made a copy of the same workbook.  Connected to the same data connection file.  Went into the properties of the connection on the copied workbook and checked
    Refresh data when opening the file.  Saved.  Updated relational data in database.  Reprocessed the tabular model.  Re-opened the Automatic refresh workbook.  Numbers stay the same.
    I've tried also setting Refresh every setting on
    Usage tab of Connection Properties dialog to low number.  No change.  Tried reducing the Excel Services External Data Cache Lifetime auto refresh setting to 10 seconds.  Nothing, no change.  Nothing seems to work to get Auto refresh
    working.  Manual refresh works great.  Has anyone else seen this bug?  Is there a hot fix?  Anyone know if there is something else to try?
    UPDATE: In the ULS log, what we see if the following line:
    BaseWorkbook.PrepareConnectionsAsync: Refresh skipped. Could not find the data connection name - defaulting to previous state. sessionId=..., dataconnection=
    Note: the dataconnection value at the end is empty.

    Hi,
    Thank you for your question. I am trying to involve someone familiar with this topic to further look at this issue. There might be some time delay. Appreciate your patience. Thank you for your understanding and support.
    Thanks,
    Linda Li
    Linda Li
    TechNet Community Support

  • How scheduling the data refresh for a published Excel workbook - SharePoint 2013

    Hi,
    I've implemented an Excel workbook that connects to a SSAS Tabular data source and I've published it on SharePoint.
    Now, how can I implement a scheduled data refresh if it is possible?
    Thanks

    Hi pscorca,
    If  my understanding is correct , you want to implement a scheduled data refresh on SharePoint 2013 and the data is from a SSAS Tabular data source.
    Below are some articles for you to take a look:
    Data Sources Supported (SSAS Tabular)
    http://technet.microsoft.com/en-us/library/gg492165.aspx
    Get data from Analysis Services
    http://office.microsoft.com/en-in/excel-help/get-data-from-analysis-services-HA102837073.aspx
    PowerPivot Data Refresh with SharePoint 2013 and SQL Server 2012 SP1 (Analysis Services)
    http://technet.microsoft.com/en-us/library/jj879294.aspx
    Refreshing PowerPivot Data in SharePoint 2013
    http://blogs.msdn.com/b/analysisservices/archive/2012/12/21/refreshing-powerpivot-data-in-sharepoint-2013.aspx
    I hope this helps.
    Thanks,
    Wendy
    Wendy Li
    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

Maybe you are looking for

  • How to find out and locate the top 100 max elements from a 4D array

    I try to find out the 100 maximum elements in a 4D array and then I want to put the result in a 2D array, Which should show me the locations of the elements and the values of those elements ==================== =Labview 7.0 & 8.0 & 8.5= =============

  • How to get video dimensions?

    I'm using a ParallelElement with multiple videos. How can I get each videos dimensions? There is no width/height attribute for a VideoElement and I had no luck using the metaData either. Seems like such a basic task but I've been trying for hours now

  • ATV2 and Aperture 3

    My ATV2 does not show all photos from the selected folder, but only some of them. In iTunes I have selected to share photos from Aperture 3 and all photos are jpg so that should not be the problem. Does anyone have a clue how to solve this mystery?

  • Create Purchase Order - Account Assignment Category Q

    Hi experts, I'm trying to create a purchase order with account assignment category "Q" and the system show me the error message ME083 - Enter GR non-valuated. The material type is HIBE. The Quantity and value updating are flagged. Does anybody can he

  • [SOLVED] i3bar workspace buttons

    Hi, I'm setting up i3 for a test run after using spectrwm for the past year. Maybe someone could help me with i3bar's workspace buttons. I just can't figure out how to get that nice 1px solid border around them like in a lot of screenies I've seen. F