Telerik Forums
Reporting Forum
11 answers
214 views

Hello,

We have a problem with Telerik Reporting.  We need make a report accessible trought RIA services in silverlight application from remote computer. Problem is that on local computer is all right, but on remote computer not.  We would like to configure our ISS on WindowsAutentification and set impersonate on true. But we can’t connect  to reporting service. The Error message wich we get is bellow:

IIS specified authentication schemes 'IntegratedWindowsAuthentication, Anonymous', but the binding only supports specification of exactly one authentication scheme. Valid authentication schemes are Digest, Negotiate, NTLM, Basic, or Anonymous. Change the IIS settings so that only a single authentication scheme is used.

Our web.config containts this configuration:

<?xml version="1.0"?>

<!--

  For more information on how to configure your ASP.NET application, please visit

  http://go.microsoft.com/fwlink/?LinkId=169433

  -->

<configuration>

  <system.webServer>

    <modules runAllManagedModulesForAllRequests="true">

      <add name="DomainServiceModule" preCondition="managedHandler"

           type="System.ServiceModel.DomainServices.Hosting.DomainServiceHttpModule, System.ServiceModel.DomainServices.Hosting, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />

   

      </modules>

   

    <validation validateIntegratedModeConfiguration="false" />

  </system.webServer>

 

  <system.web>

    <compilation debug="true" targetFramework="4.0" />

    <customErrors mode="Off"/>

    <authentication mode="Windows" />

    <identity impersonate="true" />

    <httpModules>

      <add name="DomainServiceModule" type="System.ServiceModel.DomainServices.Hosting.DomainServiceHttpModule, System.ServiceModel.DomainServices.Hosting, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />

    </httpModules>

     

  </system.web>

 

  <connectionStrings>

    <add name="TFSExtensionEntityDiagrams"

         connectionString="data source=(local);initial catalog=TFSExtension;user id=pokus;Password=P@s5w0rd"

         providerName="System.Data.SqlClient" />

    <!--<add name="TFSExtensionEntityDiagrams"

            connectionString="Data Source=(local);Initial Catalog=TFSExtension;Integrated Security=True"

            providerName="System.Data.SqlClient" />-->

   

    <!--<add name="ReportingLibrary.Properties.Settings.TFSExtension2"

            connectionString="Data Source=(local);Initial Catalog=TFSExtension;Integrated Security=True"

            providerName="System.Data.SqlClient" />-->

  </connectionStrings>

  <system.serviceModel>

    <serviceHostingEnvironment aspNetCompatibilityEnabled="true"

      multipleSiteBindingsEnabled="true" />

    <services>

      <service name="Telerik.Reporting.Service.ReportService" behaviorConfiguration="ReportServiceBehavior">

        <endpoint address="" binding="basicHttpBinding" contract="Telerik.Reporting.Service.IReportService">

          <identity>

            <dns value="localhost"/>

          </identity>

        </endpoint>

        <endpoint address="resources" binding="webHttpBinding" behaviorConfiguration="WebBehavior" contract="Telerik.Reporting.Service.IResourceService"/>

       

      </service>

    </services>

    <behaviors>

      <serviceBehaviors>

        <behavior name="ReportServiceBehavior">

          <serviceMetadata httpGetEnabled="true"/>

          <serviceDebug includeExceptionDetailInFaults="false"/>

        </behavior>

      </serviceBehaviors>

      <endpointBehaviors>

        <behavior name="WebBehavior">

          <webHttp/>

        </behavior>

      </endpointBehaviors>

    </behaviors>

  </system.serviceModel>

</configuration>

Nikolay Rusev
Telerik team
 answered on 11 Oct 2010
1 answer
102 views
Despite uninstalling and re-installing and uninstalling The Q2 2010 trial for Telerik reporting, winforms, web stuff etc, my registry and file system is till littered with its legacy and there is still a menu for reporting in visual studio. Huh?

Running VS 2010 Ultimate, Win7 x64

Here is the VS startup log.

