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

Free Support Forum - aspose.com

Issue with CSV (ASPOSE DLL)

Hello All,

We are facing an issue with the Aspose Dll in supporting CSV file format.
Whenever we are trying to open the file, we are getting the following error.

This file's format is not supported or you don't specify a correct format.
at Aspose.Cells.Workbook.Open(String fileName) at Admin_Template.btnTemplate_Click(Object sender, EventArgs e) in d:\Kamal_OR\OperationalReporting\Code\OperationalReporting\Admin\Template.aspx.cs:line 212 at System.Web.UI.WebControls.Button.OnClick(EventArgs e) at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) at System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)


The Details of the files are mentioned below.

File Name: AjaxControlToolkit.dll
Assembly version: 1.0.10920.35226

File Name: Aspose.Cells.dll
Assembly version: 4.5.0.0


Please suggest a solution.


Thanks & Regards
Kamal Jhunjhunwala


This message was posted using Email2Forum by ShL77.

Hi,

You want to open CSV file, you have to specify which file format type with the method Workbook.Open(fileName,FileFormateType.CSV) or specify which separator for this file with the method Workbook.Open(fileName,char separator).Because we could not simply get which separator in this file if you don't specify file format type or separator now.