public class TypeNameBasedReportResolver : IWebDocumentViewerReportResolver
Public Class TypeNameBasedReportResolver Implements IWebDocumentViewerReportResolver
For security reasons, the default report resolver does not resolve reports by their type names.
The TypeNameBasedReportResolver class tries to open a report from a report storage or based on the report's type name if a storage is not registered.
To skip security considerations and allow the Document Viewer to open reports by type names, register the TypeNameBasedReportResolver class at the application's startup as shown below:
using DevExpress.XtraReports.Web.WebDocumentViewer; // ... DefaultWebDocumentViewerContainer.RegisterSingleton<IWebDocumentViewerReportResolver, TypeNameBasedReportResolver>();