'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);
I have used VS 2022, Framework 6.0, .net core. Microsoft SQL Server 2019
Please let me know if missed anything. Thanks in advance.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|