Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > Avalon

Vista - XamlPad doesn't work with November CTP

 
 
Old 01-10-2006   #1 (permalink)
Philippe Lavoie


 
 

XamlPad doesn't work with November CTP

I was able to succesfully install the WinFX November CTP on one machine.
However, on a VPC and on another machine it doesn't work. The XamlPad
won't even come up. This is the stack trace.

System.Windows.Serialization.BamlParseException was unhandled
Message="Error at element 'StaticExtension' in markup file '' :
Binary format of the specified custom attribute was invalid.."
Source="PresentationFramework"
LineNumber=0
LinePosition=0
StackTrace:
at
System.Windows.Serialization.BamlRecordReader.ReadRecord(BamlRecord
bamlRecord)
at System.Windows.Serialization.BamlRecordReader.Read(Boolean
singleRecord)
at
System.Windows.Serialization.TreeBuilderBamlTranslator.ParseFragment()
at System.Windows.Serialization.TreeBuilder.Parse()
at System.Windows.Serialization.XamlReader.LoadBaml(Stream
stream, ParserContext parserContext, Object parent, Boolean closeStream)
at
System.Windows.SystemResources.ResourceDictionaries.LoadDictionary(Assembly
assembly, String assemblyName, String resourceName, Boolean isTraceEnabled)
at
System.Windows.SystemResources.ResourceDictionaries.LoadThemedDictionary(Boolean
isTraceEnabled)
at System.Windows.SystemResources.FindDictionaryResource(Object
key, Type typeKey, ResourceKey resourceKey, Boolean isTraceEnabled,
Boolean deferReference, Boolean& canCache)
at System.Windows.SystemResources.FindResourceInternal(Object
key, Boolean deferReference)
at
System.Windows.SystemResources.FindThemeStyle(DependencyObjectType key)
at System.Windows.StyleHelper.GetThemeStyle(FrameworkElement fe,
FrameworkContentElement fce)
at System.Windows.FrameworkElement.UpdateThemeStyleProperty()
at System.Windows.FrameworkElement.OnInitialized(EventArgs e)
at System.Windows.FrameworkElement.TryFireInitialized()
at System.Windows.FrameworkElement.EndInit()
at
System.Windows.Serialization.BamlRecordReader.ReadElementEndRecord(Boolean
fromNestedBamlRecordReader)
at
System.Windows.Serialization.BamlRecordReader.ReadRecord(BamlRecord
bamlRecord)
at System.Windows.Serialization.BamlRecordReader.Read(Boolean
singleRecord)
at
System.Windows.Serialization.TreeBuilderBamlTranslator.ParseFragment()
at System.Windows.Serialization.TreeBuilder.Parse()
at System.Windows.Serialization.XamlReader.LoadBaml(Stream
stream, ParserContext parserContext, Object parent, Boolean closeStream)
at
MS.Internal.AppModel.AppModelKnownContentFactory.BamlConverter(Stream
stream, Uri baseUri, Boolean canUseTopLevelBrowser, Boolean
sandboxExternalContent)
at
MS.Internal.AppModel.MimeObjectFactory.GetObjectAndCloseStream(Stream s,
String contentType, Uri baseUri, Boolean canUseTopLevelBrowser, Boolean
sandboxExternalContent)
at
System.Windows.Navigation.NavigationService.GetObjectFromResponse(WebRequest
request, WebResponse response, Uri destinationUri, Object navState)
at System.Windows.Navigation.NavigationService.DoNavigate(Uri
source, NavigationMode f, Object navState)
at System.Windows.Navigation.NavigateQueueItem.Dispatch(Object obj)
at
System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate
callback, Object args, Boolean isSingleParameter)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object
source, Delegate callback, Object args, Boolean isSingleParameter,
Delegate catchHandler)
at System.Windows.Threading.DispatcherOperation.InvokeImpl()
at
System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object
state)
at System.Threading.ExecutionContext.runTryCode(Object userData)
at
System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode
code, CleanupCode backoutCode, Object userData)
at
System.Threading.ExecutionContext.RunInternal(ExecutionContext
executionContext, ContextCallback callback, Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext
executionContext, ContextCallback callback, Object state)
at System.Windows.Threading.DispatcherOperation.Invoke()
at System.Windows.Threading.Dispatcher.ProcessQueue()
at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd,
Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr
wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
at
System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate
callback, Object args, Boolean isSingleParameter)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object
source, Delegate callback, Object args, Boolean isSingleParameter,
Delegate catchHandler)
at
System.Windows.Threading.Dispatcher.InvokeImpl(DispatcherPriority
priority, TimeSpan timeout, Delegate method, Object args, Boolean
isSingleParameter)
at System.Windows.Threading.Dispatcher.Invoke(DispatcherPriority
priority, Delegate method, Object arg)
at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg,
IntPtr wParam, IntPtr lParam)
at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
at
System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame
frame)
at System.Windows.Threading.Dispatcher.Run()
at System.Windows.Application.RunInternal(Window window,
String[] args)
at System.Windows.Application.Run(Window window, String[] args)
at System.Windows.Application.Run(String[] args)
at XamlPad.XamlPadApp.Main(String[] args)

Please help.

Thanks

Phil

My System SpecsSystem Spec
Old 01-10-2006   #2 (permalink)
Philippe Lavoie


 
 

Re: XamlPad doesn't work with November CTP

Philippe Lavoie wrote:
> I was able to succesfully install the WinFX November CTP on one machine.
> However, on a VPC and on another machine it doesn't work. The XamlPad
> won't even come up. This is the stack trace.
>
> ...


Ok, a frien of mine has the same problem however he told me that
executing a web application works however as soon as you try to use a
library which requires full trust it breaks.

It seems that a security problem is causing this. Any fixes? Any
suggestions ?

Phil
My System SpecsSystem Spec
 

Thread Tools


Similar Threads
Thread Forum
Vista RTM 13. november? Does someone have a confirm? Vista General


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46