157 Begin package load [Telerik.Reporting.VsPackage.VsPackage, Telerik.Reporting.VsPackage, Version=3.11.0.0, Culture=neutral, PublicKeyToken=a9d7983dfcc261be] {EF758E88-9A91-4C54-87EA-D6E1542BE262} VisualStudio 2010/10/08 23:36:14.113
158 End package load [Telerik.Reporting.VsPackage.VsPackage, Telerik.Reporting.VsPackage, Version=3.11.0.0, Culture=neutral, PublicKeyToken=a9d7983dfcc261be] {EF758E88-9A91-4C54-87EA-D6E1542BE262} VisualStudio 2010/10/08 23:36:14.131
159 Entering function CVsPackageInfo::HrInstantiatePackage {D4F5086C-54B9-4B07-BD22-AF72D5B9228F} VisualStudio 2010/10/08 23:36:14.131
160 Begin package load [Telerik.CommonPackage.Telerik_CommonPackagePackage, Telerik.CommonPackage, Version=1.0.5.0, Culture=neutral, PublicKeyToken=d63abc9583eb6f32] {D4F5086C-54B9-4B07-BD22-AF72D5B9228F} VisualStudio 2010/10/08 23:36:14.132
161 End package load [Telerik.CommonPackage.Telerik_CommonPackagePackage, Telerik.CommonPackage, Version=1.0.5.0, Culture=neutral, PublicKeyToken=d63abc9583eb6f32] {D4F5086C-54B9-4B07-BD22-AF72D5B9228F} VisualStudio 2010/10/08 23:36:14.136

I ran devenv / setup

Do you have a script that removes all of the trash from the registry? Failing that, do you have a list of where I should tediously manually delete the entries?

A search for "Telerik" on C: reveals a ton of files in
appdata / local / assembly / dl3
Visual Studio templates
the GAC

 - what kind of uninstallation is that? I wonder what the hell else is left in there?

I wish I had never touched it. Am I really going to have to reformat and reinstall everything to get rid of all this junk?
Erjan Gavalji
Telerik team
 answered on 11 Oct 2010
6 answers
144 views
i am using telerik reporting 2010 Q2 trial version .

i put a textbox and bind it to Fields.A.B.C.Name with objectdatastore
but it says :
the expression contains object 'Name' that is not defined in the current context

what is the problem and how can i solve it ?
Massimiliano Bassili
Top achievements
Rank 1
 answered on 11 Oct 2010
3 answers
152 views
I created a report with some simple grouping but when I preview it every other page is blank (it has the styles but no information). The next page after the blank will contain data, no data is missing just blanks inserted between. The HTML preview works fine.
Any tips on what I am missing?
Thanks
Ed
Top achievements
Rank 1
 answered on 08 Oct 2010
1 answer
118 views
HI,
 
Is it possible to have a chart in a report with a lot of items in a serie, but limit the number of items that are showed on legends ?

Thanks
Edson
Peter
Telerik team
 answered on 08 Oct 2010
1 answer
104 views
Dear Support,

We have a report with 3 different cultures, EN, ES, JP. It seems to be working correct, but sometimes when you try to print the generated report I got an error from the Telerik Dll that says "Unhandled exception at 0x7c911689 in iexplore.exe: 0xC000005: Access violation reading location 0x16141213". We tried in different machines and we also get these error when the Print Preview is going to appear.
After this error the Print Preview does not appear and Internet Explorer closes also.

Attached to this thread is the error message. As I said before the message is not showed always, we have to try a lot of times to get this error.
It seems to be a bug from Telerik or Adobe Plugin (Adobe Plugin is the last we can get in Adobe.com)

Thanks a lot for your help
Peter
Telerik team
 answered on 08 Oct 2010
1 answer
141 views

Dear Support,

I have a report that works with 3 different Cultures. With cultures in English and Spanish all seems to be working fine, but when we generate the report in Japan Culture, and we send it to print the print preview is not complete and if we send it to the printer it is also incomplete.
The report is also using a Japanese Font:
"MS Pゴシック"
We were trying to watch what causes these problem and we got these results.

  • If we generate the report with the Japan Culture and we choose a default font, the report is correct.
  • If we generate the report with the English Culture or Spanish Culture with the Japanese Font: "MS Pゴシック" with the default font, the report is correct.
  • If we generate the report with the Japan Culture and with de Japanese Font: "MS Pゴシック", the report is incorrect.


