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

Culture issue with Trial versioin

1 Answer 95 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Developers At Imaginet
Top achievements
Rank 1
Developers At Imaginet asked on 02 Mar 2009, 08:01 PM
Hi all,

We're currently building a Silverlight application using the Telerik controls and we just recently deployed an ASPX page using the trial version of the Telerik webform reporting tool and our application started failing with the following error...

WebHost failed to process a request.
 Sender Information: System.ServiceModel.ServiceHostingEnvironment+HostingManager/33711845
 Exception: System.ServiceModel.ServiceActivationException: The service '/XXXX-ISS/Services/Application Services/AuthenticationService.svc' cannot be activated due to an exception during compilation.  The exception message is: Could not load file or assembly 'System.Windows.Controls.resources, Version=2.0.5.0, Culture=de, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.. ---> System.IO.FileNotFoundException: Could not load file or assembly 'System.Windows.Controls.resources, Version=2.0.5.0, Culture=de, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
File name: 'System.Windows.Controls.resources, Version=2.0.5.0, Culture=de, PublicKeyToken=31bf3856ad364e35'
   at System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection)
   at System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection)
   at System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
   at System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
   at System.Reflection.Assembly.Load(String assemblyString)
   at System.ServiceModel.Activation.ServiceHostFactory.CreateServiceHost(String constructorString, Uri[] baseAddresses)
   at System.ServiceModel.ServiceHostingEnvironment.HostingManager.CreateService(String normalizedVirtualPath)
   at System.ServiceModel.ServiceHostingEnvironment.HostingManager.ActivateService(String normalizedVirtualPath)
   at System.ServiceModel.ServiceHostingEnvironment.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath)

We were able to get the application working again but deploying the de folder of the Silverlight controls to our bin directory. We have nothing in the application that references Culture=de, everything is set to Culture=neutral.

I'm suspecting the reporting tool since the silverlight app was functioning fine for weeks before we deployed the report component.

Any thoughts or suggestions?

Ta.
Steve Porter


1 Answer, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 03 Mar 2009, 03:00 PM
Hi Steve,

As can be seen from the stack trace you've pasted here, the exception is not thrown from our assembly and is not invoked by our assembly. The web ReportViewer control uses the UI culture of the machine/project by default. You can learn more about its localization in this help article.

Sincerely yours,
Steve
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
General Discussions
Asked by
Developers At Imaginet
Top achievements
Rank 1
Answers by
Steve
Telerik team
Share this question
or