unable to launch samples

rated by 0 users
This post has 7 Replies | 5 Followers

Not Ranked
Points 55
elisedupont Posted: 01-02-2008 5:46 AM

hi

i downloaded today NetAdvantage_WPF_20072_Beta.zip and tryed to run samples to evaluate the product for my customer.

I tryed 2 ways :

- using the shortcut  to the program "xamFeatureBrowser.exe" in the start menu

- opening the .sln file "xamFeatureBrowser.sln" and trying to complile it.

 none of them work. On the first way (open the exe file directly) i get an error just after i launch it (the error is : could not find app.xaml ressource)

On the second way, the solution does not build. I get many different build errors :

 

Error 21 The type reference cannot find a public type named 'Reflector'. Line 1132 Position 62. C:\Documents and Settings\All Users\Documents\Infragistics\NetAdvantage for WPF 2007 Vol. 2\Samples\xamFeatureBrowser\xamFeatureBrowser\FeatureBrowser.xaml 1132 62 xamFeatureBrowser
Error 22 The tag 'Reflector' does not exist in XML namespace 'clr-namespace:Infragistics.ToyBox;assembly=Infragistics.ToyBox'. Line 55 Position 5. C:\Documents and Settings\All Users\Documents\Infragistics\NetAdvantage for WPF 2007 Vol. 2\Samples\xamFeatureBrowser\xamFeatureBrowser\Samples\XamCarouselListBox\XamCarouselListBoxWelcome.xaml 55 5 xamFeatureBrowser
Error 23 The tag 'Reflector' does not exist in XML namespace 'clr-namespace:Infragistics.ToyBox;assembly=Infragistics.ToyBox'. Line 58 Position 5. C:\Documents and Settings\All Users\Documents\Infragistics\NetAdvantage for WPF 2007 Vol. 2\Samples\xamFeatureBrowser\xamFeatureBrowser\Samples\XamCarouselPanel\XamCarouselPanelWelcome.xaml 58 5 xamFeatureBrowser
Error 24 The tag 'Reflector' does not exist in XML namespace 'clr-namespace:Infragistics.ToyBox;assembly=Infragistics.ToyBox'. Line 58 Position 5. C:\Documents and Settings\All Users\Documents\Infragistics\NetAdvantage for WPF 2007 Vol. 2\Samples\xamFeatureBrowser\xamFeatureBrowser\Samples\XamChart\XamChartWelcome.xaml 58 5 xamFeatureBrowser
Error 25 The tag 'Reflector' does not exist in XML namespace 'clr-namespace:Infragistics.ToyBox;assembly=Infragistics.ToyBox'. Line 61 Position 4. C:\Documents and Settings\All Users\Documents\Infragistics\NetAdvantage for WPF 2007 Vol. 2\Samples\xamFeatureBrowser\xamFeatureBrowser\Samples\XamDataCarousel\XamDataCarouselWelcome.xaml 61 4 xamFeatureBrowser
Error 26 The tag 'Reflector' does not exist in XML namespace 'clr-namespace:Infragistics.ToyBox;assembly=Infragistics.ToyBox'. Line 55 Position 5. C:\Documents and Settings\All Users\Documents\Infragistics\NetAdvantage for WPF 2007 Vol. 2\Samples\xamFeatureBrowser\xamFeatureBrowser\Samples\XamDataGrid\XamDataGridWelcome.xaml 55 5 xamFeatureBrowser
Error 27 The tag 'Reflector' does not exist in XML namespace 'clr-namespace:Infragistics.ToyBox;assembly=Infragistics.ToyBox'. Line 56 Position 5. C:\Documents and Settings\All Users\Documents\Infragistics\NetAdvantage for WPF 2007 Vol. 2\Samples\xamFeatureBrowser\xamFeatureBrowser\Samples\XamEditors\XamEditorsWelcome.xaml 56 5 xamFeatureBrowser

any help so that i can run the sample, would be appreciated, thank you 

 

 

  • | Post Points: 35
Not Ranked
Points 199

 Hello !

Have you found a solution ? I have the same problem !!

 Thank you to reply me !

stéphanie 

Stéphanie Gaillard
  • | Post Points: 20
Not Ranked
Points 55

hi

no i did not find a solution...

  • | Post Points: 20
Not Ranked
Points 65

I have the same problem. The sample solution doesnt seem to resolve Infragistics.ToyBox.dll assembly. I wonder if there is a seperate download for that assembly.

  • | Post Points: 5
Not Ranked
Points 65

has anybody found a solution??

  • | Post Points: 20
Top 100 Contributor
Points 1,862
Infragistics MVP

The problem seems to occur on "non english" operating systems only. I've documented the bug and sent it to my infragistics sales manager who is going to send it to the support team.

Andre

http://www.codemurai.de

http://blog.codemurai.de

If my reply helped you, feel free to rate it :-)

  • | Post Points: 5
Not Ranked
Points 50
heroic replied on 03-17-2008 4:20 AM

 Hi,

I have the solution!

There is a problem with culture info. Add the constructor into the application (App.xaml) and it will work:

       public App()
       {
           CultureInfo objCI = new CultureInfo("en-US");
           Thread.CurrentThread.CurrentCulture = objCI;
           Thread.CurrentThread.CurrentUICulture = objCI;
       }

And the next problem: 'TableOfContents.xml' can not be found.

Copy 'TableOfContents.xml' file into 'Debug Full Trust' directory

and edit FeatureBrowser.xaml.cs  (line 441):

xdpTableOfContents.Source = new Uri("pack://application:,,,/" + tocName);

to 

xdpTableOfContents.Source = new Uri(_apppath +"\\"+ tocName);

 And it works fine!!! ;-)

  • | Post Points: 50
Top 100 Contributor
Points 1,862
Infragistics MVP

Great work!

I've added the constructor to app.xaml.cs. In addition I had to change my project configuration from "debug full trust" to "release". I did'nt need to copy 'TableOfContents.xml" or change FeatureBrowser.xaml.cs. Instead I changed TableOfContents.XML properties in the IDE:

I set the "Build Action" to "Content" and "Copy Local" to "Always".

I've documented those steps in my blog (German only):

http://blog.codemurai.de/2008/04/02/DieGeschichteVomInfragisticsXamFeatureBrowserUndNichtEnglischenBetriebssystemen.aspx

Andre

http://www.codemurai.de

http://blog.codemurai.de

If my reply helped you, feel free to rate it :-)

Page 1 of 1 (8 items) | RSS

Forum Statistics

41,686 users have contributed to 130,704 threads and 145,130 posts.

In the past week, we've had 2,546 new users, adding to our total of 468,946 registered users!

In the past 24 hours, we have 66 new thread(s), 217 new post(s), and

In the past 3 days, the most popular thread for everyone has been "WebSchedule and Master Pages ". The post with the most views is "How to make line chart? ". The most replies were made to "Code generation for property 'Image' failed ".

Please welcome our newest member John_Eliasson .