Hello ,
I have created class library which will server as report library for my application, Now i want to view one of the report in silver light application using Silverlight report viewer . I added the reference of Telerik.ReportViewer.Silverlight in to the silverlight application.Also i have added the Reference to Telerik.Reporting.Service in to the WebApplication.
I also have created ReportService.svc file with following code.
When i preview the report in class library , it works fine but the problem is when i run the silver light application to view the report ,i got following error message
An error has occurred while processing Report 'DataItem1':
Unable to establish a connection to the database. Please, verify that your connection string is valid. In case you use a named connection string from
the application configuration file, make sure the name is correct and the connection string settings are present in the configuration file of your
application.
------------- InnerException -------------
Format of the initialization string does not conform to specification starting at index 0.
I have place the break point into the code file of report and i application reaches there.Please help me
I have created class library which will server as report library for my application, Now i want to view one of the report in silver light application using Silverlight report viewer . I added the reference of Telerik.ReportViewer.Silverlight in to the silverlight application.Also i have added the Reference to Telerik.Reporting.Service in to the WebApplication.
I also have created ReportService.svc file with following code.
<%@ServiceHost Service="Telerik.Reporting.Service.ReportService, Telerik.Reporting.Service, Version=x.x.x.x, Culture=neutral, PublicKeyToken=A9D7983DFCC261BE" %>
When i preview the report in class library , it works fine but the problem is when i run the silver light application to view the report ,i got following error message
An error has occurred while processing Report 'DataItem1':
Unable to establish a connection to the database. Please, verify that your connection string is valid. In case you use a named connection string from
the application configuration file, make sure the name is correct and the connection string settings are present in the configuration file of your
application.
------------- InnerException -------------
Format of the initialization string does not conform to specification starting at index 0.
I have place the break point into the code file of report and i application reaches there.Please help me