SSRS 2008 Web service - ssrs-2008

I need to get all on-demand reports name from report server
SSRS: Get list of all reports and parameters in a single web service call?
That link specify how to do it in sql server 2005 report server.
I have sql server 2008
i have tried http://10.230.193.131/ReportServer/ReportService2008.asmx?wsdl
but it gives
"The path of the item 'wsdl' is not valid. The full path must be less than 260 characters long; other restrictions apply. If the report server is in native mode, the path must start with slash. (rsInvalidItemPath) Get Online Help"
But I am able to see http://10.230.193.131/ReportServer/ReportService2010.asmx?wsdl
But I am not able to find the node where i get names of all reports
In short how can i get the name of all reports by consuming a service of SSRS 2008

Did you try using the ListChildren method in the ReportService2010 web service?
http://msdn.microsoft.com/en-us/library/reportservice2010.reportingservice2010.listchildren.aspx
Your question was specific to using the SSRS web service interface, but you could also query the SSRS tables directly in sql:
SELECT
[Path] [ReportPath],
Name [ReportName],
Type [ReportType],
[Description] [ReportDescription]
FROM
dbo.[Catalog]
WHERE
[Type] = 2 -- 1= Folder, 2= Report

I believe you do it in the same way as in the link you provided.
You can't access "http://10.230.193.131/ReportServer/ReportService2008.asmx?wsdl" because such thing does not exist. There are 3 endpoints for SQL Server 2008 (I'll assume you have the R2 version) and they are mentioned here:
http://www.blograndom.com/blog/2011/03/reportservice2010-asmx-is-not-the-only-end-point/
All you should do is generate ReportService2010 proxy using wsdl and proceed as in the link you provided.

Mention like
ReportViewer1.ServerReport.ReportPath = #"/EmployeeData";
# symbol as single / is treated as special character.

Related

Testing Jetty server of Jasper Reports Integration

I am trying to use JasperReports integration for the first time. I am using the included Jetty server, Oracle database XE 18c and Windows 7.
I am following the quick start guide https://github.com/daust/JasperReportsIntegration/blob/main/src/doc/github/installation-quickstart.md
I downloaded the zip folder, configuired database access through adding schema credentials in application.properties file as follows...
[datasource:default] type=jdbc
url=jdbc:oracle:thin:#localhost:1521:XEPDB1 username=hr password=hr
this parameter is limiting access to the integration for the specified
list of ip addresses, e.g.:
ipAddressesAllowed=127.0.0.1,10.10.10.10,192.168.178.31 if the list is
empty, ALL addresses are allowed.
Then I deployed the jri.war file successfully. Then I started the server successfully as well. But when I tried to test it through http://localhost:8090/, I got the following page, and I do not know if that's the norm or there's something wrong...
I need to know if testing is successful, and what's meant by "context" here?
Thanks
You deployed the jri.war to the context path /jri, this isn't an error, and is quite normal.
Just access your webapp via http://localhost:8080/jri/

What does 'System.ConfigItem.ObjectStatusEnum.Active' represent in SCOM

I query the following SCOM endpoint: OperationsManager/data/objectInformation/<object id>
Among the response properties, I receive the following property:
<MonitoringObjectProperty>
<name>Object Status</name>
<value>System.ConfigItem.ObjectStatusEnum.Active</value>
</MonitoringObjectProperty>
I want to know what this property represents. I am looking for a way to query the API to figure out if a given server is running or not (crashed/network disconnected etc) & wondering if this property represents this attribute.
It is not used in SCOM, its leftover from System Center Service Manager. Back in 2012 when they built Service Manager SCSM they used the code base from SCOM 2012. Then they merged the updated code SCSM back into SCOM (for some unknown reason) this created a bunch of useless properties and tables in the SCOM DB.
Many of these fields can still be updated manually with PowerShell but I would not recommend it.
Here is a link for more information. Using the Asset Status Property in SCOM
Here is how you can use the API to get server status. SCOM REST API to get Windows/Linux machine's availability (whether the server is running & reachable)?

How to get version using EWS powershell

