ReportViewer Error in ASPX for Remote SSRS - reporting-services

I get the following error:
In remote mode, the Report Viewer control requires session state be
enabled or Report Server connection information specified in the
config file.
Windows 2008 server, IIS 7, Dot Net 3.5
sessionState=InProc
After rebooting, I still get the error.

Do you have the Report Server connection information setup in the Config file of your webservice?
Take a look at http://msdn.microsoft.com/en-us/library/ms251661.aspx
Working in remote mode, you need to specify the reporting service connection string for report viewer to function.

Related

SSRS error when connecting to an external database

When I test my data source connection in Report Manager, I keep on getting the error message below:
A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: SSL Provider, error: 0 - The client and server cannot communicate, because they do not possess a common algorithm.)
Here is the setup of the SSRS.
The SSRS server is installed and configured in SystemA, but the database is on an external server (let's call it SystemB) within the same network.
The report does not work in the report folders and browser of SystemA. Both servers are in the same domain.
The reports can be executed in Visual Studio just by changing the connection string, but when I deploy and try to run them in the Report Manager (SystemA), it gives me that error above.
Has anyone had a solution to this?
The database version is MS SQL 2012 running in Window Server 2008 R2

Unable to connect to Microsoft SSRS 2012 via SSMS or Report Server/Report Manager

I have installed Microsoft SQL Server Developer Edition in my local machine for my own development use with a Windows Authentication. I have been able to connect to DB Engine, SSAS (Multidimensional Model) Engine, SSIS Engine, SSAS (Tabular Model Engine using another instance).
I was able to connect to SSRS engine (Native Mode) a few weeks earlier. Recently I installed CheckPoint SSL VPN to access our client Remote Desktop. After this installation, whenever I connect to SSRS either using SSMS or Report Server or Report Manager, even though the SSRS Services is running (I have been able to verify from SQL Server Configuration Manager as well as Reporting Services Configuration Manager). I even tried to add the SSRS Report Server link in the SSMS for the SSRS Engine, but still not successful.
I get the following:
TITLE: Connect to Server
Cannot connect to LAPTOPNAME\SQL2012DEV.
ADDITIONAL INFORMATION:
Unable to connect to the server at LAPTOPNAME\SQL2012DEV. The specified URL might not be valid or there might be a problem with the report server version or configuration. Specify a different URL, or contact your
server administrator to verify that the report server runs SQL Server 2008 or later. Additionally, if you are trying to connect to a SharePoint-integrated report server, verify that SharePoint is installed on the server
and that the report server uses SharePoint integrated mode. (Microsoft.SqlServer.Management.UI.RSClient)
BUTTONS:
OK
Could this be due to some permission issues ? I have restarted the SSRS services many times, though it is running, I am not able to connect. Should some Admin privileges be given to my Windows account ? If so, can you guide me how ?
Information from SQL Server Configuration Manager (for SSRS service):
Log on As: NT Service\ReportServer$SQL2012DEV
Information from Reporting Serivces Configuration Manager:
Service Account is built-in: ReportServer$SQL2012DEV
Should I change built-in account to Local Service, Network Service, Local System ?
Open "Reporting Services Configuration Manager" in "Web Service URL" OR "Web Portal URL" tab check your IP and Port access & use the link in URLs to be sure. I think your new application changed this settings.

SSRS report deployment

I have 3 server, web server, app server and db server. Where should I place the report url and report datasource in ? currently I placing in the web which is not working right now. Please help. Thanks.
The web server cannot directly go through app server. It block by the firewall and only allow by calling using the wcf request. The SSRS install in db server but the physical report is place in the app server that point to db server virtual directory. The report deployment is using the SSDT at the app server.

SSRS: HTTP Error 503. The service is unavailable

I have been wanting to deploy my SSRS reports to a Test server. However I found that on that server the SSRS service had stopped, and I had to change the setting so that it used a built in Network Service account. After doing that I found I could start the service. However when I key in the ReportService url in my browser, I get the above error message.
One problem that I had when I changed the settings to the Network Service account is that I got the error message:
"A connection could not be established with the information provide. Hit OK to change your connection settings.
A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: named Pipes Privider, error: 40 - Could not open a connection to SQL Server)"
Even so, this did not stop the service from starting.
As a result of all this I still cannot deploy my reports. How do I fix this?
If you are running SSRS 2016, restart the SSRS services:
SQL Server Reporting Services (MSSQLSERVER)
SQL Server Reporting Services Web App (MSSQLSERVER)
The best way to find the answer is to check the log files.
You can find the log files for report server at below path:
In SQL Server Reporting Services 2016 or earlier: C:\Program Files\Microsoft SQL Server\MSRS13.MSSQLSERVER\Reporting Services\LogFiles
In SQL Server Reporting Services 2017: C:\Program Files\Microsoft SQL Server Reporting Services\SSRS\LogFiles
Thanks & Regards
Karan
Error 503 Usually comes if the database credentials are wrong , you can test the connection from Reporting Configuration Manager.
Otherwise, Check the Reportserver config file "rsreportserver" at path
C:\Program Files\Microsoft SQL Server\MSRS13.MSSQLSERVER\Reporting Services\ReportServer
and find the following tags are correct or not.!
<Authentication>
<AuthenticationTypes>
<RSWindowsNTLM/>
</AuthenticationTypes>
<RSWindowsExtendedProtectionLevel>Off</RSWindowsExtendedProtectionLevel>
<RSWindowsExtendedProtectionScenario>Proxy</RSWindowsExtendedProtectionScenario>
<EnableAuthPersistence>true</EnableAuthPersistence>
</Authentication>
According to user permissions/properties you can change <AuthenticationTypes> tag.
Restart Following Services
SQL Server Reporting Services (MSSQLSERVER)
SQL Server Reporting Services Web App (MSSQLSERVER)
This error is also generated if you are using a trial version of SSRS and it has expired.
Find <IsWebServiceEnabled>False</IsWebServiceEnabled> and change to
<IsWebServiceEnabled>True</IsWebServiceEnabled> in the rsreportserver
config file.
I was getting this error and tried deleting the URL's from the rsreportserver.config file.
After lots of frustration, I found that the permissions on that file and directory itself did not allow ReportServer user to modify the file. Once I gave the reporting user permission on the file, all was good to remove / update URL's, and returned SSRS back into service.
Try explicitly adding the user permissions to the config file.
Good luck!
In rsreportserver.config, my value was not correct. It was showing up as: http://+:80. Of course, this needs to map to the URL specified in the Report Server Configuration Manager, Web Portal URL (ie the blue URL link that was bringing me to a "not connected" browser screen). It did not, so I got Service Unavailable with a 503 (HTTP error).
The solution: edit the value/address to match the Web Portal URL.
Web Service URL -> URLs: http://MYSERVERNAME:80/Reports
rsreportserver.config -> http://MYSERVERNAME:80/Reports
Once I saved the rsreportserver.config with the edited value to match accordingly (above), I could click on the provided link in the Web Portal section of the Report Server Configuration Manager, and it brought up the SQL Server Reporting Services page. Note: I didn't need to restart anything.
Cheers!

