community
cancel
Showing results for 
Search instead for 
Did you mean: 

Alteryx Knowledge Base

Definitive answers from Designer experts.

Error(s) when opening XLS files after applying Microsoft’s October 2017 updates

Alteryx
Alteryx
Created on

UPDATE 11/20/2017:

Microsoft released a fix for the XLS issue described below, this fix is included in their November 14, 2017 Monthly rollup.

 

For your convenience, this is the link to the fix for Windows 10

https://support.microsoft.com/en-us/help/4048954/windows-10-update-kb4048954

 

And this is for Windows 7 and other OS

https://support.microsoft.com/en-us/help/4048957/windows-7-update-kb4048957

 

 

 We’ve been made aware of an issue connecting to .xls files with the File Format: Microsoft Excel 97-2003 (*.xls). The behavior manifests in two ways.

 

As an error pop-up box:

 error box.png

'InvalidArgument=Value of '0' is not valid for 'itemIndex'. Parameter name: itemIndex'

 

Within the Results - Messages pane of the Designer or on the Annotation associated with the impacted tool:

Error: Input Data (2): Error opening connect string: Microsoft JET Database Engine: Unexpected error from external database driver (1).\3275 = -535434136

 

The error box appears when an Input Data tool is configured to open an .xls file for the first time ever (if there are cached tables, then the error box will not appear). The Annotation and Results pane error message occurs when an .xls file is dragged directly onto an Alteryx designer canvas or when a workflow containing an Input or Output tool that connects to an .xls file using the above format is run (within the designer, a server, or on a schedule), respectively.

 

The error and experience are discussed in this Alteryx Community post, though you can also read about the issue on this external forum and here, documenting this is a widespread experience across many platforms. Towards the bottom of the external forum post, you can see a comment from a Support Engineer on the Microsoft SQL BI team stating that Microsoft recommends not using the Microsoft JET engine drivers as the current solution to the issue. We detail below how to follow that directive within Alteryx.

 

The root cause of the error comes from Microsoft’s October Security Update (links below).

 

If you have already had the update installed, must remain using the update, or choose to proceed with the update, you will experience this behavior. In those situations, here are a couple options available to you.

 

  1. For new or existing workflows:
    • Within Excel, manually save the .xls file as a .xlsx file and within Alteryx update tools pointing to the old file to point to the new file or Browse to the new file within an Input Data tool
  2. For existing workflows:
    • Within Alteryx, manually change the File format to ‘Microsoft Excel Legacy (*.xlsx)’ within the affected Input Data or Output Data tool (described below)
  3. For new workflows/new Input Data tools you will not be able to manually Browse out to the .xls file and read it in as you will receive the pop-up error message desribed above. Your options are:
    • Drag and drop the desired .xls file from the Windows explorer box onto the Designer canvas and then manually change the File format to 'Microsoft Excel Legacy (*.xlsx)'
    • Drag an Input Data tool onto the canvas and paste the full path of the desired .xls file into the Connect to a Database box within the Configuration pane and then manually change the File format to 'Microsoft Excel Legacy (*.xlsx)'

