This time, I used the example "Hello World" code from the Aspose website. The Aspose.Total.lic and Aspose.Cells.dll files are in the Bin folder. I compiled the website on the server also, but I'm still getting the exact same error message.
Code as follows:
Partial Class _Default
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
'Create a License object
Dim license As Aspose.Cells.License = New Aspose.Cells.License()
'Set the license of Aspose.Cells to avoid the evaluation limitations
'Instantiate a Workbook object that represents Excel file.
Dim wb As Workbook = New Workbook()
'Note when you create a new workbook, a default worksheet
'"Sheet1" is added (by default) to the workbook.
'Access the first worksheet "Sheet1" in the book.
Dim sheet As Worksheet = wb.Worksheets(0)
'Access the "A1" cell in the sheet.
Dim cell As Cell = sheet.Cells("A1")
'Input the "Hello World!" text into the "A1" cell
'Save the Excel file.
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: BC30560: 'License' is ambiguous in the namespace 'Aspose.Cells'.
Line 6: Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
Line 7: 'Create a License object
Line 8: Dim license As Aspose.Cells.License = New Aspose.Cells.License()
Line 10: 'Set the license of Aspose.Cells to avoid the evaluation limitations