Excel 2 pdf conversione

i'm trying to convert excel to pdf

i'm using cell version version 4.0.2.0 and pdf version 3.1.7.0

Dim license1 As Aspose.Cells.License = New Aspose.Cells.License()
license1.SetLicense("Aspose.Total.lic")

Dim objDocument As New Aspose.Cells.Workbook
objDocument.Open(FILENAME_IN)
objDocument.Save(FILENAME_XML, FileFormatType.AsposePdf)

Dim license2 As Aspose.Pdf.License = New Aspose.Pdf.License()
license2.SetLicense("Aspose.Total.lic")


Dim pdf1 As Aspose.Pdf.Pdf = New Aspose.Pdf.Pdf
pdf1.BindXML(FILENAME_XML, FILENAME_IN)
pdf1.Save(FILENAME_OUT)

i get an error doing the XMLbind

could it be an incompatibility between the 2 component or there somethig wrong with mycode

Regards

Could you please zip and post your file here?