Error :Could not complete the operation due to error c00cee2b

Hi Friends ,

I am Dinesh Chaudhari ,i have got error when i write following line in my wpfe applicatiion by using JavaScript :

var Newcanvas=wpfeControl.createFromXaml(xamlstring);

Error is like Could not complete the operation due toerror c00cee2b

So any one know how to remove this error .plz send me the solution.

For Referance My Code is as follow :

xamlstring="xmlns='http://schemas.microsoft.com/client/2007' xmlns:x='http://schemas.microsoft.com/winfx/2006/xaml' x:Name='jcan' >";

xamlstring=xamlstring+"<Canvas Width='300' Height='300' Background='Red'>";

xamlstring=xamlstring+"<TextBlock Canvas.Left='30' Canvas.Top='120' Foreground='Blue' FontSize='48 FontStyle=Italic' Text='Dinesh'>";

xamlstring=xamlstring+"</TextBlock>";

xamlstring=xamlstring+"</canvas>";

var wpfeControl=document.getElementById("wpfeControl1");

varNewcanvas=wpfeControl.createFromXaml(xamlstring);

[1695 byte] By [DINESHCHAUDHARI] at [2008-2-15]
# 1

Hi Dinesh,

I was able to repro your error. The error is unfortunately not particularly helpful, but I was able to fix the problem by changing your last call to append xamlstring to "Canvas" instead of "canvas". Does that fix your issue?

--Martha

Test Lead, WPF/E

MarthaRotter-MSFT at 2007-9-5 > top of Msdn Tech,Silverlight (formerly WPF/E),Silverlight (formerly WPF/E) Designer Issues...
# 2
I am trying to run the Channel 9 Video Library Sample from my web server.

http://channel9.msdn.com/playground/wpfe/videolibrary/default.html

Before any video getting played this pop-up error appears.

"Error :Could not complete the operation due to error c00cee2b"

I am not able to figure out why I am getting this error. Any suggestions on the workarounds/solutions.

Thanks,

Amar

aashah40 at 2007-9-5 > top of Msdn Tech,Silverlight (formerly WPF/E),Silverlight (formerly WPF/E) Designer Issues...