Option 2 and 3 Step-by-Step

  1. Determine if you have the “Microsoft Excel Legacy (*.xlsx)” option available within your Input Data tool. You can determine this by loading any file into an Input Data tool, and then clicking the “File Format” drop-down. If you have this option, you can skip to Step 7.

    no 1.png
  2. Determine the “bitness” of your Office Installation. The file you download will depend on whether you are running a 32-bit or 64-bit version of Office.

    https://support.office.com/en-us/article/About-Office-What-version-of-Office-am-I-using-932788B8-A3C...

    In this screenshot, I’m using a 32-bit copy of office.

    no 2.png
  3. Browse to the Microsoft Access Database Engine 2010 Redistributable page and click “Download”

    https://www.microsoft.com/en-us/download/details.aspx?id=13255
  4. Select the download that matches your Office “bitness” from before, then click “Next”. The file will begin to download. Save the file to a location that you can run it from.

    no 4.png
  5. Run the previous installer you downloaded. You can simply click “Next” or “Install” through the installation utility, as options do not need to be changed. Once you receive the dialog that the setup has completed successfully, you can click “OK” and continue to the next step.

    no 5.png
  6. If Alteryx Designer was open prior to the installation, you should close the program fully, saving your work, and then re-open Alteryx Designer. Otherwise, if Alteryx Designer was not already open, you can open it now.
  7. Within Alteryx Designer:
    Open the workflow with the issue in Alteryx Designer.
    b. Click on your Input Data or Output Data tool that is experiencing the issue. (Refer to Option 3 above if you are receiving the pop-up error box while connecting to an .xls file for the first time)
    c. Click the “File Format” drop-down and choose “Microsoft Excel Legacy (*.xlsx)”

    no 7c.png

    d. Data should now display in the preview window and the error should no longer appear if you click off the tool or run the workflow.

    no 7d.png

 

 

We understand this is likely to be a frustrating experience for our users and we are investigating what can be done from the Alteryx side to produce a fix for the issue. We are also following the Microsoft posts to understand what their response will be and if they will take any action toward resolution. Please contact Customer Support to report your experience with this issue, as that will allow us to contact any impacted users directly if and when there is a fix made available.

 

Updates associated with the error:

Windows 7, Windows Server 2008 R2 - https://support.microsoft.com/en-us/help/4041681/windows-7-update-kb4041681

Windows Server 2012 - https://support.microsoft.com/en-us/help/4041690/windows-server-2012-update-kb4041690

Windows 8.1, Windows Server 2012 R2 - https://support.microsoft.com/en-us/help/4041693/windows-81-update-kb4041693

Windows 10 Original - https://support.microsoft.com/en-us/help/4042895

Windows 10 1511 - https://support.microsoft.com/en-us/help/4041689

Windows 10 1607, Windows Server 2016 - https://support.microsoft.com/en-us/help/4041691

Comments
Alteryx
Alteryx

UPDATE: According to this Microsoft Support page, they are 'working on a resolution and will provide an update in an upcoming release.' We are still investigating a fix for Alteryx and will provide an update when we have one!

Quasar

Unfortunately this has impacted many of my applications. So frustrating to have an inbox full of app failure notifications --- especially since some of my peers were just starting to have confidence in Alteryx apps!

 

Thanks for this post. Super informative and I'm troubleshooting now.

Alteryx
Alteryx

@ddiesel I am sorry to hear about the inbox full of errors! Especially in light of the exciting comment about your peers getting started on their Alteryx journey. Please follow up with the Support team to log this issue and also to investigate all of the options available to you to mitigate this negative experience for you and your colleagues!

Meteor

Hi @ddiesel

 

I am using Alteryx 11.5 on a server and Microsoft Excel Legacy (*.xlsx) is not one of the input file options. What am I to do in this case?

xls error.png

Alteryx
Alteryx

@Citauma sounds like you do not have the Legacy driver installed. You should be able to follow the step-by-step guide to determine which download to proceed with in order to get the option. Once you've succesfully downloaded and installed the drivers, you may need to restart Alteryx to see it as an option.

Meteor

I was able to get this working using the "Legacy" File Format. 

The biggest downside of this is that the Output Options does not come with the "Delete Data & Append" option...now I have to overwrite the file, which means the formatting of the Excel sheet gets erased. 

 

This really causes a ton of frustration on the users that are trying to consume the output file. I'm hoping this can be fixed soon.

Atom

New user to Alteryx, but hit this error while working through the tutorial. My coworker was unable to recreate the issue. We compared Alteryx version numbers, he has 11.3, and I have 11.5.

Alteryx
Alteryx

Great News!  Microsoft has released a fix for this issue.  It is in their November 14, 2017 Monthly rollup.

