This field name is not known error

We are repeatedly getting the following error for some of our users .We are unable to trace it.Your inputs would be highly appreciable. We are using dot net 2.0 & visual studio 2005 for development & Crystal Reports 10.2.
error message appearing  -u201CThis field name is not known. Error in File C:\WINDOWS\TEMP\DNIReport {61006661-3C45-4100-88AD-09C3D7839CF5}.rpt: Error in formula . 'if({DNIBE.ParentStoreId}= "" or {DNIBE.ChildStoreId} = "") then ' This field name is not known.u201D
Thanks in advance

Hello, Janmejaya;
This error occurs when the application is not correctly logged on to the database.
Because we are a two pass reporting system and the first pass looks at the formulas, you get a formula error when data is missing instead of the expected Database logon error.
Confirm that your data is visible to your reports at runtime.
Elaine

Similar Messages

  • "This field name is not known" error when upgrading from VS 2003 to VS 2005

    When we upgraded our web servers from VS 2003 to 2005, our crystal reports web viewer began having a problem with reports that contained sub-reports.  We now are getting the following error on the web page.  The reports were developed in Crystal 10, but I upgraded them to Crystal 11 but still recieved the same error.
    Any help would be greatly appreciated.
    thank you
    This field name is not known. Error in File C:\DOCUME1\DMDEVB1\ASPNET\LOCALS~1\Temp\CategorybyStateProductDist {B0FCB37B-A7DB-4786-AD69-55568EC94923}.rpt: Error in formula . '{usp_wd_RptCategoryByStateProductDist;1.State} = {?@State} ' This field name is not known.

    HI Karl,
    Also Try to update the database connection for the report.
    You can do that by opening report in designer, then
    Go To Database Menu -> Setdatasource Location
    Connect to the datasource you want and update the datasource.
    Save the report.
    Hope this Helps !!!
    Prasad

  • "This field name is not known" error, for one user only, in test environment only.

    Crystal Report 11 being called from BOXIR2 Infoview.
    The field name is included in two formulae in the report - no errors in Dev or Production, just in test.
    Any ideas why this is occurring?
    Thanks!

    Hi Helen,
    The best way to test this will be to open the report in question in Crystal Reports designer on the test BOE server. 
    In Crystal Reports,  verify the report is using the desired connection then do a Database|Verify database.  If the report errors then we know there is a difference in the table/fields it's reporting off of.
    Regards,
    Wallie

  • "This field name is not known" issue

    Hi SAP TechSupport Team!
    I have unresolved issue related to "This field name is not known" error while running my report via ReportDocument's function Export(). Before that I correctly gave all required parameters. This report work fine if I am using it with ReportViewer. I could not understand reason of that error. Please help to resolve this.
    CrystalReports is being used is the 10.5 version, in VS 2008. That report was created in CrystalReport 8.5 old version
    Thanks in advance
    Vasil Avagyan

    Hi Vasil,
    CR 8.5 uses old DB drivers. In CR 9 we completely re-wrote the DB drivers so likely what is happening is you either may have CR 8.5 on the same PC and VS is finding the drivers located in \windows\crystal folder or you simply need to update those CR 8.5 reports to CR 9 or above.
    FYI's:
    CR 8.5 still supported a CR Native SQL server driver, that driver is no longer shipped or supported, need to convert to ODBC or OLE DB.
    Parameter API's completely changed also, may be issue with Parameters too.
    CR 8.5 is not side by side compatible with any other version, remove CR 8.5 or put VS 2008 on a different PC that has never had CR installed on it.
    Don

  • 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

  • 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 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. Details: errorKind

    Hello,
    I get the following error when running a report in Infoview. The report works fine in Crystal Designer.
    Error in formula <Back_Color>. '// This conditional formatting formula must return one of the following Color Constants: ' This field name is not known. Details: errorKind
    We are deploying this report through CA Clarity and when I reviewed the application logs, I found the following error message
    Note the fatal error -
    Fatal Error: URI=null Line=1: The element type &quot;Back_Color&quot; must be  terminated by the matching end-tag &quot;&lt;/Back_Color&gt;&quot;.</CauseMe
    ssage>
    For debugging purposes, I removed the formula that sets a bg color depending on a condition.
    After recompiling and uploading to Infoview, I get the following error.
    Error in formula <Record Selection>. '{Command.PROJECT_TYPE_ID} = {?pdblProjectTypeID} and {Command.STAGE_CODE} = {?pstrStageCode}' This field name is not known. Details: errorKind
    It seems that it has problems processing formulas.
    Anyone faced a similar issue?
    The Crystal Designer version I am using is 11.0.0.1282
    Any help would be greatly appreciated.
    Regards
    Jimmy

    Please re-post if this is still an issue to the .NET Development - Crystal Reports Forum or purchase a case and have a dedicated support engineer work with you directly

  • 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();

  • Field name is not known Error in formula field...

    Hi,
    I have a report in CR11.5 r2 that I call from VB6.
    The report works fine, until a I create this formula, Trim ({RSE.PatName}).
    When I put this formula field in a section in the report, I have this error, "Field name is not known Error".
    Any idea?

    Make sure you have SP 6:
    https://smpdl.sap-ag.de/~sapidp/012002523100015859952009E/crxir2win_sp6.exe
    Does the formula work in the designer?
    Are you changing datasource at runtime? If so, can you change to that datasource in the designer and run the report there?
    If you do not use the Trim function, does it work?
    If you do not use the field in a formula abd place it in say, the detail section as a test, does the report work?
    But remember that what ever the report is doing at runtime, must work in the designer 1st.
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup

  • "This field name is not known", VB6, CRXI RDC

    Implementing RDC/designer in VB6 code.
    The underlying DB is SQL SERVER 2005. I turned to the RDC / designer method because I couldn't figure out, in a way that worked, how to override the SQL Server db at run time on client machine. My reports continued to want to find the tables on my development platform, not the live data in production. I've been fighting this thing for 6 weeks. (Never had the problem with Access mdb's, but that's a moot point)
    Any help / advice is appreciated!!
    All is well with my reports containing 1 table, using the following code:
    module
    Public KReport As New CrystalReport2
    command button
    Set KReport = New CrystalReport2
    KReport.DiscardSavedData ' (may not be necessary, the report does not have saved data)
    KReport.Database.AddOLEDBSource Adodc1.ConnectionString, "Netlink_ProductMaster"
    KReport.Database.SetDataSource Adodc1.Recordset, 3, 1
    Load Form2
    Form2.CRViewer1.ReportSource = KReport
    Form2.CRViewer1.ViewReport
    Form2.Show
    However, in my report with multiple tables I get error "This field name is not known" but no indication as to which field is a problem. Here's my code: (Note - If I bypass the SetDataSource code the report displays fine. That won't work at user site)
    module
    Public LReport As New CrystalReport3
    command button
    Dim i%
    Dim result&
    Set LReport = New CrystalReport3
    LReport.DiscardSavedData
    For i% = 1 To LReport.Database.Tables.Count
    LReport.Database.AddOLEDBSource Adodc1.ConnectionString, LReport.Database.Tables(i%).Name
    LReport.Database.SetDataSource Adodc1.Recordset, 3, i%
    ' LReport.Database.Tables(i%).CheckDifferences result&
    ' LReport.ReadRecords ' This just moved the error to here rather than when Form2 was "shown"
    Next i%
    Load Form2
    Form2.CRViewer1.ReportSource = LReport
    Form2.CRViewer1.ViewReport
    Form2.Show

    Are the data structures identical?
    Did you try Database, Verify Database... (in Crystal Designer for that report)?

  • This field name is not known. for newly added fields

    dear sir,
    i ma using VS 2008 with CR.NET. There are previously dsigned reports. when I add some new Fields to the report, it prompts the error message
    [COMException (0x80041019): This field name is not known.
    Error in File C:\DOCUME1\TERESA1\ASPNET\LOCALS~1\Temp\PolicyReceipt {F0958318-C3D3-493D-9140-4CEA08B27B98}.rpt:
    Error in formula  <Address>.
    '{GetTransactionsForPolicyReceipt;1.ClientAddress_zh}+{GetTransactionsForPolicyReceipt;1.Address_zh_2}'
    This field name is not known.]
       CrystalDecisions.ReportAppServer.Controllers.ReportSourceClass.Export(ExportOptions pExportOptions, RequestContext pRequestContext) +0
       CrystalDecisions.ReportSource.EromReportSourceBase.ExportToStream(ExportRequestContext reqContext) +240
    here is the stored procedure
    select Transactions.TransactionID
                 , Transactions.PolicyDate
                 , Transactions.PolicyNumber
                 , ClientBranch.BranchName as ClientBranchName
                 , c.last_name + ', ' + c.other_name as ClientName
                 , c.last_name_zh + c.other_name_zh as ClientName_zh
                 , c.last_name as ClientLastName
                 , c.address as ClientAddress
                 , c.Address_2
                 , c.Address_3
                 , c.Address_4
                 , c.address_zh as ClientAddress_zh
                 , c.Address_zh_2
                 , c.Address_zh_3
                 , c.Address_zh_4
                 , c.email as ClientEmail
                 , c.[language]
                 , Gender.ShowName as ClientGenderName
                 , Gender.ShowName_zh as ClientGenderName_zh
                 , Institution.InstitutionName
                 , Product.ProductName
                 , FormulaType.FormulaTypeName
                 , Frequency.FrequencyName
                 , Frequency.FrequencyName_zh
                 , Frequency.FrequencyPeriod
                 , Frequency.IsLumpsum
                 , Currency.CurrencyName
                 , Currency.CurrencyName_zh
                 , Transactions.FrequencyPayment
                 , Transactions.Years
                 , Transactions.Terms
                 , Transactions.Remarks
    , c.Address_2
                 , c.Address_3
                 , c.Address_4
                 , c.Address_zh_2
                 , c.Address_zh_3
                 , c.Address_zh_4
    are newly added
    the other fields can be shown properly
    Edited by: tomckw on Oct 24, 2011 10:04 AM

    Only the RAS ( Report Application Server ) SDK includes API's to retrieve the version information. As you do not have full build of CR, you do not have the RAS SDK.
    Just as an FYI. The APIs are:
    CrystalDecisions.ReportAppServer.ClientDoc.ISCDReportClientDocument.MajorVersion
    CrystalDecisions.ReportAppServer.ClientDoc.ISCDReportClientDocument.MinorVersion
    A C# example code looks like this:
    MessageBox.Show("Report Version: " + (rptClientDoc.MajorVersion.ToString() + "." + rptClientDoc.MinorVersion.ToString()), "RAS", MessageBoxButtons.OK, MessageBoxIcon.Information);
    I htink your only way to tell is to take the 10.2 report, add it to your VS2008 project and save. On save, if it says something like;
    "this report was crated ina precious version of CR"
    you know it is not 10.5.
    But I do not think that is your problem here...
    - Ludek

  • CRVS2010 Beta - Sporadic "This field name is not known. Details: errorKind"

    I am running CRVS2010 Beta 2 on the VS2010 trial version. I have been converting reports to this new version, but sometimes I get the error:
    This field name is not known. Details: errorKind Error in File XX11X1 {1X1111X1-1XX1-1X1X-111X-11111111X11X}.rpt: Error in formula tot-appr: '{@commited0}+{XX11X.AMT1} + {XX11X.AMT2} + {XX11X.AMT3} + {XX11X.AMT4} + {XX11X.AMT_FUT} ' This field name is not known. Details: errorKind
    I have done a lot of searching on this forum, Google, and Bing, but it seems everyone who receives this error message has just created the report or moved it to a new database, and the error is caused by a mis-pointed formula. I don't have that problem: in my case, the report usually works.
    I have tried querying the Oracle database immediately after receiving this error, and all the fields mentioned do exist, exactly where they ought to. The problem never exists when logging on with my own account, and sometimes works when logging on with other accounts, but I have not figured out a way to predict whether it will work or not.
    I have four reports I am running: one always works, two get this sort of error sometimes, and one (which is formatted differently) always shows up without errors, but is sometimes inexplicably blank. I cannot figure out in what way the report that always works is different from the two with this error (aside from obvious issues of layout and querying different tables, I mean).
    I'm at a loss for where to look next. I know this information won't be enough as-is, but I hope that your clarifying questions can help me find the error.
    Thank you for your consideration.
    EDIT: changed database names in case I get in trouble for revealing proprietary information, even though I don't think it's likely
    Edited by: sschaffer on Oct 25, 2010 9:57 PM

    Hello,
    Are you using a data Set? I believe the System.Data.OracleClient is the .NET Oracle client but not sure and not sure how reliable it is or what it's based on.
    What happens if you create a new report using the DataDirect OLE DB provide or Oracles OLE DB provide or use CR Oracle native driver?
    In the Connection Wizard select Oracle, that's the native driver, then when set log on info you just specify the Server name, User and PW, leave the database blank.
    Then what API's are you using to connect/set the log on info?
    I'm guessing that the error you are getting is likely an indexing problem in the table names etc. but not sure. if you search in this forum on "crlogger.dll" you could enable our database logging component and it may give you more info on what the cause is.
    Thank you
    Don

  • 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

