Jump to content

Read text file with extension .DAT on Windows


Diane Seidel

Recommended Posts

I have a text file with the extension .DAT
Is there no way to read this file into Spotfire without copying it to a different file name?  The file name is automatically generated by a third party software and other integrated software expects the .DAT extension so it would not be ideal to be forced to have two copies of all of the files in order to get it into Spotfire.

When I try, this is the message
Error message: The file 'xxxx.DAT' cannot be opened. It may be damaged or in an unknown format.

ImportException at Spotfire.Dxp.Data:
Could not open file 'xxxx.DAT'. (HRESULT: 80131500)

Stack Trace:
   at Spotfire.Dxp.Data.Access.AddData.DataSourceAddDataFlow.<CreateFileDataSourcesFromFilePaths>d__6.MoveNext()
   at System.Linq.Enumerable.<ZipIterator>d__61`3.MoveNext()
   at Spotfire.Dxp.Data.Access.AddData.DataSourceAddDataFlow.FromFileHandles(IServiceProvider serviceProvider, IReadOnlyCollection`1 fileHandles)
   at Spotfire.Dxp.Data.Access.AddData.AddDataController.OpenFileHandles(AddDataEngine addDataEngine, IReadOnlyCollection`1 fileHandles)


FileLoadException at Spotfire.Dxp.Framework:
The file 'xxxx.DAT' cannot be opened. It may be damaged or in an unknown format. (HRESULT: 80131621)

Stack Trace:
   at Spotfire.Dxp.Framework.Persistence.PersistenceManager.InternalOpen(IFileHandle fileHandle, LicenseManager licenseManager)
   at Spotfire.Dxp.Data.Access.AddData.DataSourceAddDataFlow.<CreateFileDataSourcesFromFilePaths>d__6.MoveNext()
 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...