Thank you for your Response. I have attached a solution file.
I have window1 from your code and window2 from your code. I have used a new thread to create window1. If i am using dispacher everything will work fine. But on my window creation is long process and i don't want to wait for that. As you see on window1 i commented createchart() function everything will work fine. I have attached the button click on the window1 to call createchart. And work fine first time. Not any other windows. I can create chart with in that window number of times.
>I have a window1.xaml and creating chart dynamically. Also i am opening multiple "window1" windows using backgroudworker. Only first window create the chart and Next window thrown an exception because checkaccess failed. I can create all other UIElement with out any problem. But cannot create chart.
Window1 tempwindow=new Window1();
tempwindow.show()
System.Windows.Threading.Dispatcher.Run();
On window1 i have backgroudworker thread and call dispacher.begininvoke to create chart.
SyncChart.zip