I try to execute report viewer but does not work. So this is an error log message from ssrs log file.
ERROR:
Reporting Services error Microsoft.ReportingServices.Diagnostics.Utilities.ClosingRegisteredStreamException:
An error occurred closing a registered stream. --->
Microsoft.ReportingServices.Diagnostics.Utilities.ReportServerHttpRuntimeClientDisconnectionException:
A client has disconnected from the Report Server Web service application domain
ReportServer_MSSQLSERVER_0-4-131683910836410373.
No corrective action is required. An error code has been submitted to ASP.NET to release the connection.
The error code is 800708CA. ---> System.Runtime.InteropServices.COMException: This network connection does not exist. (Exception from HRESULT: 0x800708CA)
In the web config set the http run time as
<httpRuntime maxRequestLength="2147483647" executionTimeout = "10800"/>
Related
I've been trying to deploy an ASP.NET Boilerplate application to Azure for the last couple of days and I haven't been able to do so. I keep stumbling upon this error:
First I make a Web App + SQL resource and then publish my project to it from inside Visual Studio using the right click -> deploy option, and then importing the publication profile I got from Azure. I make sure the database connection string in the appsettings.production.json are correct but I can't seem to connect to the database. If I try to connect to the database through the SQL Server Management Studio I get a similar error. This means something is wrong with the database itself.
Do I need to create a separate SQL database in Azure that makes use of the SQL database server that comes with the Web App + MySQL resource?
Any help would be greatly appreciated! I have been spending way too much time on this problem already.
This is a screenshot of all the resources in the Azure portal, these were created while creating the Web app + MySQL resource:
Edit: This is the error I am getting:
Win32Exception: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. Unknown location SqlException: 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: TCP Provider, error: 0 - A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.) Microsoft.Data.ProviderBase.DbConnectionPool.CheckPoolBlockingPeriod(Exception e) InvalidOperationException: An exception has been raised that is likely due to a transient failure. Consider enabling transient error resiliency by adding 'EnableRetryOnFailure()' to the 'UseSqlServer' call. Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy.Execute<TState, TResult>(TState state, Func<DbContext, TState, TResult> operation, Func<DbContext, TState, ExecutionResult<TResult>> verifySucceeded) Win32Exception: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
Since you mentioned you can't access db in any other way, I provided step-by-step instruction
You can get your connection string from Azure resource panel
Navigate to Connection security tab and enable access from other Azure resources. This way WebApp will be able access database server inside Azure network. I also added my client IP to test db connection from my PC later. Click Save at the top when you are done
On the same page there is setting called configure SSL connection. Certificate can be downloaded from https://learn.microsoft.com/uk-ua/azure/mysql/howto-configure-ssl. I used this file https://www.digicert.com/CACerts/BaltimoreCyberTrustRoot.crt.pem . Optionally, you could disable this feature for now.
Now we have everything to test db connection. I will show it with the use of HeidiSQL client.
Click open and see your databases
According to this you need to have CACertificateFile parameter appended to connection string to use SSL, so you need to put file into repository and provide its relative path in connection string
This was all caused by a stupid mistake, in the Azure portal I selected the Web App + MySQL resource instead of the Web App + SQL resource. For the ASP.NET Boilerplate project I am using you need a Web App + SQL resource.
I'm following the following thread to configure SSRS for SSL.
Configure SSRS for SSL
Here's what I have.
netsh http add urlacl url=https://dbserver.mydomain.org:443/Reportserver_Test/ user="NT Service\ReportServer$Test" listen=yes addl=S-1-5-80-3637326371-3941449338-1192580090-1447153118-1238582853
And the error is:
Url reservation add failed, Error: 87
The parameter is incorrect.
I don't know what's wrong with the command I've used; however, here's how I resolved the issue with SSL in SSRS.
I opened up the rereportserver.config file
Delete everything in the tags
Restart SQL Server Reporting Services
Open Reporting Services Configuration Manager
Re-setup Web Services URl with SSL Certificate
Click Apply
This seems to work for me for the moment.
I just upgraded SSRS Express 2016 to SSRS Express 2017.
When configuring the service I can set the web service url and the Web Portal url.
When creating a new database I can use the wizard without any issue. Database credentials are ok, connection test are successful and so on.
However, when it is time to make the creation effective, the last step of the wizard, there is an error when "Generating database script".
Here are the details:
Microsoft.ReportingServices.WmiProvider.WMIProviderException: An error occurred when attempting to connect to the report server remote procedure call (RPC) end point. Verify that the Report Server Windows service is running, and then retry the operation.
---> System.Runtime.InteropServices.COMException: The RPC server is not listening. (Exception from HRESULT: 0x800706B3)
--- End of inner exception stack trace ---
at Microsoft.ReportingServices.WmiProvider.RSWmiAdmin.ThrowOnError(ManagementBaseObject mo)
at Microsoft.ReportingServices.WmiProvider.RSWmiAdmin.GenerateDatabaseScript(String databaseName, Int32 lcid, Boolean isSharePointIntegrated, String& script)
at ReportServicesConfigUI.WMIProvider.RSReportServerAdmin.GenerateDatabaseScript(String databaseName, Int32 lcid, Boolean isSharePointIntegrated, String& script)
The only clue it gives it to make sure the service is running. I confirm the service is really running. What do I don't understand?
Thanks in advance for your help
I just had the same issue a few days ago. I solved it by adding local admin rights to the service account that I have, that runs the SSRS instance. I guess it needs more than normal user rights to start the WMIProvider.
here is the error i got[Send Mail Task] Error: An error occurred with the following error message: "Failure sending mail. System.Net.WebException:
The remote name could not be resolved: 'smtpserver'".
That usually means that you don't actually have an smtp server named "smtpserver". At least not one that your SSIS server can connect to.
I'm seeing the error:
"Failure sending mail: Report processing has been canceled by the user. Mail will not be resent."
On a scheduled reporting services report.
The error message is rubbish, however on looking at the reporting services logs, which are located:
C:\Program Files\Microsoft SQL Server\MSRS10_50.SP\Reporting Services\LogFiles
I was able to identify an error was occurring in a custom stored procedure.
On resolving this, the problem was fixed.