Telerik Forums
Reporting Forum
2 answers
102 views
I want control the reportviewer's documentmap,and want change the documentmap's background .How can I do?
he seaman
Top achievements
Rank 1
 answered on 09 Nov 2011
1 answer
82 views
I've got a table built using the table wizard that seems to be trying to generate an infinite number of pages.

There's only supposed to be a little over 200 records, but when I hit the preview tab, it works until it hits an out of memory exception. I tried the HTML preview, and it will actually show me the first page of the report, which is all of the right records, but the page count keeps going up, and all of the other pages are exactly the same as the first page. The first time I didn't notice that the page count was going up, and it got up to over 1100 pages.

I've verified that my query is returning the right number of records. It seems to be just this table.

What's going on here?

Thanks
Devin
Top achievements
Rank 1
 answered on 09 Nov 2011
3 answers
168 views
I'm getting the following error trying to install reporting Q1 2011.  Here is the error:

Error-2147467259: failed to create SQL Database: AdventureWorks, error detail: Unknown error.

I do already have the AdventureWorks database.
TonyG
Top achievements
Rank 1
 answered on 08 Nov 2011
4 answers
533 views
I'm guessing this is not a new problem but it's the first time I'm seeing it. I'm fully documenting this for anyone else who has a similar situation. When I install the current (Q2 2010 SP1) release of Reporting with Examples I get:

Error -2147217900: failed to execute SQL string, error detail: Database 'AdventureWorks' cannot be opened due to inaccessible files or insufficient memory or disk space. See the SQL Server errorlog for details., SQL key: PrepareTempTable SQL String ... USE Adventureworks;

I am running a local instance of SQL Server Express 2005. I realized that I had deleted the AdventureWorks_Data.mdf, so "inaccessible files" made sense. I reinstalled the database using the Microsoft msi.

Even though I'm running with a user with administrator privileges, I wasn't able to connect using the VS2008 Server Explorer until I set "User Instance=True". So now my ConfigurationString is:
Data Source=NINJA\SQLEXPRESS;AttachDbFilename="C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Data\AdventureWorks_Data.mdf";Integrated Security=True;User Instance=True
So now VS connects and I can see the whole database.

But I still get the same error installing Telerik Reporting. See the attached image.

The installer does a rollback on failure so we can't get by this issue after it occurs. Restarting the installer I disabled the install of the Examples and the install completed successfully.  So that's how to get around the issue.

I opened Services. My "SQL Server (SQLEXPRESS)" service is running under account "NT AUTHORITY\NetworkService".  I stopped the server and changed the logon to "Local System account", then restarted the service. Then I went to Add/Remove Programs, opened Telerik Reporting, and selected Change. I re-enabled Examples, and it installed to completion.  Simply running SQL Server as Local System Account would have solved the problem before it happened, and I'm sure that's how many people already have it setup. For those who don't... I hope this helps.  Unfortunately people who don't want to change the login like that may need another solution.

Is there any way that we can change the configuration string for the installer for the Examples, so that it will install?  More importantly, I don't think a software installer should fail with a database connection like this. Let the product install and then let the runtime fail. We can fix that problem when it happens.

Does Telerik have any other recommendations in this area?

Thanks!
TonyG
Top achievements
Rank 1
 answered on 08 Nov 2011
1 answer
139 views
Hi,

We have lots of PDF files stored as BLOBs in our database. We need to display these PDF files in a silverlight application, but the user must not be able to print or save the PDF file. How can we implement this requirement using the Silverlight Report Viewer ?
Any help will be appreciated. 
Elian
Telerik team
 answered on 08 Nov 2011
1 answer
61 views
Hello everyone,

I am trying to pass some ReportParameters to a report class that I´ve created.

I´ve got the following set up:

Created Report Class as per Telerik best practices.
Created 2 parameters. one called CMU the other AlarmType.

On .net web app, I´ve got a set of drop down lists that should be used to filter the info required.

I´ve got a ReportViewer1 that calls the "Reporting" class.

On my code behind, I´ve got the following:

Dim Report As Telerik.Reporting.Report
Report = New RDC_Reporting.reporting
 
 Report.ReportParameters.Item("CMU").Value = cmu_instances.SelectedItem.Text
Report.ReportParameters.Item("AlarmType").Value = "YELLOW"
 
ReportViewer1.RefreshReport()

The ReportParameters in my Report class are set to not accept null, so that i know If the value is being passed or not.

In my web app, the given values ARE accepted apparently, as no error is being thrown at the moment the values are fed, however, when the Report regenerates, it says "

Invalid value of report parameter 'CMU'.


If i set the paramter to accept null values, it simply shows the report, but with no results.

Any help?
Elian
Telerik team
 answered on 08 Nov 2011
4 answers
355 views
Hello everyone

I started using telerik reporting this week and it's great. But I'm little stuck because of lack of knowledge and little time left to do my tasks.
I have a multiple select dropdown list report parameter and i want for every selected item in the list to create detailed report coresponding for that selected item, and every detailed report to be in one different page. What should i do, any hint or guide will be great. 
Thanks very much :)
Peter
Telerik team
 answered on 08 Nov 2011
5 answers
117 views
I'm using report in silverlight, when I enter the page number in the box and hit enter key, nothing happened, the page is not refreshed. but this is working in asp.net, how to make this work in silverlight too?

thanks
Steve
Telerik team
 answered on 08 Nov 2011
4 answers
182 views
hello


i am getting an error in my report-viewer page because the objects used for datasource use IList which does not implement ISerializable.

Unable to serialize the session state. In 'StateServer' and 'SQLServer' mode, ASP.NET will serialize the session state objects, and as a result non-serializable objects or MarshalByRef objects are not permitted. The same restriction applies if similar serialization is done by the custom session state store in 'Custom' mode.


i am using state server for sessionStates

how can i use state server and a hierarchy of entities as datasource?

regards
Shawn Krivjansky
Top achievements
Rank 1
 answered on 07 Nov 2011
3 answers
237 views
How can you change the language of the ReportViewer interface in Silverlight?

I am not talking about globalization of my reports, only changing the interface language of the ReportViewer with a translation for the labels such as "of x pages", "rendering report", ...

Jim
Steve
Telerik team
 answered on 07 Nov 2011
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?