Sharepoint excel data not refreshed

Hi All,
I have SharePoint foundation 2010, add one excel document after that trying to open that excel document it is showing error message.
Error message:-
Unable to referesh data for a data connection in the workbook.
try again or contact your sharepoint adminstator. the following connection failed to referesh.
powerpivot data.
-> click on OK it is opened after that go to menu Data refresh selected connection. It is open error Message.
It is showing error message
Error message: 
The current selection is not within a refreshable region of the workbook.
Select a refreshable region,such as a pivot Table, before clicking on the refersh selected connection Buttion.
Unable to refresh data for a connection in the workbook.Try again or contact your administrator. The following
connections failed to refresh: ThisWorkbookDataModel
How to fix this issue. Please
let me know how to resolve this.
hope this helps.
Best Regards.
Johnson.

Hi,
From your description, I know when you open excel document and it pops up some error message regarding refresh data for a data connection in a library within SharePoint Foundation 2010.
For Excel workbooks that contain PowerPivot data, Excel Services returns this error if it submits a connection request to a PowerPivot server and the request fails. Excel Services cannot connect to or load the PowerPivot data. You could refer to this article:
https://msdn.microsoft.com/en-us/library/ff487856.aspx?f=255&MSPPError=-2147217396.
If you use Excel 2013 in your environment, you could refer to this article:
"Unable to refresh data for a data connection in the workbook" error when you interact with an Excel 2013 workbook in a SharePoint Server 2010 farm
http://support.microsoft.com/en-us/kb/2755126
Besides, you could get something from these links:
http://social.technet.microsoft.com/wiki/contents/articles/11566.refreshing-powerpivot-for-sharepoint-2010-sql-2008-the-data-connection-uses-windows-authentication-unable-to-refresh-data-for-a-data-connection-in-the-workbook-errors.aspx
http://www.sharemuch.com/2012/01/22/troubleshooting-powerpivot-unable-to-refresh-data-for-a-data-connection-in-the-workbook/
If above all don’t work, please check if there are more related error messages (which recorded around the time of error occurring when you open Excel file) from ULS log for help troubleshoot the issue.
Best Regards,
Vincent Han
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
[email protected]