SQL Server 2008 - The report manager URL shows a page without Properties tab

I have SQL Server 2008 Developer Edition and I'm facing the following issues with the Reporting Services.
When I open the Report Manager URL (I get it from the Reporting Services Configuration Manager) in a browser, it shows me a SQL Server Reporting Services page with a folder icon on top left and links with text 'Home', 'My subscriptions', 'Help' on top right. That's it, I don't get to see anything else.
I have a virtual directory with the same name as specified for Report Manager in Reporting Services Configuration Manager.
Opening the Report Server in the browser gives the following error message-
Reporting Services Error
The report server cannot open a connection to the report server database. A connection to the database is required for all requests and processing. (rsReportServerDatabaseUnavailable) Get Online Help
A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Shared Memory Provider, error: 40 - Could not open a connection to SQL Server)
I tried the following at the command prompt in order to resolve it-
rsconfig -c -s <SQLSERVERNAME> -d reportserver -a Windows -u <MYDOMAIN\MYACCOUNT> -p <PASSWORD>
but I got another error saying Report Server WMI Provider error: Invalid namespace
I would really appreciate any help on this.
cheers
I was finally able to get through both the problems by opening a port in Windows firewall for the Report Server.
For Windows 2003 and Vista the steps are mentioned here http://msdn.microsoft.com/en-us/library/bb934283.aspx
cheers
1) Open Start -> SQL Server (20xx) -> find "Reporting Services Configuration Manager" in subfolders -> go to Database tab -> check if "sql server name" and "Database Name" are selected correctly. It is the database which reporting services stores reports in it.
2) if it was OK, check if you have more the one sql instances. If you have more than one instances on your machine, decide which one you want to use. for example sql server 2008 or sql server 2012. Maybe you are using the URL of the reporting services 2008 that is not using a correct database in its "Reporting Services Configuration Manager"