Cannot convert csv file to excel

Hi

I am using this code to convert csv file to excel format

static void Convert(string documentPath, string outputPath)
{

        using (Converter converter = new Converter(documentPath))
        {
            SpreadsheetConvertOptions convertOptions = new SpreadsheetConvertOptions();                
            converter.Convert(outputPath, convertOptions);
            converter.Dispose();
        }
    }

but getting this error on converter.convert

Managed Debugging Assistant ‘FatalExecutionEngineError’ has detected a problem in ‘C:\Users\Tilanka\Documents\Example\GroupDocs\Conversion\ConsoleApp1\bin\Debug\ConsoleApp1.exe’.
Additional Information: The runtime has encountered a fatal error. The address of the error was at 0x69eee6f8, on thread 0x1b88. The error code is 0xc0000005. This error may be a bug in the CLR or in the unsafe or non-verifiable portions of user code. Common sources of this bug include user marshaling errors for COM-interop or PInvoke, which may corrupt the stack.

Can you please help me on this

Thanks
Tilanka

@tilankak

Please share following details and we’ll look into this issue:

  • API version that you are using (e.g. 20.7, 20.10)
  • Problematic CSV file
  • Development environment details

Hi
the api version GroupDocs.Conversio -20.11.0
cannot attach the csv file here
development environment is visual studio 2019

@tilankak

If you cannot upload/attach it here, could you please upload the CSV to some cloud storage and share link here.

here is the link
https://www.dropbox.com/s/cf9tfkyy7wox3xr/Book1.csv?dl=0

@tilankak

We could not reproduce this issue at our end. Please have a look at this output.zip (5.8 KB). Could you please share a simple console application using that issue could be reproduced?

Hi Tahir
Here is the app

https://www.dropbox.com/s/rx9vsbjvfdmce8t/ConsoleApp1.zip?dl=0

@tilankak

We couldn’t reproduce this issue. Please have a look at this screencast.zip (914.2 KB).

Please try this solution. Set or mark Use Managed Compatibility Mode option in Tools/options/debugging.

I have set these but no difference

@tilankak

Could you please share your OS details? Also, share a screencast or video that shows/covers this scenario.

My os is Windows10 home 64bit
Here is the link to sceenshot
https://www.dropbox.com/s/4iuli5s4j3ooonh/Capture.PNG?dl=0

@tilankak

We are still investigating this scenario and trying to reproduce this issue. Your investigation ticket ID CONVERSIONNET-4370, you’ll be notified as there’s any progress update.