This is a migrated thread and some comments may be shown as answers.

Report Server error

2 Answers 150 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Cris
Top achievements
Rank 1
Cris asked on 18 Oct 2018, 11:18 AM
Hi we have been evaluating Report Server and is getting an error whenever we connect storage to MSSQL Server (see attached image). I checked the service and its running. I just noticed in IIS its assigned to port 83 but in the config files its assigned to port 81. And whenever I change to port 83 it fails. Pls. help thanks.

2 Answers, 1 is accepted

Sort by
0
Cris
Top achievements
Rank 1
answered on 18 Oct 2018, 11:35 AM

and I am getting this error when putting a trace

Environment.UserInteractive: False

Telerik.ReportServer.ServiceAgent.exe Information: 0 : Service storage: 
Provider: 

    DateTime=2018-10-18T11:32:06.0712803Z
Telerik.ReportServer.ServiceAgent.exe Error: 0 : System.TypeLoadException: A null or zero length string does not represent a valid Type.
   at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean loadTypeFromPartialName)
   at System.RuntimeType.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark)
   at System.Type.GetType(String typeName, Boolean throwOnError)
   at Telerik.Reporting.Cache.StorageFactory.CreateProviderFromTypeName(String typeName)
   at Telerik.Reporting.Cache.StorageFactory.<>c__DisplayClassa.<Register>b__9()
   at Telerik.Reporting.Cache.StorageFactory.StorageProviderWrapper.get_Provider()
   at Telerik.Reporting.Cache.StorageFactory.ResolveProvider(String providerName)
   at Telerik.Reporting.Cache.StorageFactory..ctor(IProviderSettings storageSettings)
   at Telerik.ReportServer.ServiceAgent.ServiceAgent.get_ReportServer()
   at Telerik.ReportServer.ServiceAgent.ServiceAgent.CreateSmtpService()
   at Telerik.ReportServer.ServiceAgent.ServiceAgent.StartService()
    DateTime=2018-10-18T11:32:06.0869417Z

0
Silviya
Telerik team
answered on 23 Oct 2018, 06:26 AM
Hello Cris,

This is a known issue introduced in the specified version of Telerik Report Server (4.1.18.516). It has been already fixed in our Internal Build 4.1.18.604. So, I suggest to upgrade to Telerik Report Server 4.1.18.604 or later version.

To download it, log into your Telerik account, click on the Downloads tab to view all the purchased and trial products available for download, and click on the ProgressĀ® TelerikĀ® Report Server product title and either click the Latest Internal Build download button, or select Internal Builds tab.

If this is not acceptable, the workaround with the current version is to manually modify the ServiceAgent.exe.config file with the desired storage settings, e.g.:
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
  <configSections>
    <section name="serviceAgent"type="Telerik.ReportServer.ServiceAgent.Configuration.ServiceAgentConfigurationSection, Telerik.ReportServer.ServiceAgent" requirePermission="false" allowLocation="true" />
  </configSections>
  <serviceAgent>
    <storage provider="MsSqlServer">
      <parameters>
        <parameter name="ConnectionString" value="Data Source=.;Initial Catalog=TelerikReporting;User Id=xxxxxxx;Password=xxxxxx;" />
      </parameters>
    </storage>
  </serviceAgent>
</configuration>

Regards,
Silviya
Progress Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
General Discussions
Asked by
Cris
Top achievements
Rank 1
Answers by
Cris
Top achievements
Rank 1
Silviya
Telerik team
Share this question
or