Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Corrupted data #160

Open
GoogleCodeExporter opened this issue Sep 11, 2015 · 0 comments
Open

Corrupted data #160

GoogleCodeExporter opened this issue Sep 11, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?

We are exporting file like this:

 [HttpPost]
        public ActionResult ExportFile(string EntryFile)
        {
            var list = JsonConvert.DeserializeObject<Entry>(EntryFile);

            return new FileContentResult(Export(list.CompositionEntry),
                    "application/vnd.ms-excel") { FileDownloadName = "fix_list.xls" };
        }

Everything seem to work, but Excel reports the problem: 
Damage to the file was so extensive that repairs were not possible. Excel 
attempted to recover your formulas and values, but some data may have been lost 
or corrupted.
When I click Ok, data is exported correctly, but we still don`t want error to 
be shown. Any ideas??? 


Original issue reported on code.google.com by [email protected] on 30 Jan 2014 at 3:15

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant