Windows Vista Forums
Vista Forums Home Join Vista Forums Donate Vista Tutorials Tags

Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
Register at Vista forums...the world biggest Windows Vista resource Join Vista Forums Now

Go Back   Vista Forums > Microsoft Technical Newsgroups > Avalon

XamlPad doesn't work with November CTP

Closed Thread
 
Thread Tools Display Modes
Old 01-10-2006   #1 (permalink)
Philippe Lavoie
Guest


 

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
Old 01-10-2006   #2 (permalink)
Drew Marsh
Guest


 

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.


This is a known issue and AFAIK there is no workaround. You'll have to wait
for the next CTP.

HTH,
Drew


Old 01-10-2006   #3 (permalink)
Philippe Lavoie
Guest


 

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
Old 01-10-2006   #4 (permalink)
craig kelly-soens www.XpectWorld.com
Guest


 

XamlPad problems & solutions Nov05 CTP

hi,

i would try an uninstall and re-install b4 giving up.

see (and keep reading) rob relyea's blog he's an avalon proj.manager, good
bloke
http://www.longhornblogs.com/rrelyea/default.aspx

specifically the section
"November 2005 CTP of WinFX is released. Works on Final .Net Framework 2.0
and with Final VS 2005!"
and links from there

if you dont find info on the "CleanupSharedWinFXFiles.exe"
and
vs2005_beta_cleanup_tool.exe
and
vs_uninst_betas.exe

get in touch with me. i can help u.
run the above to uninstall all betas (im assiming you had them on the box u
r having trouble with)
then:-

official quote:
We recommend you install in the following order:

Visual Studio 2005 RTM (optional)
WinFX Runtime Components November CTP
Windows SDK November CTP
Visual Studio 2005 Extensions for WinFX Runtime Components November CTP
(optional).

re:xaml pad
One top tip if XAML pad DID work but crashed and doesnt now open again is to
deleted the tempfile
from the Windows Vista SDK bin directory it has the last successful xaml pad
open date on it so sort by date.
mine is called XamlPad_Saved.xaml - if it crashed it once it will keep
crashing it soXAMLpad will never open.

good luck ! here to help if u need me.

craig kelly-soens - Windows Vista WinFx XAML .Net Evangelist
http://www.XpectWorld.com - customised "super-easy to use" Windows Vista
based software consulting
Closed Thread

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Orcas November CTP Ish Aden Avalon 2 11-21-2006 10:23 PM
Vista RTM 13. november? Does someone have a confirm? Kevin Simpson Vista General 3 10-30-2006 08:03 PM
XamlPad locking up Dave Avalon 1 06-23-2006 08:11 PM
November CTP on XPHome ? wolfi Avalon 3 01-10-2006 03:53 PM
Page.Storyboards does not work in XamlPad LEU Avalon 2 01-10-2006 03:53 PM








Vistax64.com 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 2005-2008

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 47 48 49 50