Meteoroid
@LindaT - thanks for the info, any idea if/when Windows Server 2012 R2 might get this?
Alteryx
Alteryx

It appears to be available for all OS's at this time.  You can find it on the Microsoft site, if the November 14, 2017 Monthly Rollup hasn't shown up in your Windows Updates.

Alteryx
Alteryx

For your convenience, this is the link to the fix for Windows 10 

https://support.microsoft.com/en-us/help/4048954/windows-10-update-kb4048954

 

And this is for Windows 7 and other OS

https://support.microsoft.com/en-us/help/4048957/windows-7-update-kb4048957

Meteoroid
Thank you for the quick reply Linda - so reading the description, once we apply this rollup, there should be no need to install the Microsoft Excel Legacy driver on our servers Smiley Happy
Alteryx
Alteryx

That is correct!   We verified their update and everything is back to normal with the XLS files.

Alteryx
Alteryx

I would add that going forward it may be prudent to start a habit of building workflows (in an out of Alteryx), in as many scenarios as possible, that do not rely on the JET driver. Perhaps this experience will mean that in the future the driver won't break without warning, but that isn't to say it will continue to be supported long-term.

I was able to get this to work using a .xlsx conversion.   Do I still need to create an upgrade to Windows 7 OS for future use of .xls files?

Thanks for publicizing this issue and various methods of fixing the issue.

 

Meteoroid
I'd recommend applying security updates regardless. It sounds like you have control over the format of your source data file though? I guess my interpretation of the thread (including the note from CailinS about avoiding the JET driver) was that if we can avoid .xls sources - we should Smiley Happy

Jakub - I work in a corporate environment where I have no control over which updates are applied.   Therefore, the update from 12-13-2017 was applied to my PC but this optional Windows Update (KB4041686) was not applied.   Unfortunately, I do not have admin rights for my PC and I am now applying to my IT department to get this fix manually pushed to my PC.   A little red tape here, but I will get it applied.   The reason I need want the update is that I will not always be able to avoid the .xls source.   This update will prepare me for future files that might be .xls.  However, I have fixed my issue by renaming my current file and my workflow runs smoothly again.

Thanks for your input on avoiding .xls sources in the future as I will incorporate that in new workflows.

 

 

 

Alteryx
Alteryx

@DavidAngevine yes the only total fix available at this time is the Microsoft update - hopefully you can work it out with IT!

Meteor

Dear all,

 

We have the same type of problem here in October 2018 with one of the Windows patch. We tried the manipulation you've suggested last year, but we have another error:

"Error opening connect string: Microsoft Access Database Engine: External table is not in the expected format.\3274 = -328602519

Atom

I am getting the same error like Anne-Lise ("Error opening connect string: Microsoft Access Database Engine: External table is not in the expected format.\3274 = -328602519") and the solution provided above didn't help.

 

Any other suggestion?

Alteryx
Alteryx

@NicolaK @Anne-Lise I believe a Customer Support case has been opened on your behalf. If you have not received communication about your experience yet from someone in Support please feel free to open a new case with us for follow-up! 

Meteoroid

I have the same issues with @NicolaK and @Anne-Lise. I have also created a new case with Alteryx Support but no resolutions are given to me. And now Alteryx Support is about to close my case. Please assist. 

Meteor

No news on my side either since the unsuccessfull attemps by installing Access 2010 driver.

Meteoroid

Hi @Anne-Lise, did you download the 32bit or 64bit Access Database Engine? 

Hi,

I have the same issue too and i downloaded the 32 bit Access database engine as suggested but ended up getting the error ""Error opening connect string: Microsoft Access Database Engine: External table is not in the expected format.\3274 = -328602519"

Meteor

Hi @domo_arigatoo

 

I don't know, this is our IT Department which manages version... for other applications I'm running with 64 bits, so I would assume this is also the case here...