ssrs 2010 font size issue

  • In an SSRS 2010 report, I am getting the following warning messages,

    "Warning 1 [rsParseErrorInvalidSize] Near character position 813 in the input string, the value of the font-size property for the textrun ‘stringtemplate2.Paragraphs[0].TextRuns[0]’ is “14px”, which is not a valid size. Valid sizes may not exceed 455 inches (1155.7 centimeters). D:\TEST\StuLetter.rdl 0 0

    Warning 2 [rsParseErrorInvalidSize] Near character position 805 in the input string, the value of the font-size property for the textrun ‘stringtemplate2.Paragraphs[0].TextRuns[0]’ is “14px”, which is not a valid size. Valid sizes may not exceed 455 inches (1155.7 entimeters). D:\TEST\StuLetter.rdl 0 0".

    I have been trying to determine where this location is at to correct the message. I have looked at code view and cannot find these 2 locations. I have also made the image in the ssrs report very small and that has not fixed the issue.

    Thus can you tell me how to determine where these warning messages are at so I can fix the issue?

  • The error clearly implies that a string in the report, somewhere, it trying to be set to 14px, which is an invalid font size (as it should read 14pt).

    When are you getting the error, whenyou're viewing the reportin VS 2010 or when you're viewing it in the web portal.

    I had a quick google, as it isn't something i've encountered before, and it implied that the problem was due to cached datasets. Could you try running the report using different parameter values?

    Also, are any of your text fields using expressions to devive the size of the font? If so, it would be worth looking at thoseand seeing what the logic is.

    Thom~

    Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
    Larnu.uk

  • Is there a way to know where a line number and position numbers are when working is visual studio 2010? How can you setup line numbers and/or character position numbers to show up in Visual Studio 2010?

  • I only have VS 2015 installed at home, so if this doesn't work let me know and I'll check when I get to the office tomorrow (I have VS2010 there).

    Tools->Options...->Text Editor->All Languages->General->Line Numbers

    Thom~

    Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
    Larnu.uk

  • wendy elizabeth (1/8/2017)


    Is there a way to know where a line number and position numbers are when working is visual studio 2010? How can you setup line numbers and/or character position numbers to show up in Visual Studio 2010?

    I only have VS 2015 installed at home, so if this doesn't work let me know and I'll check when I get to the office tomorrow (I have VS2010 there).

    Tools->Options...->Text Editor->All Languages->General->Line Numbers

    Just to confirm, it is the same in VS2010.

    ----------------------------------------------------

  • wendy elizabeth (1/8/2017)


    Is there a way to know where a line number and position numbers are when working is visual studio 2010? How can you setup line numbers and/or character position numbers to show up in Visual Studio 2010?

    Since you veered away from the issue of the messages you posted, did you get this resolved? One thing you can try is CTRL+ALT+T in the VS for the SSRS project. This will open up the document outline, which supplies all objects contained in your report object. Compare the name in the messages and see if it corresponds to one of these objects listed.

    ----------------------------------------------------

Viewing 6 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic. Login to reply