I have an issue using RPT file to generate a report using my .NET web app on the server, locally the report is generated fine, but on the server it's giving me the error "The field name is not known":
[COMException (0x80041019): This field name is not known.
Details: errorKind
Error in File FormListAddons {74708A80-A1B6-494F-A141-C83C61F45047}.rpt:
Error in formula Object_Visibility:
'{visa_clients.addon1} = ""'
This field name is not known.
Details: errorKind]
CrystalDecisions.ReportAppServer.Controllers.ReportSourceClass.Export(ExportOptions pExportOptions, RequestContext pRequestContext) +0
CrystalDecisions.ReportSource.EromReportSourceBase.ExportToStream(ExportRequestContext reqContext) +362
[FormulaException: This field name is not known.
Details: errorKind
Error in File FormListAddons {74708A80-A1B6-494F-A141-C83C61F45047}.rpt:
Error in formula Object_Visibility:
'{visa_clients.addon1} = ""'
This field name is not known.
The line mentioned above causing the error, is a script on crystal report to suppress the field if this condition is met:
{visa_clients.addon1} = ""
My PC is running Crystal Report version 11, however the Crystal Report runtime on the server running the version 10.5.1.0
Both locally and on the server, i'm using the same datasource. Even locally i'm connecting the database on the Server.
I would appreciate your help.