Crystal Report Windows Forms Viewer error: "The field name is not known"

Hi,
My report runs fine in the Crystal Reports viewer.  When we try to view the crystal report through a piece of 3rd party software, I start to get errors in a few of my formulas indicating that "the field name is not known".  I can clearly see that the field is in my crystal report.  Has anyone else had this problem?  Any ideas on what might be happening?
Thank you.

Just to provide some further clarification on my problem:
The "field name is not known" error seems to be occurring only in a few formulas where I have a statement like this:
if ISNULL({somefieldfromdatabase}) Then
I've used this for many other formulas and not had an issue with them.  I've verified that the database and the stored procedure contain this field.

Similar Messages

  • Crystal Report Windows Forms Viewer Error in 1 Workstation after upgrade of PL

    Hi all,
    We just upgraded SAP from 8.82 PL02 to 8.82 PL15.
    Afterwards, in just 1 workstation, Crystal Reports layouts have Crystal Report Windows Forms Viewer error I attach.
    Before the upgrade this error did not happen.
    No permissions or authorizations were changed  in the workstation.
    The Crystal Reports layouts remain working fine in server and in the other workstations.
    In the workstation following are installed:
    - Operating System Windows 7;
    - Microsoft .NET Framework 4.5;
    - SAP Crystal Reports runtime engine for. NET Framework;
    - Crystal Report 2008 Runtime SP6;
    - Microsoft SQL Server 2008 R2 Native Client.
    All, but the operating system, are equal to the other workstations.
    User has edit access to SAP folders, temp and access to the attach path.
    We already uninstalled SAP client and client agent and re-installed it but with no avail.
    Can anyone help me?
    Thanks in advance.
    Best regards,
    Pedro Mariano

    Hi San Xu,
    Thank you for your input.
    However I'm facing problem with each software is suitable.
    I installed SAP Crystal Reports for SAP Business One (CR 2011 V14.0.4.738), but with no avail.
    Thanks in advance.
    Best regards,
    Pedro Mariano

  • Crystal Viewer error "This field name is not known"

    I have MAS500 with crystal 10 that runs a report from a view in a SQL data base and it ran fine when only MAS500 and ABRA were installed on the terminal server. Then we installed a new product CribMaster that also uses Crystal 10.  After CribMaster was installed we got the error "This field name is not known" from Crystal viewer.  The report has a selection parametar .  I feel that there is a dll file that got over written, but do not know which one.  I can run the report from Crystal OK, but not from within the application.

    Since you can run the report from Crystal OK, but not from within the application, I'd recommend trying to figure out the dlls loading, or not in the app. Use a utility such as [Modules|https://smpdl.sap-ag.de/~sapidp/012002523100006252802008E/modules.zip] to determine the differences. Modules will compare the log results for you (Module menu, choose "Differences").
    You may also want to consider contacting the app creators to see if they can help...
    Ludek

  • Crystal Report Windows Form Viewer - Error in compiling SQL Expression

    I am using C# and the Crystal Reports API to render reports in a windows application. Recently we decided to start using SQL Expressions in our reports. The reports developers are able to use them in development, but as soon as we deploy the reports to production, we are seeing the following error.
    Why does this work when developing forms but not when using the C# API?

    Hi Adam
    I pinged couple of people here, but so far have not got a reply. I'll update this post as soon as I get anything.
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

  • Crystal report windows forms viewer - error in file

    I am using visual basic - visual studio 2005 with crystal reports version 11.5 and am getting the following error when deploying to a windows 7 32 bit machine
    Error in file
    c:\users\username\appdata\local\temp\tempmanynumbersandcharacters.rpt
    The request could not be submitted for background processing.
    All six reports for this application give the same error.  There is not a problem when it is deployed to a windows xp machine.  I have three other applications that do not have problems in windows xp or windows 7 32 bit.  I can't see any difference between these three apps and the one have a problem in windows 7.
    Thanks,
    Jay

    You do not mention if you searched the forums and the Kbase for the error... Using the search box in the top right corner of this web page will return KBases, Blogs, Wikis, articles and more. The following article should have been returned with a simple search;
    [Causes of "Background Processing" error|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/50a6f5e8-8164-2b10-7ca4-b5089df76b33]
    See if it helps. If not, do a few searches as there may be other reasons not documented in the articles.
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup
    Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports]

  • The field name is not known error

    Hi,
    I have a report that is pointing to database(db1).
    Can i change the database name to database(db2) in my c# application?when i am changing to new database name in my application i am getting error as "field name is not known".
    Please give some suggestions.
    Thanks in advance

    I'm having the same problem.
    I've upgraded from Crystal 8.5 to Crystal XI.
    I've converted all my reports from Crystal 8.5 to Crystal XI.
    When I try to run the report I get the error:
    The Field Name is not known and nothing else.
    I did upgrade the report and verified the database.
    Does anyone have any ideas ?
    If I delete the formula, and after I create it (by handle) the report will good.
    But I have about 1000 reports !

  • Crystal Report Windows Forms Viewer problems - table could not be found

    Hi,
    I installed Crystal Report Viewer in SAP Business One 2007. All the while, I can run the reports without any problem. but when I loaded some of the new report, it gives me the following error message:
    the caption says: "Crystal Reports Windows Forms Viewer"
    the message says: "The table 'paymentVoucher' could not be found.
    Error in file C:\...paymentVoucher.rpt. The table could not be found."
    By the way, I can run the report in another workstation.
    Any help or ideas of why this is happening or how to solve this will be greatly appreciated.
    Thanks in advance.

    The report is not created by me. I just help others to transfer the report from one workstation to another workstation. PaymentVoucher is a view in the database and it is being put at a workstation that can be shared by everyone.
    I've go through other forums and found out that it might be permission issues and now managed to solve the problem already.
    Thanks everyone for the advice.

  • Error This Field Name is not Known Line...

    hi,
    on the one PC CRXI Deverloper Edition and Crystal Reports XI Runtime Files.msi are installed. The VBS-Scipt works perfect.
    On an other PC only Crystal Reports XI Runtime Files.msi is installed.
    Following error is displey:
    "Error This Field Name is not Known Line 32"
    http://www.bilderhoster.net/safeforbilder/251h16ca.jpg

    Moved to Legacy SDK forum.
    VBS is no longer supported. Use ProcessMonitor to help you find the missing dependencies or registry permissions.

  • Error: this field name is not known

    CR XI (11.5.11.1470)
    I have a report with a sql stored procedure as database.
    One of the parameters is used in a formula field as
    CStr({?@b}, "MMMM yyyy")
    The report is called by a .net Frontend using
    crreport.SetParameterValue("@b", DateTimePicker_Month.Value)
    Everything works fine on nearly all computers running the frontend using this report. Today I've got the error message from a user working on Windows 2000 Terminal Server 'error in formula this field name is not known'.
    What the ... is this?

    Hi,
    Need more info-
    CR Version?
    VS Version?
    Windows or web app?
    If the issue is from .NET SDKs then post your question in [Crystal Reports .NET SDK forum|SAP Crystal Reports, version for Visual Studio;.
    That forum is monitored by qualified technicians and you will get a faster response there. Also, all .NET SDK queries remain in one place and thus can be easily searched in one place.
    Thank you for your understanding,
    Sincerely,
    Amit

  • Crystal Report Windows Forms Viewer - No Error Popup

    Similar to this post:  Error message that says "No Error" from CR Viewer, I have just upgraded by Application to .net 4.0 and Crystal Reports 2010. The report viewer works fine the first time a report is loaded, but when I change the parameters on the report, and put the updated report back into the report viewer, I get the message shown above.  The report does not change its parameters and the updated report is not displayed.  The code in question is setting the date parameters for the report.  The user can select new date parameters from the form that encloses the report viewer.  The code subclasses the Report Object code to add additional functions through interfaces.  The IDateRange interface provides a starting and ending date range for the report using a property on the report class as follows:
        Public Property EndingDate() As Date Implements IDateRange.EndingDate
            Get
                Return _endingDate
            End Get
            Set(ByVal value As Date)
                _endingDate = value
                Me.SetParameterValue("EndingDate", value)
            End Set
        End Property
    In addition, the immediate Window shows the following message:
    A first chance exception of type 'System.Runtime.InteropServices.COMException' occurred in CrystalDecisions.CrystalReports.Engine.dll
    The code in the Report Viewer looks like this, see line marked in blue for when pop-up appears:
    ''' <summary>
    ''' Sets the report period and displays it.
    ''' </summary>
    ''' <param name="Report">The Report.</param>
    ''' <param name="Refresh">if set to <c>true</c> force a refresh.</param>
    Private Function PFSetReportPeriod(ByVal Report As Object, Optional ByVal Refresh As Boolean = True) As Boolean
        Dim fld As FormulaFieldDefinition
        Dim bRefresh As Boolean = False
        Dim rpt As ReportClass = CType(Report, ReportClass)
        Try
            If CRV.ReportSource IsNot Nothing Then
                rpt = CType(CRV.ReportSource, ReportClass)
            End If
    If TypeOf rpt Is IDateRange Then
        With DirectCast(rpt, IDateRange)
    .        StartingDate = dtpFromDate.Value
    .        EndingDate = dtpToDate.Value
        End With
        SetTitleLine2(DirectCast(Report, ReportClass), bRefresh)
        bRefresh = True
    Else
        If TypeOf rpt Is ReportClass Then
           fld = rpt.DataDefinition.FormulaFields("FromDate")
           If Not fld Is Nothing Then
                fld.Text = "Date(" & dtpFromDate.Value.Year & "," & dtpFromDate.Value.Month & "," & dtpFromDate.Value.Day & ")"
                bRefresh = True
            End If
            fld = rpt.DataDefinition.FormulaFields("ToDate")
            If Not fld Is Nothing Then
                fld.Text = "Date(" & dtpToDate.Value.Year & "," & dtpToDate.Value.Month & "," & dtpToDate.Value.Day & ")"
                bRefresh = True
            End If
            SetTitleLine2(rpt, bRefresh)
        End If
    End If
        If Refresh And bRefresh Then
            If dtpToDate.Value <> CDate(dtpToDate.Tag) OrElse _
               dtpFromDate.Value <> CDate(dtpFromDate.Tag) Then
                    System.Windows.Forms.Application.DoEvents()
                If CRV.Visible Then CRV.ReportSource = rpt ' The popup appears when this statement is executed.
                If CRV.Visible = True Then CRV.Refresh()
                dtpToDate.Tag = dtpToDate.Value
                dtpFromDate.Tag = dtpFromDate.Value
               Return True
            End If
        End If
    Catch ex As Exception
        DisplayException(ex)
    End Try
    Return False
    End Function

    Problem has been resolved.  I downloaded Support Pack 8 (v.13.0.8.1216) from this location.  I then applied the fix from the entry above:
    With CRV ' Report Viewer Control
        If .Visible Then
            If .ParameterFieldInfo IsNot Nothing Then .ParameterFieldInfo.Clear()
            .ReportSource = rpt
            .Refresh()
        End If
    End With
    And no more annoying "No Error" messages.

  • Error Crystal Report Windows Forms Viewer in Windows 8.1

    As you can see from the picture I get this error when trying to load the report anyone have any suggestions?, This happens with windows 8 on windows 7 I have no problems with the application

    Hi,
    The error is not having connection to the database, the error is that it can not open the temporary file that Crystal Report generates before opening the report but it only gives the error when running on Windows 8, Windows 7 not same program fails.
    It conect to a MySql database using. Net Framework Data Provider for MySQL in a 32 Bits

  • This field name is not known. on the server

    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.

    It seems i'm posting in the wrong forum, please guide where can I post this question, to find someone who could have experience with Visual Studio and Crystal Report.
    I have 3 RPT files on my project, 2 generated successfully, only one is failing, because i'm using a script on the RPT file to suppress a field if the value is null or empty.
    So the statement of Crystal Report version 11.x not working with SQL Server 2012 is totally out of the subject.
    here is my code, for someone who knows how to read it:
    CrystalDecisions.CrystalReports.Engine.ReportDocument rpt = new CrystalDecisions.CrystalReports.Engine.ReportDocument();
    System.IO.DirectoryInfo TemplatesPath = new System.IO.DirectoryInfo(System.Web.Hosting.HostingEnvironment.MapPath("~/rptTemplates"));
    string templateFile = TemplatesPath + "/" + "FormListAddons.rpt";
    rpt.Load(templateFile);
    var table = dbmgr.listClients(in_group_id);
    rpt.SetDataSource(table);
    System.IO.DirectoryInfo FilePath = new System.IO.DirectoryInfo(System.Web.Hosting.HostingEnvironment.MapPath("~/UserGeneratedReports"));
    string FileName = "FormList_" + in_group_id.ToString() + ".pdf";
    if (System.IO.File.Exists(FilePath + "/" + FileName))
    System.IO.File.Delete(FilePath + "/" + FileName);
    rpt.ExportToDisk(CrystalDecisions.Shared.ExportFormatType.PortableDocFormat, FilePath + "/" + FileName);
    rpt.Dispose();
    rpt.Close();

  • Crystal 8.5 - now 9 - report in VB6 gives "This field name is not known"

    Hi,
    I've got to do some maintenance on an old VB 6.0 project that had some Crystal 8.5 reports in it (DSR files).
    I only had Crystal 9.0 (developer edition) available, so am using that.
    Running one report I now get the error "This field name is not known".
    Q1. How can I find out what field - and where in the report it is?
    Q2. Is there anything special I should have done to "upgrade" the DSR/DCA and DSX files?
    Thanks,
    Details:
    The reports are not "visual", they are created within a DLL that saves them as PDF's and/or prints them directly.
    The reports are bound at run-time to recordsets; at design time they use field definition files (TTX). I believe I've made sure the field definitions match the recordsets that they represent.

    Hi,
    Thanks for your replies.
    Falk:
    Nothing in particular was done to upgrade the files, other than to upgrade the VB project to reference the Crystal 9 dll's and such instead of Crystal 8.5.
    The Crystal reports designer does not seem to want to open a DSR file. I did find some RPT files in the project; but while the Crystal reports designer will load them it does not seem to want to save as DSR files.
    The "Field name is not known" message is returned in the error raised when VB tries to run the report, and it stops the report from being built.
    Ludek:
    That's a good kbase article. I had actually guessed that was an issue and had fixed two of the three reports in this project, by dumping (to text files) the recordsets being bound to them and comparing real field names with the TTX files. (I also updated some of the custom formulas in the reports to match the proper names).
    ...but in the third report, I just couldn't find the mis-match; checking the recordsets, TTX files and any customisable formulas I could locate.
    As for the patch - after installing it the report designer no longer works at all in VB6 - not for the reports that I had got working, nor even for a new report!
    (added: actually I can't get any designer up, even the VB forms designer won't load, in a project with no Crystal in it...)
    At this point I "give up".
    VB Express 2008 was used to "upgrade" the VB project to .Net and then convert the DSR's to new format RPT's. They were then loaded into a fresh VS 2008 (C#) project.
    I'm now at the point of trying to figure out how to put in the report events that were in the old DSR files in the original VB project (there is code in them to assign the recordsets as sources, at run time, and calculate and make available information from the report).
    Thanks again,
    Edited by: pzkpfw on Aug 14, 2008 12:19 AM clarify
    Edited by: pzkpfw on Aug 14, 2008 12:21 AM
    Edited by: pzkpfw on Aug 14, 2008 5:16 AM

  • This field name is not known errorKindError

    Hi!
    I am developing a user interface from ASP.NET/C# (.NET framework version 2.0) to allow users to view the crystal report as a PDF document. I am using ORACLE 10g parameterized Stored Procedure to retrieve the data from the database.
    The report previews perfectly alright in the Crystal Report designer but fails to behave the same in ASP.NET 2.0 run time environment.
    I am using Crystal Report XI Release 2 with incremental service pack 4. The Crystal DLL version in my .net solution is 11.5.3700
    Also, my report has another embedded Sub Report which uses another Stored Procedure but the same parameter as in main report.
    The error that I face (i.e. the field name is not known) is on the sub report and not on the main report. If I remove the sub-report from the main report design, then I have no errors.
    Am I missing any hot fix for this problem or CR XI Release 2 with SP4 does not support sub report functions?
    Please guide me as I am struggling with this problem from last two weeks and I am very close the production release.
    Thanks for your support in advance.
    - G
    My current code:
    myReportDocument = new CrystalDecisions.CrystalReports.Engine.ReportDocument();
    conInfo = GetReportConnectionInfo();
    myReportDocument.Load(@"C:\VS2005Projects\Article776\CrystalTest\PrintLettersNew.rpt");
    foreach (CrystalDecisions.CrystalReports.Engine.Table rptTable in myReportDocument.Database.Tables)
                rptTblLogOn = new CrystalDecisions.Shared.TableLogOnInfo();
                rptTblLogOn.TableName = rptTable.Name;
                rptTblLogOn.ConnectionInfo = conInfo;
                rptTable.ApplyLogOnInfo(rptTblLogOn);
                //     db.Log_Result(rptTable.Name + " is able to Connect ? = ","",rptTable.TestConnectivity().ToString() );
    myReportDocument.SetParameterValue("P_STRING_PARAM", "PARM_VALUE");
    myReportDocument.ExportToDisk(CrystalDecisions.Shared.ExportFormatType.PortableDocFormat, @"C:\VS2005Projects\LetterNew.pdf");
    private static CrystalDecisions.Shared.ConnectionInfo GetReportConnectionInfo()
            CrystalDecisions.Shared.ConnectionInfo retVal = null;
            retVal = new CrystalDecisions.Shared.ConnectionInfo();
            retVal.DatabaseName = "TSTDB";
            retVal.ServerName = "TSTDB";
            retVal.UserID = "TST_USER";
            retVal.Password = "TST_USER_PWD";
            return retVal;

    Hi;
    I don't see in your code where you are passing the stored procedure parameter to the subreport. This could be what is missing. Have a look at the samples here:
    https://smpdl.sap-ag.de/~sapidp/012002523100006252712008E/csharp_web_smpl.exe
    I believe one of these demonstrates passing parameters for a subreport.
    Regards,
    Jonathan

  • This Field Name is not Known

    Hi,
    I have created 4 individual crystal report connecting 4 individual excel sheets.
    I tried to build a single crystal report embedding all the 4 individual CR.
    I am getting error as "The field name is not known"
    I searched forum , however i didnt got appropriate solution.
    Appreciate your feedback to fix the issue

    I have made connection to 4 excel sheets and linked the common fields.
    However still i am getting same error.
    When i connect it was asking to prevent server side grouping. I m confused how to rectify the error
    Appreciate your inputs

Maybe you are looking for

  • Texting more than one person at a time.

    First of all, I love the iPhone. This isn't a complaint just more of a request. Mass text messaging. On all of my previous cellphones I've been able to send the same text message to multiple people at the same time. This does not seem possible with t

  • 2 RAC database in the same box

    Hello, I have a RAC env composed of 2 nodes. The database name is dbfunc1 and it is in 11gR2 version under Redhat Linux 5; this is a test env. Now we need to create another RAC database in the same hosts with database name dbfunc2 with exactly the sa

  • Streaming video on mobile and web

    I want to develop a web site with jsp and ? want to make video streamin please could u help me how will ? do what must ? do

  • Tap to click setting in system preferences not persisting after reboot!

    Hi, This is the 2nd time this has happened.. I shut down my system, and boot it up later, and when I go to tap, nothing happens. I go into to system prefs > trackpad, and see that my tap to click & dragging options are unchecked...... Why is it not r

  • Expected error happens whenever i do anything

    using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApplication10     class Program         static void Main(string[] args)         {Console.WriteLine("iam truly awesome