We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Aspose.cells.gridweb save excel error in Chrome

When saving from IE browser, save works fine, but when saving from Chrome or Firefox throws error. In Chrome the error is ERR_RESPONSE_HEADERS_MULTIPLE_CONTENT_DISPOSITION

Dim filename As String = Session.SessionID + “_out.xls”

Dim path As String = TryCast(Me.Master, Site).GetDataDir() + “\GridWebBasics”

’ Saves to the file.
Me.GridWeb1.SaveToExcelFile(path + filename)

’ Sents the file to browser.
Response.ContentType = “application/vnd.ms-excel”
Response.AddHeader(“content-disposition”, “attachment; filename=” + filename)
Response.WriteFile(path + filename)


Thanks for your query.

Please share your sample file and a complete simplified runnable soltuion with us for our testing. We will reproduce the problem and provide our feedback after analysis.