Have this gridview that can be exported to excel. The gridview has paging and is setup to only return 25 records at a time even when there are more. But when we go to export to excel all records are to be included. Now, this works just fine when testing on our QA machine. When we move it into production, on a web farm, it no longer works. It always returns message
Internet Explorer cannot download xxxxxxxx.aspx from somedomain.com.
Internet Explorer was not able to open the Internet site. The request site is either unavailable or cannot be found. Please try again.
Here is the code that does the exportingGridView grd = new GridView();
grd.DataSource = dv.ToTable();
grd.DataBind();
Response.Clear();
Response.ClearContent();
Response.Cache.SetCacheability(HttpCacheability.NoCache);
Response.ContentType = "application/ms-excel";
Respon ...
Go to the complete details ...