We cannot say that is a problem with the font because with English and Spanish Culture it generates correct.
We cannot say that is a problem with de Japan Culture because when we change the font to a default font or another Font (Tahoma, Arial) it generates correct.

It seems to be a problem when we use the Japan Culture with the Japanese Font.

Images: 1-ok.jpg, 2-ok.jpg, 3-ok.jpg Show that we generate a report with the Japanese Font but we changed by code the culture to English even we select Japan Culture to Generate.

Images: 1-wrong.jpg, 2-wrong.jpg, 3-wrong.jpg Show that we generate a report with the Japanese Font and Japan Culture and the report is not complete.

Thanks for your Help


 

Steve
Telerik team
 answered on 08 Oct 2010
0 answers
84 views
Hi,

I have a very simple report. Chart control is placed in detail section of the report. Chart is populated using generic list objects. The problem is that when the report is viewed in the browser, chart contains extra x-axis columns. It looks to me the x-axis items are repeated again and again.

Please see the attachment for detail.

Following method is called only once from the page where reportViewer is embedded.
like 

MyReport rpt = new MyReport();
rpt.PlotChart(2,null,null);
rptViewer.Report = rpt;


public void PlotChart(int processID, DateTime? fromInvoiceDate, DateTime? toInvoiceDate)
        {
            try
            {
                myChart.Series.RemoveSeries();
                myChart.ChartTitle.TextBlock.Text = "Days to Payment";
                myChart.DefaultType = ChartSeriesType.Pie;
                IDashboardRepository dashRep = new DashboardRepository();
                List<MockUpChart> chartData = dashRep.GetMockUpChartData(processID, fromInvoiceDate, toInvoiceDate);

                ChartSeries chartSeries = new ChartSeries();
                chartSeries.Name = "Days to Payment";
                chartSeries.Type = ChartSeriesType.Bar;

                foreach (MockUpChart cDatum in chartData)
                {
                    chartSeries.AddItem(cDatum.TotalNoInvoices, cDatum.DaysToPayment.ToString());
                }

                myChart.PlotArea.XAxis.AxisLabel.Visible = false;
                myChart.PlotArea.XAxis.AxisLabel.TextBlock.Text = "Days to Payment";
                //myChart.PlotArea.XAxis.AxisLabel.TextBlock.Appearance.TextProperties.Color = System.Drawing.Color.Red;

                myChart.PlotArea.YAxis.AxisLabel.Visible = false;
                myChart.PlotArea.YAxis.AxisLabel.TextBlock.Text = "Number of Invoices";
                //myChart.PlotArea.YAxis.AxisLabel.TextBlock.Appearance.TextProperties.Color = System.Drawing.Color.Red;
                
                myChart.Series.Add(chartSeries);
                for (int i = 0; i < myChart.Series.Count; i++)
                {
                    myChart.Series[i].Appearance.LabelAppearance.Visible = false;
                }
            }
            catch (Exception ex)
            {
            }
        }
FISCAL
Top achievements
Rank 1
 asked on 08 Oct 2010
0 answers
87 views
Dear all,

I need to programmatically access the excel file, which was created by exporting a report, from my WPF application. Ideally I would like to catch/overload the export event. I cannot figure out how to do this. Can you help me please?

Thank you

Dominik
Dominik
Top achievements
Rank 1
 asked on 08 Oct 2010
2 answers
231 views
Is there a minimum cell size on the telerik reporting table? 

When creating a report I want to try to fit the entire table on one 8 1/2 x 11 sheet of paper within the report.  There can be up to a max of 24 columns.  I'm trying to adjust the font size and cell size to make it all fit even if its microscopic.  We will force the user to use the Zoom in feature.  After reducing font size and setting the textbox size to a certain size the text box and table cell doesn't seem to go any smaller. 

So I was wondering if by default there was a minimum size a cell could be?

Thanks,
-Scott
Scott
Top achievements
Rank 2
 answered on 08 Oct 2010
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?