Suppress warning for rsOverlappingReportItems
Asked Answered
C

3

23

Is there a way to suppress the following warning?

warning rsOverlappingReportItems: The image 'image3' and the image 'image1' overlap. Overlapping report items are not supported in all renderers.

Cornflower answered 13/7, 2009 at 5:55 Comment(2)
I'm also looking for a solution to this problem. In the MSDN documentation, it says that you should be able to enter a warning identifier in the Suppress warnings textbox, but I cant find any warning identifier.Weevil
There does not seem to be a solution for this problem: forums.asp.net/p/1314684/2599937.aspxYolande
C
8

Sadly, I think the answer is indeed "No" - at least for the 2008 products.

Cornflower answered 29/12, 2009 at 11:59 Comment(2)
There doesn't appear to be a "real solution" for VS2010 either. I have found that dropping the projects warning level (RightClickOnTheProject ~ Properties Project ~ Build ~ Warning Level = 0 or 1) supresses this warning, but I don't want to risk that, because I don't know what else that supresses, so I'll just have to put up with losing my warnings in the blizard. Sigh.Catalog
Is there a solution for VS2019?Jacquelyn
W
7

So,

This is an old question, but one that I've been meaning to look at for a while. After some digging, it turns out that you need to use 'rsOverlappingReportItems' as the warning number, and then it works.

Update : This is found under the "Build" tab of project properties. I've noticed some people mention rptproj files. Not quite sure what kind of project that is. The below is for standard libraries (.dll) (.csproj), where an RDLC file is included.

enter image description here

Width answered 2/5, 2021 at 23:47 Comment(3)
Where do you go to set this? Solution properties, project properties or Visual Studio Options?Mazarin
I would love to give this a +1, but like Dave Slinn, I would need to know where this is. I'm using VS 2019/2022 and can't find that where I would expect it (properties of rdl, properties of rptproj).Enchantment
Just checked to see if that could be manually added to the rptproj file using NoWarn, and that didn't workEnchantment
R
1

In my case this error started showing up completely out of the blue - and only on 1 particular RDLC, even though we had 4 RDLC's with almost identical layouts. Previously all 4 layouts had worked absolutely fine.

I noticed in the error list a different error for the RDLC, and when I solved that, all the "Overlapping report items are not supported in all renderers" errors suddenly disappeared after a solution rebuild.

The additional error was:

An unexpected error occurred while compiling expressions. Native compiler return value: ‘[BC30179] class 'textbox12_TextBoxExprHost' and class 'Textbox12_TextBoxExprHost' conflict in class 'ReportExprHostImpl'.’

The fix for this was to find my controls "Textbox12" and "textbox12" and give them better names that did not conflict with each other. After the Solution Rebuild all the errors on the RDLC disappeared.

(Visual Studio 2019 / .NET 4.8 target)

Resonator answered 14/7, 2020 at 11:54 Comment(0)

© 2022 - 2025 — McMap. All rights reserved.