Telerik Forums
Reporting Forum
1 answer
141 views
Dear Telerik,

Please help me. I am stuck for two weeks trying to solve what is really my problem. I have posted my problem before but nobody posted their suggestions or solutions.
I have a local web server https://unowos/wos
local folder in web server is c:\wosdata\wosweb. ( publishing is pointed to this folder)

According to some blogs , i try to access the reportsevice.svc directly and it will give me a specific error.
here is the error message.
Could not load file or assembly 'Telerik.Reporting, Version=6.2.12.1017, Culture=neutral, PublicKeyToken=a9d7983dfcc261be' or one of its dependencies. The system cannot find the file specified.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
 
Exception Details: System.IO.FileNotFoundException: Could not load file or assembly 'Telerik.Reporting, Version=6.2.12.1017, Culture=neutral, PublicKeyToken=a9d7983dfcc261be' or one of its dependencies. The system cannot find the file specified.
 
Source Error:
 
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. 
 
Assembly Load Trace: The following information can be helpful to determine why the assembly 'Telerik.Reporting, Version=6.2.12.1017, Culture=neutral, PublicKeyToken=a9d7983dfcc261be' could not be loaded.
 
 
WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
 
  
 
Stack Trace:
 
 
[FileNotFoundException: Could not load file or assembly 'Telerik.Reporting, Version=6.2.12.1017, Culture=neutral, PublicKeyToken=a9d7983dfcc261be' or one of its dependencies. The system cannot find the file specified.]
   System.Signature.GetSignature(SignatureStruct& signature, Void* pCorSig, Int32 cCorSig, RuntimeFieldHandleInternal fieldHandle, IRuntimeMethodInfo methodHandle, RuntimeType declaringType) +0
   System.Reflection.RuntimeMethodInfo.get_Signature() +166
   System.Reflection.RuntimeMethodInfo.GetParameters() +38
   System.ServiceModel.Description.ServiceReflector.ValidateParameterMetadata(MethodInfo methodInfo) +27
   System.ServiceModel.Description.TypeLoader.CreateOperationDescriptions(ContractDescription contractDescription, ContractReflectionInfo reflectionInfo, Type contractToGetMethodsFrom, ContractDescription declaringContract, MessageDirection direction) +242
   System.ServiceModel.Description.TypeLoader.CreateContractDescription(ServiceContractAttribute contractAttr, Type contractType, Type serviceType, ContractReflectionInfo& reflectionInfo, Object serviceImplementation) +1179
   System.ServiceModel.Description.TypeLoader.LoadContractDescriptionHelper(Type contractType, Type serviceType, Object serviceImplementation) +318
   System.ServiceModel.Description.ContractDescription.GetContract(Type contractType, Type serviceType) +192
   System.ServiceModel.ServiceHost.CreateDescription(IDictionary`2& implementedContracts) +477
   System.ServiceModel.ServiceHostBase.InitializeDescription(UriSchemeKeyedCollection baseAddresses) +174
   System.ServiceModel.ServiceHost..ctor(Type serviceType, Uri[] baseAddresses) +475
   System.ServiceModel.Activation.ServiceHostFactory.CreateServiceHost(Type serviceType, Uri[] baseAddresses) +43
   System.ServiceModel.Activation.ServiceHostFactory.CreateServiceHost(String constructorString, Uri[] baseAddresses) +530
   System.ServiceModel.HostingManager.CreateService(String normalizedVirtualPath) +1413
   System.ServiceModel.HostingManager.ActivateService(String normalizedVirtualPath) +50
   System.ServiceModel.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath) +1172
 
[ServiceActivationException: The service '/wos/reportservice.svc' cannot be activated due to an exception during compilation.  The exception message is: Could not load file or assembly 'Telerik.Reporting, Version=6.2.12.1017, Culture=neutral, PublicKeyToken=a9d7983dfcc261be' or one of its dependencies. The system cannot find the file specified..]
   System.Runtime.AsyncResult.End(IAsyncResult result) +901424
   System.ServiceModel.Activation.HostedHttpRequestAsyncResult.End(IAsyncResult result) +178702
   System.ServiceModel.Activation.HttpHandler.ProcessRequest(HttpContext context) +101
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +625
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +270

Until now, i don't have any clue on what to do......
This is the last piece of my project. The reports.
Thanks in advance.

Robert
Steve
Telerik team
 answered on 26 Nov 2012
1 answer
109 views
Hi Telerik Team

How to Add Report Binding PageSetings to ReportParameter

or PageSettings.PaperKind to PaperKind Report Papameter...
Peter
Telerik team
 answered on 26 Nov 2012
9 answers
231 views
Hello,
I am using the RadRibbonButton in RibbonGroup control and i want to change the Image on clicking on the Button 
How to achieve that in this control cause it is just allowing to change the background of the border of the press state 

Thanks,
Vishal.
Vishal
Top achievements
Rank 1
 answered on 23 Nov 2012
1 answer
74 views

Hi Telerik

Is this Marked Zones Chart available in  “5.1.11. 928 (Sep 28, 2011)” Version in Telerik Reporting?

Steve
Telerik team
 answered on 23 Nov 2012
1 answer
113 views
Hi,

I have a requirement where i need to create the cloumns and the data in the columns dynamically, right now i am able to generate the columns, data on the report successfully, data is showing up in web browser.

But when i tried to export the report to either PDF or RTF files the dynamically binded data is not showing up in the exported files.

Need help on this

Thanks in advance.
Steve
Telerik team
 answered on 22 Nov 2012
3 answers
404 views
Hi all

I use two versions of the report

1. I use the fixed report, which I created through wizard NewItem -> Reporting -> TelerikReport Q3 2012. Was created a new class (FixedReport) and it was automatically inherited from: Telerik.Reporting.Report - he work perfectly.
In the class FixedReport I create my user function which also work well

2. Customer with Telerik Report Designer create a report-file with extension trdx. I load it into a byte array and work with it:

// ...
 
using (var reader = XmlReader.Create(stream, settings))
{
    var xmlSerializer = new ReportXmlSerializer();
 
    var reportDocument = (Telerik.Reporting.Report)xmlSerializer.Deserialize(reader);
     
    // ....
     
    return new InstanceReportSource { ReportDocument = reportDocument };
}

How do I make my object "reportDocument" was not an object of type Report, but was the object of my type, inherited from the Report (like my first version).

Please help

Steve
Telerik team
 answered on 22 Nov 2012
1 answer
101 views
I want to navigate from column of the report to other page with a parameter with field value (eg. =Fields.ProjAdvName) and also want a popup window rather than tab on next page as I redirect to other page with the column click. I searched it and tried it but didn't work sorry if my search is inadequate

Please help: While opening other aspx page, i need to pass parameter in url. This parameter name = value should come from column of telerik report.
Steve
Telerik team
 answered on 21 Nov 2012
2 answers
151 views
Hi steve,

I can't handle location X of report item.My report width is 800px. First, I set the one of report items location x=399px is not fit with my requirement.so I need to change the location x=400px and more(405px,410px,etc).But If I set X=400px and over,I got the report width(800px) is increased.I don't know why.so let me know how to do.

Thanks in advance..
Msyma
Steve
Telerik team
 answered on 21 Nov 2012
2 answers
91 views
When I try to add a Telerik Report to my VS2010 solution I am getting an error when gets to the step in the wizard where it asks to save the connection string.  After I build the connection string and test the connection I get the following error message as soon as I click next:

Exception of type 'Microsoft.VisualStudio.Web.Data.InternalException' was thrown.

If I uncheck "Yes, save this connections string with the following name:" it will continue and ask for the MDX select statement.
Mike
Top achievements
Rank 1
 answered on 21 Nov 2012
2 answers
129 views
I am using the code-behind for the report designer tool

Here is my output with only one x-axis label displaying, but I ultimately need all the labels to display and eventually get the series stacked. I've been busting my head against this.

Report Image

Here is my sample code to show my issue:

void chart1_NeedDataSource(object sender, EventArgs e)
        {
            chart1.PlotArea.Appearance.Dimensions.Margins = "5%";
            chart1.PlotArea.Appearance.Dimensions.Margins.Bottom.Type = Telerik.Reporting.Charting.Styles.UnitType.Percentage;
            chart1.PlotArea.Appearance.Dimensions.Margins.Bottom.Value = 15f;
            chart1.PlotArea.Appearance.Dimensions.Margins.Left.Type = Telerik.Reporting.Charting.Styles.UnitType.Percentage;
            chart1.PlotArea.Appearance.Dimensions.Margins.Left.Value = 15f;
            chart1.Legend.Visible = false;
            chart1.ChartTitle.Visible = false;
 
            chart1.PlotArea.XAxis.Appearance.LabelAppearance.RotationAngle = 45;
                                     
            chart1.PlotArea.XAxis.Clear();
            chart1.PlotArea.XAxis.AutoScale = false;
            chart1.PlotArea.XAxis.AddRange(1, 5, 1);
            chart1.PlotArea.XAxis[0].TextBlock.Text = "Test";
            chart1.PlotArea.XAxis[1].TextBlock.Text = "Test2";
            chart1.PlotArea.XAxis[2].TextBlock.Text = "Test3";
            chart1.PlotArea.XAxis[3].TextBlock.Text = "Test4";
            chart1.PlotArea.XAxis[4].TextBlock.Text = "Test5";
 
            chart1.Series.Add(new Telerik.Reporting.Charting.ChartSeries() { Name = "Test" });
 
            double[] testData = { 5, 6, 7, 8, 9 };
            foreach (double item in testData)
            {
                chart1.Series[0].AddItem(item);
            }
        }
Wayne
Top achievements
Rank 1
 answered on 21 Nov 2012
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?