How to coorect a corrupted excel file - asp.net

how to correct a excel file which is on opening giving message as 'Excel cannot open the file because the file format or file extension is not valid,verify that the file has not been corrupted and the file extension matches the format of the file.

Try to open the MS Excel file in safe mode. If it's opening in safe mode then delete the COM Add-ins.
If above option won't work the repair MS Office.
Good Luck!

Related

How to open SQLite3 database that has .edb extension

As you may see from the picture below there are few files:
.exe file which is reading data.edb file
sqlite3.dll which is obviously being used to read data.edb
data.edb contains all the data
Obviously SQLIte3 is being used to read the database, but I cannot load data.edb manually. Does anyone have any idea how to do it?

How to open .xls file in kofax RPA 10.4?

I have extracted a .xls(OLD file format of Excel) file form SAP application and trying to open .xls(not .xlsx) file in Kofax RPA 10.4. But it give's me an error. I have added a step and select Action as "load file". Please see screenshot for batter understanding.
Load file step configuration
Error
I think there is no module to open .xls file in Kofax RPA 10.4. Or is it depended on System(OS) Microsoft Office version?
If you know, please share with us. TIA.
You should select the output "extract to variable" and create an "open variable" action, select the variable that had assigned from the load file.
enter image description here

How can I read the excel file(xslx) which is in the Sharepoint server directly from informatica Powercenter?

I Have a Excel file(xlsl) with multiple worksheets in Sharepoint server which I should read in informatica and load the data into different tables.
Informatica is hosted on unix server
Currently I am thinking of the below work around but I have challenges here:
1.Copying the excel file into unix.(Once i copy the file from sharepoint server to unix using the "curl" command, the format of the file is getting changed to html. I can I retain the original excel format ,I can't install any excel utility on our server)
2.Convert them into multiple CSV files using some script (How can I do this, As I mentioned earlier I don't have any utilities like xls2csv, unoconv )
3.And read the CSV file and load them into tables.
Please let me know if there is any better approach than this.
You can try using wget to download the excel file (or set of files) from the sharepoint to Informatica file server location. It will allow you to specify the directory and target file name as well.

Unreadable .dbf file

I am trying to open a .dbf file. The file is from an application directory. I would just like to access the raw data, but I am having some difficulty.
I am not looking for a how to, but would appreciate someone pointing me to a where to get to my solution. I do not know if this file is encrypted, or if it is from foxpro, or if I am simply not opening the file with the correct application. I feel like this would have been created from something old as far as software.
Included is an image of what the data looks like when I open the file. This is in Visual Studio. I have tried it in other IDEs as well as just plain old excel.
That looks like an unencrypted DBF created by either FoxBase or FoxPro (pre-Visual FoxPro) or dBase III Plus or dBase IV. What happens when you try to open it in Excel?

Import excel file with asp.net

I'm working on an asp.net /c# app
I need my app to allow users to upload .XLS files (located on the user machine).
How can i read data from the .XLS file but without saving the file on server?
tks
In order to be able to do something with the file on the server (eg using ASP.net ) you will have to at least temporarily save the file on the server. Although an apache module might let you interupt the stream as it is uploaded, but thats probably a bit ott.
There MAY be something you could do in Javascript but I doubt it.
An idea would be to parse .csv files, if it possible. I can send example.
Also you can parse .XLS files through interop excel dll. But it very slow method.

Resources