title | description | type | page_title | slug | position | tags | ticketid | res_type |
---|---|---|---|---|---|---|---|---|
Could Not Retrieve Information for Folder Error is Thrown on Loading the Web Designer |
Could not retrieve information for folder error is thrown on designer initialization |
troubleshooting |
Could Not Retrieve Information for Folder Exception In The Web Designer |
could-not-retrieve-information-for-folder-web-designer |
Web Report Designer, Web, Designer |
1568828 |
kb |
Product | Progress® Telerik® Reporting |
Project Type | Web Application |
On loading the Web Report Designer, an error is thrown in the bottom right corner, and also in the browser's console
Could not retrieve information for folder. Error: An error has occurred.
The ReportDesignerControllerBase
includes the following method:
public override IActionResult GetFolderModel([FromQuery] string uri)
The problem is that parameters on actions are treated as required if they do not have the nullable? annotation.
Open the .csproj
file of your project and add the following setting:
<Nullable>warnings</Nullable>
The methods of the ReportDesignerControllerBase
class are virtual
and thus, they can be overriden
. In this case, the following method can be overriden to fix the error:
public override IActionResult GetFolderModel([FromQuery] string? uri)
{
return base.GetFolderModel(uri);
}