Hi @Vito ,
Thanks for your sharing. https://stackoverflow.com/questions/72235061/subscriptions-are-not-creating-in-the-report-server-database
Best Regards,
Joy
Subscriptions are not creating in the report server database
I have written the code to create the subscriptions by adding the reference to ReportService2010.asmx. Please see the below screenshot for code and result [Id = 218, Status = WaitingForActivation, Method = "{null}", Result = "{Not yet computed}"]. I am not getting any error, but subscriptions are not creating in the DB.
I have configured the report server correctly by using the Report Server Configuration Manager. Reports are rendering correctly using the report server and entries of logs are creating in the table 'ExecutionLogStorage' of ReportServer DB.
Code:
ReportingService2010SoapClient rs = new ReportingService2010SoapClient(EndpointConfiguration.ReportingService2010Soap);
string report = "http://servername/ReportServer/Myreports/MyRDL";
System.Threading.Tasks.Task subscriptionID;
subscriptionID = rs.CreateSubscriptionAsync(new TrustedUserHeader(),report, extSettings, description, eventType, matchData, parameters);
Result of web service:
I have used VS 2022, Framework 6.0, .net core. Microsoft SQL Server 2019.
Screenshot of Web Service Reference:
Please let me know if missed anything. Thanks in advance.
1 answer
Sort by: Most helpful
-
Joyzhao-MSFT 15,566 Reputation points
2022-05-23T02:50:49.427+00:00