View unanswered posts | View active topics It is currently 23 Nov 2024, 10:26



Reply to topic  [ 11 posts ] 
 Unhandled Exception 
Author Message
Crewman
User avatar

Joined: 18 May 2008, 01:54
Posts: 1
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


18 May 2008, 01:57
Profile
Chief Software Engineer
Chief Software Engineer
User avatar

Joined: 11 Aug 2005, 01:00
Posts: 2688
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

_________________
Lead Developer of Star Trek: Supremacy
253,658 lines of code and counting...


18 May 2008, 20:25
Profile WWW
Crewman
User avatar

Joined: 15 Jun 2008, 10:06
Posts: 1
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)


15 Jun 2008, 10:09
Profile
Crewman
User avatar

Joined: 19 Jun 2008, 14:32
Posts: 2
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)

----------------------------------------


19 Jun 2008, 14:37
Profile
Chief Software Engineer
Chief Software Engineer
User avatar

Joined: 11 Aug 2005, 01:00
Posts: 2688
@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.

_________________
Lead Developer of Star Trek: Supremacy
253,658 lines of code and counting...


19 Jun 2008, 16:30
Profile WWW
Crewman
User avatar

Joined: 19 Jun 2008, 14:32
Posts: 2
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.


20 Jun 2008, 02:20
Profile
Evil Romulan Overlord of Evil - Now 100% Faster!
Evil Romulan Overlord of Evil - Now 100% Faster!
User avatar

Joined: 02 Dec 2004, 01:00
Posts: 7392
Location: Returned to the previous place.
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

_________________
"Anyone without a sense of humour is truly at the mercy of the rest of us."

Image
Image


20 Jun 2008, 23:00
Profile WWW
Chief Software Engineer
Chief Software Engineer
User avatar

Joined: 11 Aug 2005, 01:00
Posts: 2688
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.

_________________
Lead Developer of Star Trek: Supremacy
253,658 lines of code and counting...


20 Jun 2008, 23:11
Profile WWW
Crewman
User avatar

Joined: 02 Jul 2008, 23:16
Posts: 3
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)


02 Jul 2008, 23:19
Profile
Crewman
User avatar

Joined: 02 Jul 2008, 23:16
Posts: 3
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.


02 Jul 2008, 23:42
Profile
Evil Romulan Overlord of Evil - Now 100% Faster!
Evil Romulan Overlord of Evil - Now 100% Faster!
User avatar

Joined: 02 Dec 2004, 01:00
Posts: 7392
Location: Returned to the previous place.
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. :oops:

I'm glad you got it working again. If you have any other problems let us know.

_________________
"Anyone without a sense of humour is truly at the mercy of the rest of us."

Image
Image


03 Jul 2008, 00:31
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 11 posts ] 

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group
Designed by STSoftware.