2

From my asp.net website, I export data into excel using Microsoft ReportViewer. When I open the excel I get the following error

enter image description here

When I export few rows of data, it works fine. But when I export some what huge data, it throws this error. Can some one provide some help?

1 Answer 1

3

The data you are exporting is referencing css files on the webserver.

once you are downloading the file, you are downloading those references.

When you open the file, it's trying to open the css file's locally, but they do not exist locally.

I would either download the css files separately, and place them in the local location they should exist in, or prevent your export from referencing the files in whichever line has the references. (probably near the top)

Sign up to request clarification or add additional context in comments.

1 Comment

Thanks. Some internal error, redirects the request to an error page and that error page requires these css files. This caused the problem. Thanks for the information shared.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.