Similar Messages

  • SharePoint Doc Libs Not Refreshing in Windows Explorer

    Hello.
    When I save or upload a document to a SharePoint 2007 document library it auto creates a folder for that document library in Windows Explorer on Windows 7.  This parts works fine for me and previously when I clicked into these folders they refreshed
    the list of files available in the right hand pane in Windows Explorer. 
    Recently the refresh has stopped happening.  When I click on the SharePoint document library in the left pane in Windows Explorer now it does not refresh the right pane - in fact nothing happens.  No settings have changed on our SharePoint
    servers.
    Anyone else see this issue and if so is there a fix?

    Hi motionpotion,
    Could you please check this thread to see if your problem is similar with it:
    http://social.technet.microsoft.com/Forums/en-US/sharepointgeneral/thread/cf57ae56-4555-4943-9557-d6db5115a820.
    Thanks & Regards,
    Peng Lei

  • ADF table data not refresh

    hi,
    i am create a adf table using data control. value of adf table depend on view object. where i bind a variable in where clause.
    now i am giving the value of whereClauseParam using using view object instance in backing bean method.
    when i pressed command button method run properly but adf table not refresh and not showing data.
    thanks in Advance

    public void callData(ActionEvent ae) {
    String amDef = "com.jagran.in.model.view.updatable.AppModule";
    String config = "AppModuleLocal";
    ApplicationModuleHandle handle = null;
    ApplicationModule am;
    try {
    handle = Configuration.createRootApplicationModuleHandle
    (amDef, config);
    //am = Configuration.createRootApplicationModule(amDef,config);
    // ApplicationModule sam = handle.useApplicationModule();
    am=handle.useApplicationModule();
    am.processChangeNotifications();
    ViewObject svo = am.findViewObject("BindView1");
    svo.setNamedWhereClauseParam("id","JK0554");
    svo.executeQuery();
    ((ViewObjectImpl)svo).refreshCollection(null, false, false);
    am.processChangeNotifications();
    svo.reset();
    while (svo.hasNext()) {
    Row r = svo.next();
    System.out.println( (String)r.getAttribute(1));
    } catch(Exception e)
    System.out.println(e);
    finally {
    if (handle != null)
    Configuration.releaseRootApplicationModuleHandle(handle, false);
    }

  • Report prints Saved Data not Refreshed Data

    We were running VS 2005 and using the Basic CR 2005 Basic that comes with it.  We upgraded to use CR 2008 and found MANY issues after we went live in production that were apparent in the development.  This has caused a lot of stress with us as well as our users.  Iu2019ll summarize everything we found, possible workarounds and the open issues including the Printing/Loading of Saved Data.
    First, it was reported that printing changed.  It turns out when PrintMode = u2018PDFu2019 (default setting) it now asks after you choose u2018EXPORTu2019 (use to be u2018OKu2019) that it asks to Open or Save the Adobe.  When our customers were running 20 some reports at a time and we had hundreds of users, this became a nuisance for the heavy reporting users and a training issue in general for us.  With research, I found that we can change the PrintMode to be u2018ActiveXu2019.  This was much better when we were testing.  However, in Production it became a nightmare.  If the user is on a Domain that disallows itu2019s user from installing software or if the user has tight security settings, this became a nightmare.
    The second thing reported was that it was exporting to the wrong format.  It was exporting into RPT format.  It turns out with CR2008, it automatically defaults to RPT and the new pop-up, doesnu2019t isnu2019t clear to the user they even have a choice (the pop-up is much prettier, but it doesnu2019t look like a dropdown anymore).  In addition, they reported it was taking twice as long to export (we think it was related to export file type now).  With CR2005 Basic, it would have no default selection and if the user didnu2019t pick one, it would remind them they need to pick one.  After much research, I found there is no way to customize the operation of the export without writing my own export.  My users 90% of the time want to export to PDF and Excel the rest of the time.  Since we arenu2019t using a CR Server like product, they NEVER will do RPT.  There is no way with CR2008 to limit this list or to default the File Format.  So now, if they forget to select the type, they get the wrong file format instead of being reminded to select one.  Since the new pop-upu2019s dropdown selection isnu2019t easily apparent, this was a BIG issue for us.  Since I have close to 300 reports on 7 websites, this will be a lot of work for me to write my own code and change all the ASPX page to use my own control.
    The third thing reported was that the default name on Exporting was changed.  Export uses the ID property of the Crystal Report Viewer as the default name of a file on export.  When it replaced the viewer on all our pages, it set the ID to CrystalReportViewer1 instead of preserving the original ID.  We now have to go back and change them to what we wanted manually.  BEAWRE of this!  For our power users who wanted to export 40 reports they now have type the name in manually on all of them.  What took minutes now takes over an hour for them to do, until we can fix all the pages.
    Now it was reported that some reports are showing OLD data.  It turns out there shows Saved Data from design time.  In our site, we have a parameter page which getu2019s user selected parameters, save to a session and then load the report page using the session variables, and then redirect them to the report page which on page load we set the reports parameters.  We use the CrystalReportSource using ODBC.  The report has all the connection information.  Well if the user happens to select the same parameters I used at design time, it wonu2019t pull the data from the database.  They see our test data instead which is garbage.  If they select different parameters, display the report and then go back and select the original parameters, they will get the correct data.  This can be catastrophic for us!  So I added at the beginning of the Page Load before setting parameters the following:
         If Not Page.IsPostBack Then
                CRSServiceAlertsReport.ReportDocument.Refresh()
         End If
    This seemed to work.  A pain to add on every report page though when it wasnu2019t necessary before.  But then I just got called this morning and they say when they print, it prited the OLD data.  It seems the refresh pulled new data and updated the display in the viewer but the ActiveX print still used the original Saved Data!  I couldnu2019t find a solution for this.  I found switching PrintMode back to u2018Pdfu2019 worked but now I have the extra click issue again, which I described above.  I tried setting the reports u2018Discard Saved Datau2019 option but it still had the data!
    In the end, had I known about all these issues I would have NEVER upgraded to CR2008.  Iu2019m still looking for help on getting by the following:
    u2022     Stop using Saved Data at runtime (either on Display or Print)
    u2022     Getting the PrintMode=u2019Pdfu2019 to just pull up Adobe in Open mode without prompting the user.
    u2022     Remove File Type options from Export
    u2022     Set the default File Type options to nothing or something I want.
    Another nice feature to have would be the ActiveX control for printing to be part of the .NET Framework so users donu2019t need to download it.  Come on BO is a big company Iu2019m sure they can work with MS.  

    What is that method to clear Saved Data; I looked and couldn't find it.  I never had to call one in the prior version of CR 2005 Basic in .Net.  With the .NET controls, it always refreshed the data before.  This is a change in behavior for me.
    As for the Print using Adobe, with CR2005 Basic, it didn't prompt the user to Open or Save before.  This is new behavior.  It used to just open the report in Adobe in memory before without this specific prompt (it did have the first prompt for All or specific pages, but it would just open after that).  This is a change in behavior from prior versions and it has caused me several issues. 
    Many users don't like change and I didn't know to communicate this to them.  They were taken by surprise.  We'll learn to live it I guess, but I would ask you just to consider, why have an option to "Save" to PDF when you choose to print?  I would think you would use Export if you want to save.  It would never hurt to add an option to allow alternatives either.
    As for including with .NET Framework, it was just an idea.  I know how hard it can be working with third parties.  However, given that CR Basic comes with it, I thought it may be possible to work with them.  The better the integration the better the product is for the developers.  I was thinking the button could call JavaScript/Java to print instead of an ActiveX, or some other method.  Since I donu2019t know how the Control works, I couldnu2019t say.  It just would be nice.  I had a smiley face after that request, it didn't come out right when I saved the post.
    I still don't understand why .Refresh will update the data in the viewer but printing using the ActiveX Control will still print the saved data instead of refreshed data.  Since I never used this in the prior version I don't know what it would of done or not, but it just doesn't seem right it shows one set of data, and prints another.
    In addition, why the designer still saves data with the report when you state not to, I think may be a problem still.
    Edited by: Thomas Johnson on Nov 21, 2008 12:26 PM

  • Data not refreshing in report

    Post Author: SparrowHawk
    CA Forum: Data Connectivity and SQL
    I'm developing a dB application in VB6 using the Developers CRXI. For the problem I'm having with the report, I've got a discrete table in the dB which holds only 1 record. The report gets it's data from that table. Before calling the report, I am saving all the data from the VB form to the table and then calling the report. Initially, the report acts fine, but if I close the report, go back to the VB form, make changes, save the data to the table once again and then reopen the report, the old data remains. More often than not I have to click the refresh button TWICE on the report in order to get the updated data to appear. Sometimes it simply won't update. I've tried to force the refresh at runtime without any luck. The save data with report is NOT checked. And, because I know an Access dB can take a bit of time to "settle", I've waited for as long as 5 minutes with the report visible before I click the refresh button. It still takes TWO tries and even then sometimes will not update. Is there a way to solve this, or must I pass the variables to the report at runtime? Since there are upwards of 100 discrete variables to pass (it's an invoice form), I'd prefer not to have to do this if at all possible.I've posted this on other forums without any replies but this can't be that hard to do. Thanks,Ken

    Hi,
    I do face the same issue. Live data is not getting updated in the BAM report.
    My scenario: BPEL generates sensors for the response message variabe and data is inserted into JMS Topic.
    Created an Enterprise Message Source to poll the data fromo JMS Topic.
    In design studio -> configured Oracle BAM Enterprise Message Reciever to revceive data from Enterprise message source and send the data to BAM using Oracle BAM Insert Sink.
    As mentioned in one of the post, updated below changes in Plan Setting in BAM administrator for the report.
    Completion Action: Always restart on completion.
    Failiure Action: Alway restart on failiore.
    Max restart frequency: No limit on frequency.
    Monitor Service: Oracle BAM Plan Monitor.
    Did I missed any configuration to be made for the reports to get updated.
    Please someone throw some light on this.
    Regards
    Jude.

  • Data not refreshing on taskflow

    Hi,
    I have two jsff page let say, page1.jsff and page2TF.jsff. Page1.jsff has tabbed panal which has 7 show detail items for each weekday.
    one task flow page2TF (page2TF.jsff ) has put as region on every 7 showdetail item. page2TF has one paramether hmtf(type hashmap). page2TF takes all of it's data from hmtf which is passed to it by a parameter type hashmap say hm declared on page1Bean.java .
    I am changing this variable hm's value on tabchange method "tabchange(DisclosureEvent disclosureEvent) {}".
    Now issue is on tab change page2TF.jsff is not getting refresh with the new values of hm. i have already put programatically pratial tigger as follows to region.
    AdfFacesContext.getCurrentInstance().addPartialTarget(r2);
    Could tell me what i am missing. I think how to refresh taskflow variable hmtf value? or shall i set to it rather to bean varable hm?? if yes, how?

    HI,
    Put button to HowDetailItem to handle disclosure event and set partialSubmit="true" and use partialTrigger as you said.

  • Dates not refreshed correctly

    Hi,
    We are using service contracts BT112H_SC from Web UI. From this component we are calling SAP GUI actions (using transaction launcher) to make changes to the contract u2013 like cancellations, date changes and so on.
    We now have a problem with refreshing the Dates assignment block from service contract. The Dates assignment block is handled within a separate component called BTDATES and is called from BT112H_SC using component usage.
    When running an action that should change the dates (due to for example an Annulation of contract), the status is set to Cancelled but the dates Contract end date is not changed. I am calling function module CRM_ORDER_READ_OW after the action is executed in some places and see that the dates are updated correctly in the buffer, but they are not showing up in the Web UI.
    It seems as the dates are set correctly if I donu2019t expand the assignment block Dates before running the action. So if I expand the assignment block after running the action the dates are set correctly. If expanding the Dates assignment block before running the action, the dates are not updated.
    The dates are also set correctly after saving the contract so it is just a matter of visibility.
    Also if I (after running the action), go to one of the items and expanding the Dates assignment block on item level and then go back to header level the dates are displayed correctly.
    I have enhanced component BTDATES/Dates u2013 Method DO_PREPARE_OUTPUT where I use the following commands that should refresh the values.
    me->typed_context->btdate->collection_wrapper->publish_current( ).
        lr_ent ?= me->typed_context->btdate->collection_wrapper->get_current( ).
        lr_ent->reread( ).
    I have also used the command modify without success.
    Somehow the BTDATES component must be refreshed to read the dates from the buffer correctly after the action is executed.
    Do anyone have any suggestions on how to handle this?
    Regards Andreas

    Hi,
    Thanks a lot for your answers. I need all input I can get.
    Kathirvel: I can see that event 0002_expand_link is triggered (from class  ZL_BT112H_S_MAINWINDOW_IMPL I believe) when expanding the Dates assigment block. But I cannot figure out what is happening next.
    But after expanding the assignment block once, the event is not triggered if I expand/collapse the assigment block again.
    I see that in CL_BSP_WD_VIEW_MANAGER ~ DO_FINISH_INPUT when expanding Date assignment block, a BOL_CORE->MODIFY statement is made. This code is triggered when expanding the Date assignment block (but only first time).
    Do you know which event I could call to trigger the update again?
    asen2222 : I entered the code lr_core->modify( ) in ZL_BT112H_S_OVVIEWSET_IMPL ~ DO_PREPARE_OUTPUT which is called after my action is executed and the dates are modified in the buffer. But it doesn't work. When debugging the modify( ) method it seems as it have no delta-information to save.
    I have also tried setting the statement in component BTDATES - ZL_BTDATES_DATES0_IMPL ~ DO_PREPARE_OUTPUT without success.
    In the same place -  component BTDATES - ZL_BTDATES_DATES0_IMPL ~ DO_PREPARE_OUTPUT  -  I also put the following code:
    lr_ent ?= me->typed_context->btdate->collection_wrapper->get_current( ).lr_ent->reread( ).
    This do not work either. But if I debug the reread method and go into
    method REREAD_ENTITY of CL_CRM_BOL_CORE I see following code:
    lv_relation_cacheable = me->object_model->relation_is_cacheable(
    lv_parent_relation_name ).
    If I then set lv_relation_cacheable = ' ', it seems to bypass the buffer and read the data from underlying layers. And then the values is showingcorrectly updated!.
    I believe it is reading the relation from table CRMC_ORLSTA_BTIL but this
    table do not include field DO_NOT_BUFFER so I assume this field should
    never be set for business transactions. But in this case it wouldhave worked for us.
    Regards Andreas

  • Table data not refreshing

    Hi ,
    I have created a data control which calls procedure to fetch data ...
    I drag and drop that on the page and create a table.
    This table also includes checkbox to update the some fields of the table.
    When i click on any specific row to update data,data gets updated properly.
    If i move to any other tab and again come back to that tab data get messed up (for example all the
    rows of one column is showing same data.
    ANy one has seen this issue in the past as I am not sure what leads to this behaviour?
    Thanks,
    shubhangi

    Hi,
    to persist data values, you don't call a setter on the table cell renderer but update the model. Soif you have input text component to render the table cell, then updating and submitting the data herin will update the ADF model, not the persisting model
    See sample #038 on http://www.oracle.com/technetwork/developer-tools/adf/learnmore/index-101235.html that shows a similar use case
    Frank

  • Adobe Form - Problem of data not refreshing each time the form is called

    Dear All,
    I have created a web dynpro component comprsing of two views.
    In the first view i am displaying an ALV which is bound to an internal table.
    After selecting one record i click on a button which calls the second view and in the second view
    i am displaying an adobe form.
    i have provided a native wd submit button  which again calls the first view.
    The first time when i select the record it works fine and shows me correct data.
    but second time onwards it shows me the data one previous to the current row selected.
    Kindly give your valuable suggestions>
    Regards,
    Niti
    Moderator message: sorry wrong forum, please have a look in the forum for "Adobe Interactive Forms".
    Edited by: Thomas Zloch on May 9, 2011 5:59 PM

    Instead of using in the java code.
    For the html page and in jsp pages use the following code
    1) Coding Method:
    <META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE">
    2) Browser setting:
    You can adjust the space to store the temporay files. On the Tools menu in Internet Explorer, click Internet Options, On the General tab, click Settings. you can select the newer version radio button also, adjust the "amount of disk space to use" slider towards the left side(equivalent to disable the cache)..
    cheers
    -balaji

  • Excel Workbook with Excel Data Model stored on SharePoint - daily refresh

    I'm not sure if this is exactly the right forum but I'm hoping that someone here can either answer or point me in the right direction.
    I have an Excel Workbook with an Excel Data Model.
    The Excel Data Model uses SQL to contact our data warehouse and pull through data into tables.
    We are storing the Workbook on a SharePoint site and viewing it using Excel Services.
    The data in our data warehouse is updated daily and so I would like to refresh the workbook daily and remove the option to refresh the data in the browser.
    Is this possible with a workbook that has an Excel Data Model (I've seen lots of posts that relate to workbooks with connections to tabular models).
    Thanks
    Paul

    Hi Paul,
    I have answered this issue in this thread that you posted in SQL Server PowerPivot for SharePoint forum, please see:
    http://social.msdn.microsoft.com/Forums/en-US/9627939c-e9f1-48ae-a6ed-0c238d8f2d69/excel-workbook-with-excel-data-model-stored-on-sharepoint-daily-refresh?forum=sqlkjpowerpointforsharepoint
    Furthermore, this issue is more related to PowerPivot for SharePoint. If you have any more questions about PowerPivot for SharePoint, I would sugget you open a new thread in the forum below for better support:
    http://social.msdn.microsoft.com/Forums/en-US/home?forum=sqlkjpowerpointforsharepoint
    Thanks for your understanding.
    Regards,
    Elvis Long
    TechNet Community Support

  • Refresh Excel data/charts reports in sharepoint

    Hi all,
    I created an Excel report with some Pivot Charts, starting from a
    Sharepoint list data.
    The Excel is saved in a document library of the site.
    The aim is to keep Excel data/charts updated with the values of the corresponding
    list.
    When I open the Excel with Excel Online and click on "Data" - "Refresh all", I see no updates.
    Anyway, if I export the Excel on my pc and click on refresh data, I can see the updates.
    Any solutions? Thanks in advance

    You can't refresh the SharePoint List data in Excel this way. I thought you are using SharePoint server then you need to configure power pivot for your form after that you can get the Odata feed from the SharePoint list using the Odata source you can refresh
    the data in excel online.
    PowerPivot Configuration:
    http://rajeshagadi.blogspot.in/2013/07/installing-powerpivot-for-sharepoint.html
    Connect Odata feed to Excel
    http://blogs.technet.com/b/excel_services__powerpivot_for_sharepoint_support_blog/archive/2014/02/24/powerpivot-scheduled-data-refresh-from-a-sharepoint-list-using-odata-data-feed-connection-powerpivot-2012-sp1-for-sharepoint-2013.aspx
    http://www.sptechcon.com/news/sharepoint-dashboard-excel
    Ravin Singh D

  • EXCEL ONLINE - Automaticly refresh data in excel from the online data

    Hi
    Love some help with this one
    QUESTION
    Is their anyway 5 users can use excelonline fileA and also keep a uneditable version fileA open in desktop excel and manually refresh the desktop version to see the latest version of the document in uneditable mode still of course?
    DESRCIPTION
    We use excelonline for about 5 users to access the same 5MB excel file. Now because excelonline does not allow marcos to be run, proper printing and proper copy and paste in html formats (we need to copy and paste sheets into outlook in html format or run
    macros) we need to open the desktopexcel application to use printing and copy functions into outlook.
    All 5 users need to enter the data in excelonline then SYNC now in sharepoint so the excel is updated and then open desktopexcel then a pop up to use latest server version asks us to use latest. We want latest so we then click okay. Great we now have the
    latest data. We can then run macros etc....
    We then close down desktopexcel and enter more online data through the day and have to repeat SYNC now in sharepoint so the excel is updated and then open desktopexcel then a pop up to use latest server version asks us to use latest. We want latest so we
    then click okay. Great we now have the latest data. We can then run macros etc....
    We have to repeat this many times over the same day... that is 5 people doing like this though out the day. Wasting alot of time.
    QUESTION
    Is their anyway 5 users can use excelonline fileA and also keep a uneditable version fileA open in desktop excel and manually refresh the desktop version to see the latest version of the document in uneditable mode still of course?
    Regards
    Lee

    Thank you.
    If I understand correctly from your advice, that is I should create QaaWs to pull data from SAP BI, which will return data in tabular format. Map the data in the cell range of a hidden tab, re-arrange and format the data into the row?
      Another concern: I need to display data for 4 quarters (Q1, Q2, Q3,Q4) in the dashboard, but QAAWS will only pulls data when the data is available in the database.
       Eg. Only data for 3 quarters are found in the database, QAAWS will return data for Q1, Q2,Q4.
             This will mess up the position fixed in the xcelsius. Do you have any suggestion on this?
       Sorry to bother u for the simple questions.
       Thank you.

  • Excel Pivot (molap) will not refresh from an SSAS box that is not part of the Farm

    I have spent hours trying to get this working going through many links.  One of the best ones is this.
    http://whitepages.unlimitedviz.com/2010/12/connecting-to-cubes-and-external-data-with-excel-in-sharepoint/
    However even after doing all of this it is still not working.  Here is my set up.  I have a sharepoint 2013.  I am trying to connect to my DW SSAS server that is on a different domain and not part of the farm.  Everything else seems to
    work but excel.  I have power view connecting and creating great reports with refesh working perfect.  I have performance point working.  I have Reporting Services working.  We installed adventureworks on the local SSAS farm version and
    excel is working with this and refreshed just fine.  I can ceate and excel report and save it to sharepoint but when I open it I get the famous error.
    An error occurred during an attempt to establish a connection to the external data source. The following connections failed to refresh:
    I can open in excel and then refresh all from excel and all works fine.  I do not want my users to have to go through this.  They should be able to use excel in sharepoint.  Any ideas on what I am missing.  I have tried to follow exactly
    what the link above says but still not working.
    Ken Craig

    The first article is checking to make sure power pivot is installed and local ssas is running. This could not be an issue since like I mentioned I can create a Excel report to the local farm version of ssas and it opens and refreshed fine.  That
    would mean that power pivot is installed and the services are running right:)?
    The second article I have done over and over and I am pretty sure this works.  Again I can export to excel and it works just fine meaning my Data source is valid right?  yes I have chosen "none" as well.
    The third article talks about the different viewers.  Mine is using
    xlviewer.aspx so I would assume this is not the issue. 
    Here is what I am seeing in the logs but I am not sure what they are saying.  I used uls view somewhat like you would profiler. I started it tried to open excel and then stopped it.  Below are logs that look like they pertain to this action.
    ConnectionManager.GetConnection: Failed to create new connection, exception=Microsoft.Office.Excel.Server.CalculationServer.Interop.ConnectionException: Exception of type 'Microsoft.Office.Excel.Server.CalculationServer.Interop.ConnectionException' was thrown.   
    at Microsoft.Office.Excel.Server.CalculationServer.Interop.ConnectionInterop.InitConnection()   
    at Microsoft.Office.Excel.Server.CalculationServer.ConnectionManager.<>c__DisplayClass8.<CreateConnection>b__5()   
    at Microsoft.Office.Excel.Server.CalculationServer.CredentialsTrustedSubsystem.TryExecuteImpersonated(ExecuteImpersonatedMethod method)   
    at Microsoft.Office.Excel.Server.CalculationServer.ConnectionManager.CreateConnection(Credentials credentials, ConnectionInfo connectionInfo, Int32 keyLcid, Uri workbookUrl, Boolean auditConnection, SessionId sessionId), sessionId=1.V23.297S76/z2k/Evl+S78bqiKj14.5.en-US5.en-US36.5a800c6f-758b-44e2-a092-e592f15e09771.A1.N,
    connectionString=Provider=MSOLAP.5;Integrated Security=SSPI;Persist Security Info=True;Data Source=BIL-BIRSTDB\ASADMIN;Initial Catalog=Ecomm OLAP pool count=0
    ConnectionManager.GetConnection: Caught an exception: Microsoft.Office.Excel.Server.CalculationServer.Interop.ConnectionException: Exception of type 'Microsoft.Office.Excel.Server.CalculationServer.Interop.ConnectionException' was thrown.   
    at Microsoft.Office.Excel.Server.CalculationServer.Interop.ConnectionInterop.InitConnection()   
    at Microsoft.Office.Excel.Server.CalculationServer.ConnectionManager.<>c__DisplayClass8.<CreateConnection>b__5()   
    at Microsoft.Office.Excel.Server.CalculationServer.CredentialsTrustedSubsystem.TryExecuteImpersonated(ExecuteImpersonatedMethod method)   
    at Microsoft.Office.Excel.Server.CalculationServer.ConnectionManager.CreateConnection(Credentials credentials, ConnectionInfo connectionInfo, Int32 keyLcid, Uri workbookUrl, Boolean auditConnection, SessionId sessionId)   
    at Microsoft.Office.Excel.Server.CalculationServer.ConnectionManager.CreateConnectionAndAddToList(ConnectionRequest connectionRequest, ExtendedConnectionInfo extendedConnInfo, Credentials credentials, Boolean auditConnection, Int32 keyLcid, ConnectionKey
    connectionKey, AutoReaderWriterLock autoPoolLock, Connection& connection, ConnectionList& connectionList)   
    at Microsoft.Office.Excel.Server.CalculationServer.ConnectionManager.GetConnection(ConnectionRequest connectionRequest, ExtendedConnectionInfo extendedConnInfo, Credentials credentials, Int64 privateConnectionId, Boolean auditConnection)
    Refresh failed for 'BIL-BIRSTDB_ASADMIN Ecomm OLAP Report' in the workbook 'http://eagleviewportal/BusinessIntelligenceCenter/Templates/Ecomm Report Power Pivot Default.xlsx'. [Session: 1.V23.297S76/z2k/Evl+S78bqiKj14.5.en-US5.en-US36.5a800c6f-758b-44e2-a092-e592f15e09771.A1.N
    User: 0#.w|hqeagleview\ken.craig]
    ExternalSource.ValidateConnection: Unable to get a connection: Microsoft.Office.Excel.Server.CalculationServer.Interop.ConnectionException: Exception of type 'Microsoft.Office.Excel.Server.CalculationServer.Interop.ConnectionException' was thrown.   
    at Microsoft.Office.Excel.Server.CalculationServer.Interop.ConnectionInterop.InitConnection()   
    at Microsoft.Office.Excel.Server.CalculationServer.ConnectionManager.<>c__DisplayClass8.<CreateConnection>b__5()   
    at Microsoft.Office.Excel.Server.CalculationServer.CredentialsTrustedSubsystem.TryExecuteImpersonated(ExecuteImpersonatedMethod method)   
    at Microsoft.Office.Excel.Server.CalculationServer.ConnectionManager.CreateConnection(Credentials credentials, ConnectionInfo connectionInfo, Int32 keyLcid, Uri workbookUrl, Boolean auditConnection, SessionId sessionId)   
    at Microsoft.Office.Excel.Server.CalculationServer.ConnectionManager.CreateConnectionAndAddToList(ConnectionRequest connectionRequest, ExtendedConnectionInfo extendedConnInfo, Credentials credentials, Boolean auditConnection, Int32 keyLcid, ConnectionKey
    connectionKey, AutoReaderWriterLock autoPoolLock, Connection& connection, ConnectionList& connectionList)   
    at Microsoft.Office.Excel.Server.CalculationServer.ConnectionManager.GetConnection(ConnectionRequest connectionRequest, ExtendedConnectionInfo extendedConnInfo, Credentials credentials, Int64 privateConnectionId, Boolean auditConnection)   
    at Microsoft.Office.Excel.Server.CalculationServer.ExternalSource.TryGetValidatedConnection(Request request, ConnectionRequest connectionRequest, ExternalDataScenario scenario, Credentials credentials, ExtendedConnectionInfo extendedConnectionInfo, Int64
    privateConnectionId, Boolean shouldReportFailure, Connection& connectionOut). sessionId=1.V23.297S76/z2k/Evl+S78bqiKj14.5.en-US5.en-US36.5a800c6f-758b-44e2-a092-e592f15e09771.A1.N, externalSource=BIL-BIRSTDB_ASADMIN Ecomm OLAP Report
    ExternalDataUtility.ExecuteOperation: We exhausted all available connection information. Exception: Microsoft.Office.Excel.Server.CalculationServer.Interop.ConnectionInfoException: Exception of type 'Microsoft.Office.Excel.Server.CalculationServer.Interop.ConnectionInfoException'
    was thrown.   
    at Microsoft.Office.Excel.Server.CalculationServer.ConnectionInfoManager.GetConnectionInfo(Request request, String connectionName, ExtendedConnectionInfo extendedConnInfo, Boolean& shouldReportFailure)   
    at Microsoft.Office.Excel.Server.CalculationServer.ExternalDataUtility.GetExtendedConnectionInfo(IExternalDataObject extObject, ConnectionInfoManager connectionInfoManager, Request request, Int32 externalSourceIndex, Boolean ignoreErrors, ExternalDataScenario
    scenario, Exception& lastException, Boolean& shouldReportFailure)   
    at Microsoft.Office.Excel.Server.CalculationServer.ExternalSource.GetConnection(ExternalKey externalKey, Int32 externalSourceIndex, ExternalQueryKey externalQueryKey, ConnectionRequest connectionRequest, Int64 privateConnectionId, ExternalDataScenario scenario,
    Boolean prepare), Data Connection Name: BIL-BIRSTDB_ASADMIN Ecomm OLAP Report, SessionId: 1.V23.297S76/z2k/Evl+S78bqiKj14.5.en-US5.en-US36.5a800c6f-758b-44e2-a092-e592f15e09771.A1.N, UserId: 0#.w|hqeagleview\ken.craig
    Ken Craig

  • Powerpivot for sharepoint error: Unable to refresh data for a data connection in the workbook

    Hello,
     I have three errors when i try to use a simple powerpivot workbook published in sharepoint: (nothing on google has help me..)
    1-Unable to refresh data for a data connection in the workbook.
    Try again or contact your system administrator. The following connections failed to refresh:
    PowerPivot Data
    2-The embedded PowerPivot data in the workbook cannot be loaded due to a version mismatch
    3-01/21/2012 17:26:47.08  w3wp.exe (0x1950)                        0x0AD0 Excel Services Application     Excel
    Calculation Services     bccc Medium   Session.HandleTrimmedWorkbookReloading: userOperation ApplySlicerSelectionOperation requires BaseWorkbook: "http://crm2011:2020/Marketing%20Reports/test2_excel32bits.xlsx"
    [0x409] [Saturday, 21 January 2012 09:40:18] [BaseWB ID: 2] to be untrimmed if it is currently trimmed. The workbook is currently NOT trimmed. fb614a65-e398-4b97-a98d-fb7b23eab39f
    01/21/2012 17:26:47.08  w3wp.exe (0x1950)                        0x0AD0 Excel Services Application     Excel Calculation
    Services     f1va Medium   CWorkbookWrapper::CWorkbookWrapper: Created with ID=4 fb614a65-e398-4b97-a98d-fb7b23eab39f
    01/21/2012 17:26:47.09  w3wp.exe (0x1950)                        0x0AD0 Excel Services Application     Excel Calculation
    Services     eq3r Medium   ConnectionRequest.ConnectionRequest: New connection request. SessionId=1.V21.4PI+fCwIq52LH++nOoMzs90.5.en-US5.en-US73.-0060#0000-10-00-05T03:00:00:0000#+0000#0000-03-00-05T02:00:00:0000#-006036.bfceb31b-7122-46ca-9e2a-ae52cefcfcaf1.N,
    WorkbookVersion=ConnectionInfo.WorkbookVersion: Uri=http://crm2011:2020/Marketing Reports/test2_excel32bits.xlsx, Version=Saturday, 21 January 2012 09:40:18 fb614a65-e398-4b97-a98d-fb7b23eab39f
    01/21/2012 17:26:47.12  w3wp.exe (0x1950)                        0x0AD0 Excel Services Application     Excel Calculation
    Services     aysl Medium   Succeeded to initialize a chart. fb614a65-e398-4b97-a98d-fb7b23eab39f
    01/21/2012 17:26:47.12  w3wp.exe (0x1950)                        0x0AD0 Excel Services Application     Excel Calculation
    Services     8xk9 Medium   ExternalSource.ExecuteOperation: We exhausted all available connection information. Exception: Microsoft.Office.Excel.Server.CalculationServer.Interop.ConnectionInfoException: Exception of type
    'Microsoft.Office.Excel.Server.CalculationServer.Interop.ConnectionInfoException' was thrown.     at Microsoft.Office.Excel.Server.CalculationServer.ConnectionInfoManager.GetConnectionInfo(Request request, String externalSourceName, Int32
    externalSourceIndex, Boolean& shouldReportFailure)     at Microsoft.Office.Excel.Server.CalculationServer.ExternalSource.ExecuteOperation(Request request, ExternalSourceStateInfo externalSourceStateInfo, ExternalSourceStateInfo prevExternalSourceStateInfo,
    Int32 index, ConnectionInfoManager connectionInfoManager, ExternalDataScenario scenario, DataOperation dataOpe... fb614a65-e398-4b97-a98d-fb7b23eab39f
    01/21/2012 17:26:47.12* w3wp.exe (0x1950)                        0x0AD0 Excel Services Application     Excel Calculation
    Services     8xk9 Medium   ...ration, Boolean verifyPreOperationConnection), Data Connection Name: PowerPivot Data, SessionId: 1.V21.4PI+fCwIq52LH++nOoMzs90.5.en-US5.en-US73.-0060#0000-10-00-05T03:00:00:0000#+0000#0000-03-00-05T02:00:00:0000#-006036.bfceb31b-7122-46ca-9e2a-ae52cefcfcaf1.N,
    UserId: 0#.w|contoso\manager fb614a65-e398-4b97-a98d-fb7b23eab39f
    My server and client olap versions are the same: MSOLAP.5, i used sql server 2008 R2 SP1 and sharepoint 2010 SP1 and reboot or iisreset have no effect
    Thanks in advance for your help

    Hello Challen Fu
    I would be so grateful if you could please help me out
    I have been trying to find a solution to the same error message
    In my case, the power pivot reports were working before on a regular team  site , but then two things changed:
    a)  I  created a toplevel site using the BI Center template. Now I am using a Business Intelligence template , created a power pivot gallery library and uploaded a few powerpivot reports
    b)  On the  backend, the database instance was upgrated to SQL Server 2012 
         Front end Server VDSP01  remains  SQL Server 2008 R 2 where Sharepoint 2010  was installed as a FARM  
    Now, the reports will display in sharepoing however they will not refresh. the error message i get is the same.
     Scenario recap:
    a- Server VDSP01  uses SQL Server 2008 R 2 where Sharepoint 2010  was installed as a FARM
    b- On the back end,  the database instance name was replaced with SQL 2012 Server:
               from SQL Server 2008 R 2 (instance DBDEV-COTS\COTS)
               to     SQL Server 2012 ( instance VTSQL01\COTS)
    c-  I was told that:
         From VDSP01, they ran
    CliConfg.exe   to create SQL Server Alias :
           where    BEFORE: vdsharepoint -->  DBDEV-COTS\COTS
                and  AFTER    : vdsharepoint -->  VTSQL01\COTS
     I appreciate in advance any help you can provide<v:shapetype coordsize="21600,21600" filled="f" id="_x0000_t75" o:preferrelative="t" o:spt="75" path="m@4@5l@4@11@9@11@9@5xe" stroked="f">
      <v:stroke joinstyle="miter">
      <v:formulas>  <v:f eqn="if lineDrawn pixelLineWidth 0">
      <v:f eqn="sum @0 1 0">
      <v:f eqn="sum 0 0 @1">
      <v:f eqn="prod @2 1 2">
      <v:f eqn="prod @3 21600 pixelWidth">
      <v:f eqn="prod @3 21600 pixelHeight">
      <v:f eqn="sum @0 0 1">
      <v:f eqn="prod @6 1 2">
      <v:f eqn="prod @7 21600 pixelWidth">
      <v:f eqn="sum @8 21600 0">
      <v:f eqn="prod @7 21600 pixelHeight">
     <v:f eqn="sum @10 21600 0">
    </v:f></v:f></v:f></v:f></v:f></v:f></v:f></v:f></v:f></v:f></v:f></v:f></v:formulas>
     <v:path gradientshapeok="t" o:connecttype="rect" o:extrusionok="f">
    <o:lock aspectratio="t" v:ext="edit">
    </o:lock></v:path></v:stroke></v:shapetype> <v:shape alt="" id="Picture_x0020_2" o:spid="_x0000_i1025" style="width:630pt;height:475.5pt;" type="#_x0000_t75">
    <v:imagedata o:href="cid:[email protected]" src="file:///C:\Users\wlarange\AppData\Local\Temp\msohtmlclip1\01\clip_image001.jpg">
    </v:imagedata></v:shape>
    wanda larangeira

  • Excel 2010 Pivot Table VBA Not Refreshing Table

    My company recently upgraded from Excel 2003 to 2010. I had VBA written to take source data and convert it into a number of Pivot Tables on a number of worksheets. It has been working fine for years. After upgrading to 2010 the VBA crashed. I tracked it
    down to the fact that when my code was making changes to the Pivot Tables (changing fields, filters, etc...) the pivot table on the worksheet had no data, but the fields were there. I can manually go to the pivot table and manually refresh and all the data
    comes in.
    So I tried adding the VBA code to refresh the pivot table, but the pivot tables will not refresh with data.
    I tried:
    ActiveSheet.PivotTables("WO Pivot").RefreshTable
    and
    ActiveWorkbook.RefreshAll
    And these did not work.
    I also tried recording a macro for the manual steps to refresh and got:
     ActiveSheet.PivotTables("WO Pivot").PivotCache.Refresh
    This does not work either.
    The PivotTable name is correct, but I tried using the number as well, and the name works for other code manipulating the the pivot table.
    e.g.:
    With ActiveSheet.PivotTables("WOPivot").PivotFields("Task Title")
          .Orientation = xlRowField .Position = 2
          .Subtotals = Array(False, False, False, False, False, False, False, False, False, False, _False, False)
    End
    With Why isn't this working? Is there another way to refresh pivot table data in 2010?
    Thanks. P.S. I've tried formating this so it is readable, but it comes out garbled. Hope this looks better.

    The solution above didn't work for me, but the following did the trick:
    ActiveSheet.PivotTables("WOPivot").PivotCache.Refresh
    By the way, I identified it by recording a macro, then going on the Pivot Table that needed refreshing and pressing F9 to refresh it. The line of VBA code above was the result.
    Cheers,
    Marco.

Maybe you are looking for

  • Safari 5.1.2 Youtube HTML5-Video issues

    Fullscreen-Button on Youtube doesn't work for HTML5 videos on Youtube in Safari. Also there are problems with the video performance. The process QTKitServer Safari Webcontent has 105% CPU, the whole MacBook is very slow in that moment. This is only a

  • Disk Utility - create ISO Data DVD image for burning?

    Which are the exact options in Disk Utility that I need to select, in order to create an ISO DVD Data image that will be readable by PCs and Macs alike? I have looked on the web and in the help but am none the wiser due to lack of an explanation of t

  • Error -50 while trying to export my project

    Good evening, I built a 1h18 project. Then, I chose to delete not used plans from the associated event. As my project is too big to share it on my MobileMe gallery, I would like, either to share it in a smaller format, or to export it or to build a D

  • Help with removal!

    Ok, I installed Oracle 9i for a class in 2003 and never used it. The problem is, I cant uninstall this beast. The universal installer is not working as I think the file is corrupt because the computer cant find the file. Is there a way to manually un

  • How can I ensure that my iPad is virus free?

    wwhen I'm surfing on a site suddenly a message appeared showing that virus detected scan now . I immediately closed that one. so I now thinking how my iPad is virus free without scan by any antivirus ?