$Service = New-Object Microsoft.Exchange.WebServices.Data.ExchangeService([Microsoft.Exchange.WebServices.Data.ExchangeVersion]::Exchange2013_SP1);
In the above line Exchange2013_SP1 is hardcoded. Using powershell how can I dynamically get the version when running the script?
In the Code provided, you are trying to create an instance of WebServices.Data.ExchangeService(something similar to this), specifying exchange version via ExchangeVersion Enum.
However - the query after that is about knowing how to obtain Exchange Version via PowerShell. Probably this is very well documented and googling shows many hits about checking Exchange Version:
https://blogs.msdn.microsoft.com/deva/2012/04/27/powershell-determine-version-number-build-number-and-service-pack-of-exchange-server/
https://blog.jasonsherry.net/2012/12/27/get-exchangever/
If you make a request like Binding to the Inbox of a Mailbox in the response the build details of the CAS Server the processed the response is returned https://msdn.microsoft.com/en-us/library/microsoft.exchange.webservices.data.exchangeservicebase.serverinfo(v=exchg.80).aspx and exposed via the ExchangeService Class this can be used to tell the CU that's been applied to the Target and is the most useful thing if you trying to track errors etc.
EWS Schema version (which is what you have hardcoded) and Server versions are two different things so I would suggest you read https://msdn.microsoft.com/en-us/library/office/dn741586(v=exchg.150).aspx . Autodiscover can be used to find the highest EWS Schema version of CAS server.

Change URL in email sent by SSRS

I have a reportserver that is succesfully able to send out subscriptions as emails.
However, if I include the link to the report, the link is 'local'.
The reportserver can be reached using
http://reporting.mycompany.com
OR internally through our VPN.
The link in the email added by SSRS looks like
- http://HOST_NAME/ReportServer/PATH_TO_REPORT
I have looked, tried, searched but I cannot find as solution.
In the RS Configuration Manager two URL's have been added for the Web Service URL:
- http://reporting.mycompany.com:80/ReportServer
- http://HOST_NAME:80/ReportServer.
If I remove the second I can no longer connect, internally OR externally.
The Report Manager URL is set up as
- http://reporting.mycompany.com:80/Reports
The only thing I want is to have the URL in the emails to look like
- http://reporting.mycompany.com:80/ReportServer/PATH_TO_REPORT
I have been looking at the RS Configuration Manager, the RSconfig file, IIS but for the love of me, I cannot find a way to change the link in the email......
Who can point me in the right direction?
Thanks for thinking with me!
Instructions on this didn't help either :s
The instructions in this link are correct;
http://www.sqlservercentral.com/Forums/Topic673108-162-1.aspx
The fault actually was in the certificate that was being used.....
The link also worked for me but I had to use ReportServer instead of Reports in the
Correct url: "http://myserver.mydomain.com/ReportServer
^
Incorrect url: "http://myserver.mydomain.com/Reports
^
The location on SSRS 2019 is C:\Program Files\Microsoft SQL Server Reporting Services\SSRS\ReportServer\rsreportserver.config
Look for <UrlRoot> and enter http://<youralias>/ReportServer

Using SQL Server CE 4.0 with Entity Framework on Windows Azure

I am using SQL Server CE 4.0 with WebApi on Windows Azure Websites. I have been successfully able to deploy SQL Server CE. The weird problem I am facing is that my site is able to log me in using the same DB but I am not able to use any of the controllers to fetch the data.
I am using same connection string for both. The only difference is that for logging in I am using WebSecurity as I have enabled OAuth on the site.
Can someone throw some light on how to debug and fix this issue? The error I am getting for the calls is
Format of the initialization string does not conform to specification
starting at index 0.
However the same string works for authentication, change password, adding OAuth connections etc.
Thanks in advance
I connected to the site using FTP. I was not giving the site name as domain name and it was denying me access earlier. On connecting, I got hold of the Web.config file and I found something interesting. While publishing the site, the web.config was modified to add another connectionstring with the name of context_DatabasePublish.
This string had following details connectionString="ContextName_DatabasePublish.ConnetionString" providerName="System.Data.SqlClient"
Also there was a new section called context added to the entityframework section of the config file with all the details for the context to use but again pointing to same connection string. The provider it is using is sql and not sqlce. I believe that is the reason it was failing.
I uploaded my normal config file and the site started working. I need to explore more on to why and how the new connection string got added. I will post the details in comments.