+ Reply to Thread
Results 1 to 1 of 1

Excel 2007 : Download and open an .xlsm with a pivot table causes a Data Connection Security Alert

  1. #1
    Registered User
    Join Date
    08-31-2011
    Location
    Mass, USA
    MS-Off Ver
    Excel 2007
    Posts
    2

    Download and open an .xlsm with a pivot table causes a Data Connection Security Alert

    Hi,
    Please let me know if there is a better place to post this kind of a technical question.
    I have a .xlsm Excel 2007 workbook (I did not try it with a .xlsx). When i open it by double clicking it from windows explorer, there is no issue. When the file is streamed from a website to the browser (with this header - response.addHeader("content-disposition", "attachment; filename=" + some-file-name)) and opened (instead of saved when the browser prompts you), i get a "Security Warning - Data connections have been disabled" warning and the [Options...] button. This issue started after adding a Pivot Table to the file (I also tried it with a very simple .xlsm to confirm the behavior and the cause).

    Clicking the Options button brings up a "Security Alert - Data Connection" popup with 2 radio button options: (1) help protect me from unknown content (recommended), and (2) enable content.
    selecting (1) and click ok
    select pivot table and refresh, get this popup error: .... security concern. The operation connects to an external data source..
    when i click OK, i get another popup error: "Cannot open PivotTable source file 'C:\Documents and Settings\USERID\.......\[......some-file-name [1].xlsm]Sheet1'", with an OK button, if i click ok, the pivot table does not update
    (Note: if both the server where the document was streamed from, and the client (the machine where the excel spreadsheet is opened) are the same machine, I don't get the last popup "Cannot open pivot table ....".

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1