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

Telerik Report in HTTPS

1 Answer 83 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Robert
Top achievements
Rank 1
Robert asked on 24 Nov 2012, 02:28 PM
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

1 Answer, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 26 Nov 2012, 12:32 PM
Hi Robert,

The error you get is pretty straight-forward, the Telerik.Reporting.dll contains the reporting engine and is required when you deploy your project. For more info on deploying a Silverlight project utilizing Telerik Reporting, please refer to Deploying Silverlight Application help article.

All the best,
Steve
the Telerik team

HAPPY WITH TELERIK REPORTING? Do you feel that it is fantastic? Or easy to use? Or better than Crystal Reports? Tell the world, and help fellow developers! Write a short review about Telerik Reporting and Telerik Report Designer in Visual Studio Gallery today!

Tags
General Discussions
Asked by
Robert
Top achievements
Rank 1
Answers by
Steve
Telerik team
Share this question
or