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

Deployment - App does not run

6 Answers 85 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Jon
Top achievements
Rank 1
Jon asked on 04 Jan 2009, 01:55 PM
What files need to be deployed for the Carousel?
I have test program that does not run on a client machine.. nothing happens.. except the eventview shows.


EventType clr20r3, P1 crm2k9.exe, P2 1.0.0.0, P3 4960255c, P4 presentationframework, P5 3.0.0.0, P6 488f142e, P7 6259, P8 e1, P9 system.windows.markup.xamlparse, P10 NIL.

thanks in advance

6 Answers, 1 is accepted

Sort by
0
Rosi
Telerik team
answered on 05 Jan 2009, 12:40 PM
Hi Jon The Nerd,

To use RadCarousel for WPF you need to refer Telerik.Windows.Data, Telerik.Windows.Controls and Telerik.Windows.Controls.Navigation dll-s.

However we are not sure what causes the issue. Could you provide us with steps to reproduce it? Could you please provide us with the following information:

- Is the XAML in your application  valid?
- Do you have installed Service Pack 1 of the Visual Studio?
- Does the problem appear on your local machine?

This information will help us better understand the problem and provide you with more specific instructions.

Regards,
Rosi
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Jon
Top achievements
Rank 1
answered on 05 Jan 2009, 01:43 PM

Hi.. My xaml is valid.    and I'm just doing a simple bindind as a test.
Everthing works fine on my dev machine. I get the error on client machines. I can't figure out what the problem is.

 

 

public partial class TEST : Page

 

 

 

 

{

 

public TEST()

 

{

InitializeComponent();

 

this.radCarousel1.ItemsSource = CRM2K9.DataAccess.Get_All();

 

 

}

}

 

 

<

 

Page x:Class="CRM2K9.TEST"

 

 

 

 

 

xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"

 

 

 

 

 

xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"

 

 

 

 

 

xmlns:carousel="clr-namespace:Telerik.Windows.Controls.Carousel;assembly=Telerik.Windows.Controls.Navigation"

 

 

 

 

 

xmlns:Telerik="http://schemas.telerik.com/2008/xaml/presentation"

 

 

 

 

 

Title="TEST" Height="552" Width="943">

 

 

 

 

 

 

<Grid>

 

 

 

 

 

 

<Telerik:RadCarousel Margin="40,35,-40,199" Name="radCarousel1" />

 

 

 

 

 

 

</Grid>

 

</

 

Page>

 

0
Rosi
Telerik team
answered on 06 Jan 2009, 08:22 AM
Hello Jon The Nerd,

Thank you for the provided code, but we were not able to reproduce the problem locally.

I suggest you try the following steps and let us known how this goes:

1.Check the security permissions of the user and check whether the connection string is correct.

2.Try to bind the carousel to a simple ArrayList.
public TEST()   
{  
 
    InitializeComponent();  
 
    this.radCarousel1.ItemsSource = GetArrayList();  
 
 }  
private static ArrayList GetArrayList()  
{  
    ArrayList list = new ArrayList();  
    list.Add("A");  
    list.Add("B");  
    list.Add("C");  
    list.Add("D");  
    list.Add("E");  
    list.Add("f");  
    return list;  

3.Also, could you please share details about the version of the visual studio that you use? Is the one on the client machine different from the VS on the your dev machine?

Also the following forum post discussing the same problem might be helpful to you
http://social.expression.microsoft.com/Forums/en-US/encoder/thread/0aa214d2-c651-4c2e-a651-f26f24904c26/

Regards,
Rosi
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Jon
Top achievements
Rank 1
answered on 06 Jan 2009, 07:31 PM

Hi..
There appears to be a limit to the number of columns - when the ItemsSource is a datatable.
If I return all my columns it throws the XAML parse error.. if I return 10 it works.
thanks again.

 

0
Rosi
Telerik team
answered on 09 Jan 2009, 08:25 AM
Hi Jon The Nerd,

We are glad to hear that you have resolved the issue.

Could you tell us how many columns the DataTable contained initially when the error first appeared?
This information will help us reproduce the issue at our side and find the problem.

Regards,
Rosi
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Jon
Top achievements
Rank 1
answered on 09 Jan 2009, 11:56 AM
Hi..
Not sure of the exact number... but originally I had over 100 fields!
Tags
General Discussions
Asked by
Jon
Top achievements
Rank 1
Answers by
Rosi
Telerik team
Jon
Top achievements
Rank 1
Share this question
or