Quantcast
Channel: Telerik Forums RSS
Viewing all articles
Browse latest Browse all 84751

Reporting Q3 2015 - "Method not allowed" - The requested resource does not support http method 'GET'.

$
0
0

Hi Stef,

 

Still no luck - I have followed the directions to the letter and have no crossdomain (CORS) issues.

I have a report controller pointing to a custom provider that looks like this:

public class ReportsController : ReportsControllerBase
    {
        static Telerik.Reporting.Services.ReportServiceConfiguration configurationInstance = new Telerik.Reporting.Services.ReportServiceConfiguration
        {
            HostAppId = "xxx",
            ReportResolver = new CustomReportResolver(),
            Storage = new Telerik.Reporting.Cache.File.FileStorage(),
        };

        public ReportsController()
        {
            this.ReportServiceConfiguration = configurationInstance;
        }
    }

Perhaps I am calling it from the client incorrectly?

 

$("#reportViewer1")
            .telerik_ReportViewer({
                serviceUrl: "https://xxx/api/reports/",
                templateUrl: 'https://xxx/ReportViewer/templates/telerikReportViewerTemplate-9.2.15.930.html',
                reportSource: {                    
                    report: getParameterByName("Id"),
                    parameters: {
                        CultureID: "en"
                    }
                }
            });

 

Note 'xxx' is replaced with my server name.  Same issue appears locally and remotely.

  

 

 

 


Viewing all articles
Browse latest Browse all 84751

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>