Skip to Content
author's profile photo
Former Member

Silverlight error with CrystalReport

I know CRVS2010 is not tested on Silverlight but i'm trying somehow to get CR working with SL. I followed this example : [Silverlight and Crystalreport|http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/20795] [original link is broken] [original link is broken] [original link is broken];

My web server is a Window Server 2008 R2 x64bit.

When i compile at 32bit and deploy the application i get this error when try to access the app : [Error on serve|http://www.mediafire.com/?bjxy0e2tdhxuc70]r

if i try to compile at 64bit(or Any CPU) i get the following error at compile time :

Error	11	The "CreateRiaClientFilesTask" task failed unexpectedly.
System.Web.HttpException (0x80004005): Could not load file or assembly 'InfoCopy.GesPro.Web' or one of its dependencies. Tentativo di caricare un programma con un formato non corretto. ---> System.Configuration.ConfigurationErrorsException: Could not load file or assembly 'InfoCopy.GesPro.Web' or one of its dependencies. Tentativo di caricare un programma con un formato non corretto. ---> System.BadImageFormatException: Could not load file or assembly 'InfoCopy.GesPro.Web' or one of its dependencies. Tentativo di caricare un programma con un formato non corretto.
   at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
   at System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
   at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection, Boolean suppressSecurityChecks)
   at System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
   at System.Reflection.Assembly.Load(String assemblyString)
   at System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective)
   --- End of inner exception stack trace ---
   at System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective)
   at System.Web.Configuration.CompilationSection.LoadAllAssembliesFromAppDomainBinDirectory()
   at System.Web.Configuration.CompilationSection.LoadAssembly(AssemblyInfo ai)
   at System.Web.Compilation.BuildManager.GetReferencedAssemblies(CompilationSection compConfig)
   at System.Web.Compilation.BuildManager.GetPreStartInitMethodsFromReferencedAssemblies()
   at System.Web.Compilation.BuildManager.CallPreStartInitMethods()
   at System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters, PolicyLevel policyLevel, Exception appDomainCreationException)
   at System.Web.Compilation.ClientBuildManager.EnsureHostCreated()
   at System.Web.Compilation.ClientBuildManager.CreateObject(Type type, Boolean failIfExists)
   at Microsoft.ServiceModel.DomainServices.Tools.CreateRiaClientFilesTask.GenerateClientProxies()
   at Microsoft.ServiceModel.DomainServices.Tools.CreateRiaClientFilesTask.ExecuteInternal()
   at Microsoft.ServiceModel.DomainServices.Tools.RiaClientFilesTask.Execute()
   at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
   at Microsoft.Build.BackEnd.TaskBuilder.ExecuteInstantiatedTask(ITaskExecutionHost taskExecutionHost, TaskLoggingContext taskLoggingContext, TaskHost taskHost, ItemBucket bucket, TaskExecutionMode howToExecuteTask, Boolean& taskResult)	InfoCopy.GesPro

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Best Answer
    Posted on May 05, 2011 at 02:41 PM

    The 64 bit app is complaining about 'InfoCopy.GesPro.Web' and the 32 bit app is complaining about 'InfoCopy.SuiteSolutions.Web'.

    Neither is a Crystal Reports file. But it looks to me like your app is either referencing those files or has a dependency on those files. You'll have to figure out where they come from and how to deploy them. But at this time, my take is that this is not a CR problem...

    Ludek

    Follow us on Twitter http://twitter.com/SAPCRNetSup

    Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports]

    Add comment
    10|10000 characters needed characters exceeded