Options

Error while modifying the Default report

te6te6 Member Posts: 89
edited 2011-01-19 in NAV Three Tier
hi all ,

I am modifying the existing report. Like Deleting some controls in the default Report ..

these modifications are done classic client

it is throwing this error.

Microsoft Dynamics NAV Classic
Error while validating RDL content:
An error occurred during local report processing.

The definition of the report 'Main Report' is invalid.

A field in the data set ‘DataSet_Result’ has the name ‘SalesLine__Line_Amount_-SalesLine__Inv__Discount_Amount_Format’. Field names must be CLS-compliant identifiers.



OK

please suggest why this and how to solve...

Comments

  • Options
    clauslclausl Member Posts: 455
    If you are only using the Classic report and do not plan to use the RoleTailored client report, you can delete the RDLC part of the Report Object.
    Here is how:
    1. Select Report
    2. Design Report
    3. Select "Tools / Delete Layout"
    You wil now get a warning that this report has Layout. As I said above you can now select Yes, if you don't plan to use the Role Tailored client report.
    4. Now Save and Compile the report
    5. and run report

    Regards,
    Claus
    Claus Lundstrøm | MVP | Senior Product Manager | Continia.com
    I'm blogging here:http://mibuso.com/blogs/clausl and used to blog here: http://blogs.msdn.com/nav
    I'm also offering RDLC Report Training, ping me if you are interested. Thanks to the 700 NAV developers that have now already been at my training. You know you can always call if you have any RDLC report issues :-)
  • Options
    ShashanksidShashanksid Member Posts: 17
    Hi,

    If i need to create the RDLC for the same report, giving the same error,
    A field in the data set ‘DataSet_Result’ has the name ‘InvtValue_1__Control31Caption ’. Field names must be CLS-compliant identifiers.

    is there any solution for the prob., as i need to create the RTC layout for the report.
  • Options
    clauslclausl Member Posts: 455
    Remove the blank space ' ' at the end of the name. Spaces are not CLS compliant.

    Before:
    ‘InvtValue_1__Control31Caption ’

    After:
    ‘InvtValue_1__Control31Caption’

    Regards,
    Claus
    Claus Lundstrøm | MVP | Senior Product Manager | Continia.com
    I'm blogging here:http://mibuso.com/blogs/clausl and used to blog here: http://blogs.msdn.com/nav
    I'm also offering RDLC Report Training, ping me if you are interested. Thanks to the 700 NAV developers that have now already been at my training. You know you can always call if you have any RDLC report issues :-)
Sign In or Register to comment.