Maybe you are looking for

  • How to separate non metric fields in Fact tables

    Hi All,    I am having metric fields along with some non metric fields  in fact tables(All the fields has to be present in fact table only). Is it possible to group all non aggregated fields and aggregated fields in the same fact tables. Please advis

  • How do I get past the license agreement screen on Reader 9.4?

    I've just installed Reader 9.4 on my Dell Inspiron 1501 laptop, o/s WinVista HP.  I have the same thing on my desktop and have never had a problem.   On the laptop, when I click on the Reader icon, I get the License Agreement and the instruction to "

  • Adobe photoshop when I select an object, the layers toolbar does not respond

    In Adobe photoshop when I select an object or a layer on the screen, the layers toolbar does not respond? Is there a quick fix to get the layers toolbar to reflect what you are clicking on the screen?   - thanks

  • MJPEG HD and 24 fps

    I use iMovie 5 because I like it better than 6 and because I use of ton of picture correction plug ins since I do a lot of film transfer work. I am considering having an old 16mm film transferred into high definition. The film is 24 fps. The transfer

  • Encrypted drive disappears

    Had an external working drive for Time Machine, previously unencrypted. Encrypted it and then used it with TM for backups. Worked fine. Filled up several times. Decided to go unencrypted since the backups were a lot slower. Used Disk Utility, selecte