We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Entry Point Not Found while Exporting to PDF or Excel or Doc

Thread ID:

Created:

Updated:

Platform:

Replies:

116421 May 22,2014 09:03 AM UTC Jun 4,2014 04:21 AM UTC Windows Forms 5
loading
Tags: GridControl
Ashokraj
Asked On May 22, 2014 09:03 AM UTC

    Hi
   I am trying to export the grid data to pdf/Exce/Doc . i used your sample demo as reference .
In your demo project itself it showing the error as "Entry Point Not Found" .
Herewith i attached that print screen of that error and send me correct sample to use in my application.
    Coding you used for Excel Export in Demo solution
                    Dim engine As New ExcelEngine()
    Dim app As IApplication = engine.Excel.Application
    Dim book As IWorkbook = app.Workbooks.Create(1)
    Dim gecc As New Syncfusion.GridExcelConverter.GridExcelConverterControl()
    Dim saveFileDialog As New SaveFileDialog()
    saveFileDialog.Filter = "Files(*.xls)|*.xls"
    saveFileDialog.DefaultExt = ".xls"
    If saveFileDialog.ShowDialog() = System.Windows.Forms.DialogResult.OK Then
     gecc.ExportRange(GridRangeInfo.Rows(5, 8), Me.gridControl1.Model, book.Worksheets(0), ConverterOptions.Default)
     book.SaveAs(saveFileDialog.FileName)
     If MessageBox.Show("Do you wish to open the xls file now?", "Export to Excel", MessageBoxButtons.YesNo, MessageBoxIcon.Question) = System.Windows.Forms.DialogResult.Yes Then
      Dim proc As New Process()
      proc.StartInfo.FileName = saveFileDialog.FileName
      proc.Start()
     End If
    End If
Regards
T.Ashokraj    

Attachment: EntryPointErrorMsg_5c50f602.zip

Muthukumar Kalyanasundaram [Syncfusion]
Replied On May 27, 2014 12:39 PM UTC

Hi  Ashokraj,

Thanks for your interest in Syncfusion products.

Query:

Export the grid data to  Pdf/Excel/Word


We could not able to replicate the reported issue from our side.

For you convenience, we have attached the prepared sample. Please refer to it and let us know if the issue still exist. If so please send us the replication procedure of the reported issue.


 

Please let us know if you have any concerns.

Regards,

Muthukumar K


Attachment: Export_gridData_17451b5e.zip

Ashokraj
Replied On May 28, 2014 04:17 AM UTC

Hi MuthuKumar
   Thanks for your reply , still same issue exists in your attached source itself. i dont know how to get replication procedure of the reported issue. i think dll reference want to change plz send the latest version of dll which used for export.
 
Regards
T.Ashokraj

Muthukumar Kalyanasundaram [Syncfusion]
Replied On May 29, 2014 12:35 PM UTC

Hi Ashokraj,

Thanks for your update.

Query:

Entry Point not found Exception

 

We tried to replicate the reported issue in our side, but we could not able to reproduce it.

The reported issue will occur when your application does not have the correct entry point. Please refer to the below information.

*The common language runtime is unable to locate an application entry point (typically a Main method) in an executable assembly. The application entry point must be a global or static method that has either no parameters or a string array as its only parameter. The entry point can return void, or it can return an Int32 or UInt32 exit code. An application assembly cannot define more than one entry point.

please refer to the following msdn link for more details about this kind of exception(and how to overcome it).
http://msdn.microsoft.com/en-us/library/system.entrypointnotfoundexception%28v=vs.110%29.aspx

Please let us know if you have any concerns.

Regards,

Muthukumar K


Ashokraj
Replied On June 2, 2014 01:11 PM UTC

Hi Muthukumar
    Thanks for your reply
     I solved this issue by changed my system memory 32 Bit to 64 Bit. Now its working perfectly
 
Thanks & Regards
T.Ashokraj
 
 

Muthukumar Kalyanasundaram [Syncfusion]
Replied On June 4, 2014 04:21 AM UTC

Hi Ashokraj,
       Thanks for your reply.   
       Glad to hear from you.

Thanks & Regards,
 Muthukumar K

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;