iSeller Commerce
iSeller POS Retail
iSeller POS F&B
iSeller POS Express
Crosslight
WebUI
ClientUI
What's New
Download Trial
Web Solution
Mobile Solution
Enterprise Solution
Custom Development
Blog
Community
Latest Development Blogs
ForumPostTopic
Browse By Tag
Hi
I'm having some trouble viewing live.clientui.com. I often get exception messages. I use IE8, IE9 and FF3.6, and it happens in all of those. My system is Win7 64 bit.
The error i typically get is this: Unable to navigate to '/NavigationControls/UXTreeView', Exception has been thrown by the target of an invocation
It's not possible to copy text off the error message or possible to attach images or files to this message, so I'll provide the rest of the message as it's interpreted by my OCR software at the bottom of this message.
Am I doing anything wrong? I'm evaluating your components, but I wouldn't like this behavior in my apps.
Thx
Tor
----
OCR-version of the complete error msg:
Unable to navigate to '/ NavigationControls/ UXTreeView'
More Information
The paoe ' / NaviOalionComrols/UXTreeView' cannol be displa~d due 10 Ihe followino errOr·
Excep1ion has been th.own by the taroet of an invocation.
Erro. Slack Trace
II Syslem.RuntimeTypeHandle.C'ealelnSlance(RuntimeType tYpe, Boolean publicOnly, Boolean noChe<:k, Boolean& ClnBeCached, RuntimeMethodHandlelnle.nal& ctor, Boolean&
bNeeds"curityChe<:k)
al Syn"m.Runllm"Type.Creal"lnslanc"Slow(Boolean publKOnly, BooI.,.n SklpCh"ckThIS, Boolean fiIlCach,,)
II Syslem.RunlimeType .Cr"'le lnSlance~fauhCtor(Boolean publicOnty, Boolean skipCheckThis, Boolean fillCache)
at SystemActivato •. C • .,.telnstance(Type tYpe, BooI.,.n nonPublic)
al Syn"m.Runllm" Type .Cr"al"lnslanc"lmpI(B,ndlnoFlIO' bindlnoAn., B,nd". b;nd"., ObJe<:t[J "OS, Cullu.elnfo CUIIU.", ObjeaO aclivlI;onAnribulul
II SynemActwato •. C.ealeln"lnce(Type tYI>", BlndlnllFlalls blndlnoAnr, Binder bind"., ObJ"clll a'IIS, Culturelnfo culture, ObJ"CI[] IClrvallonAm,bulu) It System.Renection.Assembty.C.eatelnstlnce(Strinll typeNlme, Boolun illno'eCase, B,ndinllFlalls b,ndinIlAttr, Binde. b,nde., ObjectO "liS, Cultu relnfo cultu re, Object[]
It System.Renection.Assembty.C.eatelnstlnce(Strinll typeNlme, Boolun illno'eCase, B,ndinllFlalls b,ndinIlAttr, Binde. b,nde., ObjectO "liS, Cultu relnfo cultu re, Object[]
aCI;vat;onAnri bu Ie. I
II I "'''noft. Cit" nl. F .. m"wo .kApphCl!lo n Pac kall" .:::I::J :::I(S IrInll IVpe) It
I had the same problem too with the Demos and I am based in the UK. Unfortunately, I cannot change the regional settings of my machine so other things dont get screwed up.
I am still evaluating for my colleagues and I really like the controls. I didnt want to abandon the controls so I decided to investigate the cause of the error myself. The treeview samples errored because of the american dates in the xml files, so I changed
this._eventDateTime = x.Attribute("DateTime").Value != null ? DateTime.Parse(x.Attribute("DateTime").Value.Trim()) : DateTime.MaxValue;
to
this._eventDateTime = x.Attribute("DateTime").Value != null ? DateTime.Parse(x.Attribute("DateTime").Value.Trim(), CultureInfo.InvariantCulture) : DateTime.MaxValue;
in Event.cs and a few other places like FileItem.cs, Email.cs & Task.cs and the treeview samples all worked for me.
Hope this helps.
We’re sorry for any inconvenience this problem may have caused you.
I tried to reproduce the problem in my local test by open the live version of ClientUI sample and navigate to ‘/NavigationControls/UXTreeView’ using following browser version: IE 8 (version: 8.0.6001.19048); IE 9 (version: 9.0.8112.16421); Firefox 3.6 (version: 3.6.17); Firefox 4 ( version: 4.0.1); and Google Chrome 11 (version: 11.0.696.77), but my efforts were not successful – everything worked smoothly and the page was accessed without any issues.
The test was taken on a pc that has Windows 7 64-bit operating system. The Silverlight version on the test PC is Microsoft Silverlight Version: 4.0.60310.0.
Could you please let us know the Silverlight version that is installed on your PC?
Hi. Thanks for your reply.
Strange, I'm also using Silverlight 4.0.60310.0.
The errors have been there since I started looking at ClientUI several months ago, before the current version you have out.
Some of the errors aren't always there. E.g. right now, I opened live.clientui.com and selected the "launch sample" from the cover flow control. The new grid view samples opened without problems. From there, if I press the "Browse all" and then Grid View, I get the same "Exception has been thrown by the target of an invocation". The treeview, on the other hand, always crashes.
I've tried to empty IE cache and the Silverlight app storage, but it doesn't help.
You can call me (+47 / 97794414 between 9 and 19 CET) if you're interested in looking at the error through a web collaboration tool.
ThxTor
Does the “Regional Settings” of your PC is set to non “en-US”?
If it does, please try to set the Regional Settings to English (US); re-test the issue; and let us know whether this helps or not.
I have forwarded this to the ClientUI development team to be investigated further.
Thank you very much for your sharp observations and analysis.
Yes, you are correct. The error happen when try to parse the DateTime field that has US DateTime format, meanwhile the client PC might not use the Regional Settings that is not compliant to US DateTime format.
I’ll keep you updated with any news I heard from the team regarding this issue.
Hi guys
Yes, as for Olusola, changing my region and language settings to English US solves the problem.
We're also still evaluating the components. Looks good.
I apologize for any inconvenience this problem may have caused you. The team will fix the live sample so that you no longer necessary to switch the Regional Settings to English (US).
I’m also would like to express my appreciation for your interest evaluating ClientUI controls. Should you need further assistance or run into any technical problems regarding our controls, feel free to post it into our community site. We would be happy to assist you again.
Well Client UI 6 has just come out and although a lot of the calls to DateTime.Parse have the extra CultureInfo.InvariantCulture parameter, not all do.
So for those of us who don't like our dates MM/dd/yyyy, we get exceptions at various points in your samples.
or
Choose this if you're already a member of Intersoft Community Forum. You can link your OpenID account to your existing Intersoft Social ID.
Choose this if you don't have an Intersoft account yet. Your authenticated OpenID will be automatically linked to your new Intersoft account.
Enter your Wordpress Blogname