Star Trek Fan Games http://bote2.square7.ch/forum/ |
|
Unhandled Exception http://bote2.square7.ch/forum/viewtopic.php?f=32&t=2336 |
Page 1 of 1 |
Author: | Nurn [ 18 May 2008, 01:57 ] |
Post subject: | Unhandled Exception |
Hi, starting a single player game, regardless of the chosen option, raises the following error after the game switches to a nebula background: Der Typ System.Windows.NameScope in der Assembly WindowsBase, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 konnte nicht geladen werden. bei Supremacy.UI.Star2D..ctor(StarType starType) bei Supremacy.UI.StarSystemPanel.DisplayVisuals(StarSystem system) in C:\Workspace\CodePlex\supremacy\Mainline\SupremacyUI\StarSystemPanel.cs:Zeile 289. bei Supremacy.UI.StarSystemPanel.Refresh() in C:\Workspace\CodePlex\supremacy\Mainline\SupremacyUI\StarSystemPanel.cs:Zeile 195. bei Supremacy.UI.StarSystemPanel.SectorChangedCallback(DependencyObject source, DependencyPropertyChangedEventArgs e) in C:\Workspace\CodePlex\supremacy\Mainline\SupremacyUI\StarSystemPanel.cs:Zeile 131. bei System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e) bei System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e) bei System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args) [...] as you can see my system is german; the first line says: "The type System.Windows.... in assembly Windowsbase, ... could not be loaded" I have Windows Vista 64 with .NET 3.5 (no language pack) Can anyone suggest any solution to this problem? Greetings Nurn |
Author: | mstrobel [ 18 May 2008, 20:25 ] |
Post subject: | Re: Unhandled Exception |
Hello, Please install the .NET Framework v3.5 SP1 Beta. I did not expect that this would be required for the latest Supremacy release, but it appears that Microsoft broke compatibility. Cheers, Mike |
Author: | BigTaurus [ 15 Jun 2008, 10:09 ] |
Post subject: | Re: Unhandled Exception |
Hi! I did the installation from your link and still gettin the same error message: Der Typ System.Windows.NameScope in der Assembly WindowsBase, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 konnte nicht geladen werden. bei Supremacy.UI.Star2D..ctor(StarType starType) bei Supremacy.UI.StarSystemPanel.DisplayVisuals(StarSystem system) in C:\Users\Mike Strobel\Workspace\supremacy\Mainline\SupremacyUI\StarSystemPanel.cs:Zeile 289. bei Supremacy.UI.StarSystemPanel.Refresh() in C:\Users\Mike Strobel\Workspace\supremacy\Mainline\SupremacyUI\StarSystemPanel.cs:Zeile 195. bei Supremacy.Client.SystemScreen.RefreshScreen() in C:\Users\Mike Strobel\Workspace\supremacy\Mainline\SupremacyClient\SystemScreen.cs:Zeile 670. bei Supremacy.Client.GameScreen.GameScreen_Loaded(Object sender, RoutedEventArgs e) in C:\Users\Mike Strobel\Workspace\supremacy\Mainline\SupremacyClient\GameScreen.cs:Zeile 136. bei System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs) bei System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) bei System.Windows.UIElement.RaiseEventImpl(RoutedEventArgs args) bei System.Windows.UIElement.RaiseEvent(RoutedEventArgs e) bei MS.Internal.FrameworkObject.OnLoaded(RoutedEventArgs args) bei System.Windows.BroadcastEventHelper.BroadcastEvent(DependencyObject root, RoutedEvent routedEvent) bei System.Windows.BroadcastEventHelper.BroadcastLoadedEvent(Object root) bei System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Boolean isSingleParameter) bei System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler) |
Author: | utman2003 [ 19 Jun 2008, 14:37 ] |
Post subject: | Re: Unhandled Exception |
I am having the same problem, at the nebula screen I get an error, the text of which is below. This is the first time I have downloaded the game and I was sure to download the .NET Framework v3.5 SP1 Beta file first. Any suggestions? The game looks AMAZING from what I have seen from the site, and I really want to play!! ------------------------------------------------------------- Could not load type 'System.Windows.NameScope' from assembly 'WindowsBase, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. at Supremacy.UI.Star2D..ctor(StarType starType) at Supremacy.UI.StarSystemPanel.DisplayVisuals(StarSystem system) in C:\Users\Mike Strobel\Workspace\supremacy\Mainline\SupremacyUI\StarSystemPanel.cs:line 289 at Supremacy.UI.StarSystemPanel.Refresh() in C:\Users\Mike Strobel\Workspace\supremacy\Mainline\SupremacyUI\StarSystemPanel.cs:line 195 at Supremacy.UI.StarSystemPanel.SectorChangedCallback(DependencyObject source, DependencyPropertyChangedEventArgs e) in C:\Users\Mike Strobel\Workspace\supremacy\Mainline\SupremacyUI\StarSystemPanel.cs:line 131 at System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e) at System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e) at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args) at System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, OperationType operationType) at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty dp) at System.Windows.Data.BindingExpression.Invalidate(Boolean isASubPropertyChange) at System.Windows.Data.BindingExpression.TransferValue(Object newValue, Boolean isASubPropertyChange) at System.Windows.Data.BindingExpression.Activate(Object item) at System.Windows.Data.BindingExpression.AttachToContext(AttachAttempt attempt) at System.Windows.Data.BindingExpression.MS.Internal.Data.IDataBindEngineClient.AttachToContext(Boolean lastChance) at MS.Internal.Data.DataBindEngine.Task.Run(Boolean lastChance) at MS.Internal.Data.DataBindEngine.Run(Object arg) 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) ---------------------------------------- Could not load type 'System.Windows.NameScope' from assembly 'WindowsBase, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. at Supremacy.UI.Star2D..ctor(StarType starType) at Supremacy.UI.StarSystemPanel.DisplayVisuals(StarSystem system) in C:\Users\Mike Strobel\Workspace\supremacy\Mainline\SupremacyUI\StarSystemPanel.cs:line 289 at Supremacy.UI.StarSystemPanel.Refresh() in C:\Users\Mike Strobel\Workspace\supremacy\Mainline\SupremacyUI\StarSystemPanel.cs:line 195 at Supremacy.UI.StarSystemPanel.SectorChangedCallback(DependencyObject source, DependencyPropertyChangedEventArgs e) in C:\Users\Mike Strobel\Workspace\supremacy\Mainline\SupremacyUI\StarSystemPanel.cs:line 131 at System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e) at System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e) at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args) at System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, OperationType operationType) at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty dp) at System.Windows.Data.BindingExpression.Invalidate(Boolean isASubPropertyChange) at System.Windows.Data.BindingExpression.TransferValue(Object newValue, Boolean isASubPropertyChange) at System.Windows.Data.BindingExpression.ScheduleTransfer(Boolean isASubPropertyChange) at MS.Internal.Data.ClrBindingWorker.NewValueAvailable(Boolean dependencySourcesChanged, Boolean initialValue, Boolean isASubPropertyChange) at MS.Internal.Data.PropertyPathWorker.UpdateSourceValueState(Int32 k, ICollectionView collectionView, Object newValue, Boolean isASubPropertyChange) at MS.Internal.Data.PropertyPathWorker.OnDependencyPropertyChanged(DependencyObject d, DependencyProperty dp, Boolean isASubPropertyChange) at MS.Internal.Data.ClrBindingWorker.OnSourceInvalidation(DependencyObject d, DependencyProperty dp, Boolean isASubPropertyChange) at System.Windows.Data.BindingExpression.HandlePropertyInvalidation(DependencyObject d, DependencyPropertyChangedEventArgs args) at System.Windows.Data.BindingExpression.OnPropertyInvalidation(DependencyObject d, DependencyPropertyChangedEventArgs args) at System.Windows.DependentList.InvalidateDependents(DependencyObject source, DependencyPropertyChangedEventArgs sourceArgs) at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args) at System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, OperationType operationType) at System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, OperationType operationType, Boolean isInternal) at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value) at Supremacy.UI.GalaxyGridPanel.set_SelectedSector(Sector value) in C:\Users\Mike Strobel\Workspace\supremacy\Mainline\SupremacyUI\GalaxyGridPanel.cs:line 531 at Supremacy.Client.GalaxyScreen.RefreshScreen() in C:\Users\Mike Strobel\Workspace\supremacy\Mainline\SupremacyClient\GalaxyScreen.cs:line 797 at Supremacy.Client.GameScreen.GameScreen_Loaded(Object sender, RoutedEventArgs e) in C:\Users\Mike Strobel\Workspace\supremacy\Mainline\SupremacyClient\GameScreen.cs:line 136 at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs) at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) at System.Windows.UIElement.RaiseEventImpl(RoutedEventArgs args) at System.Windows.UIElement.RaiseEvent(RoutedEventArgs e) at MS.Internal.FrameworkObject.OnLoaded(RoutedEventArgs args) at System.Windows.BroadcastEventHelper.BroadcastEvent(DependencyObject root, RoutedEvent routedEvent) at System.Windows.BroadcastEventHelper.BroadcastLoadedEvent(Object root) at MS.Internal.LoadedOrUnloadedOperation.DoWork() at System.Windows.Media.MediaContext.FireLoadedPendingCallbacks() at System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks() at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget) at System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget) 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) ---------------------------------------- Could not load type 'System.Windows.NameScope' from assembly 'WindowsBase, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. at Supremacy.UI.Star2D..ctor(StarType starType) at Supremacy.UI.StarSystemPanel.DisplayVisuals(StarSystem system) in C:\Users\Mike Strobel\Workspace\supremacy\Mainline\SupremacyUI\StarSystemPanel.cs:line 289 at Supremacy.UI.StarSystemPanel.Refresh() in C:\Users\Mike Strobel\Workspace\supremacy\Mainline\SupremacyUI\StarSystemPanel.cs:line 195 at Supremacy.Client.SystemScreen.RefreshScreen() in C:\Users\Mike Strobel\Workspace\supremacy\Mainline\SupremacyClient\SystemScreen.cs:line 670 at Supremacy.Client.GameScreen.GameScreen_Loaded(Object sender, RoutedEventArgs e) in C:\Users\Mike Strobel\Workspace\supremacy\Mainline\SupremacyClient\GameScreen.cs:line 136 at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs) at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) at System.Windows.UIElement.RaiseEventImpl(RoutedEventArgs args) at System.Windows.UIElement.RaiseEvent(RoutedEventArgs e) at MS.Internal.FrameworkObject.OnLoaded(RoutedEventArgs args) at System.Windows.BroadcastEventHelper.BroadcastEvent(DependencyObject root, RoutedEvent routedEvent) at System.Windows.BroadcastEventHelper.BroadcastLoadedEvent(Object root) 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) ---------------------------------------- |
Author: | mstrobel [ 19 Jun 2008, 16:30 ] |
Post subject: | Re: Unhandled Exception |
@utman2003: The only explanation I can come up with for this issue is if the .NET 3.5 SP1 Beta install failed. Are you sure the install completed successfully? The last screen of the setup program might have indicated failure without actually showing an error dialog. |
Author: | utman2003 [ 20 Jun 2008, 02:20 ] |
Post subject: | Re: Unhandled Exception |
It said it installed successfully, and shows up in program files and the remove program menu. I was sure uninstall all previous versions beforing installing it as well. I uninstalled everything and triedagain twice, and then once on my laptop computer, but had the exact same error even on the laptop, it will go to the nubula screen then the exception occurs with the same error text. I am stumped too. |
Author: | Matress_of_evil [ 20 Jun 2008, 23:00 ] |
Post subject: | Re: Unhandled Exception |
Mike, the last part of the error message refers to places on YOUR computer - is that normal, since it's installed on utman's computer, not yours? Quote: at Supremacy.UI.StarSystemPanel.DisplayVisuals(StarSystem system) in C:\Users\Mike Strobel\Workspace\supremacy\Mainline\SupremacyUI\StarSystemPanel.cs:line 289 |
Author: | mstrobel [ 20 Jun 2008, 23:11 ] |
Post subject: | Re: Unhandled Exception |
Matress_of_evil wrote: Mike, the last part of the error message refers to places on YOUR computer - is that normal, since it's installed on utman's computer, not yours? Quote: at Supremacy.UI.StarSystemPanel.DisplayVisuals(StarSystem system) in C:\Users\Mike Strobel\Workspace\supremacy\Mainline\SupremacyUI\StarSystemPanel.cs:line 289 That line refers to the exact location of the source code in which the error originated (the file and the actual line number). The location of the source code can only be known for the computer on which the game was compiled (which is, you guessed it, my computer). So yes, this is perfectly normal. |
Author: | Zathras [ 02 Jul 2008, 23:19 ] |
Post subject: | Re: Unhandled Exception |
I currently have the exact same problem. I have The .net framework and reinstalled it already. I'll try some stuff to see if I can't get it working and will post feedback if successful (really want to play this game :p) |
Author: | Zathras [ 02 Jul 2008, 23:42 ] |
Post subject: | Re: Unhandled Exception |
I fixed the problem by uninstalling the .Net 3.5 SP1 Client and downloading/installing the full version rather than the bootstrapper download as linked above. http://www.microsoft.com/downloads/deta ... laylang=en The download is 230 MB, but it did fix the problem for me. |
Author: | Matress_of_evil [ 03 Jul 2008, 00:31 ] |
Post subject: | Re: Unhandled Exception |
The full download links are in the Supremacy Pre-release download thread. I encountered problems with the "bootstrapper" version a while ago when Mike first made it a requirement. I guess we forgot to update the link here. I'm glad you got it working again. If you have any other problems let us know. |
Page 1 of 1 | All times are UTC [ DST ] |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |