View unanswered posts | View active topics It is currently 01 Oct 2024, 00:28



Reply to topic  [ 19 posts ] 
 I have an error 
Author Message
Crewman
User avatar

Joined: 30 Dec 2007, 02:12
Posts: 5
Location: USS Endeavour NCC-71805
Hello,

I seem to be having a problem with Supremacy. When I load the game and it reaches the options menu screen the game crashes, I've installed the .NET Framework 3.5 Redistributable and the latest version of Supremacy but I'm stumped. I have the error report here, any help would be appreciated:

ContentType string is not valid. Expected format is type/subtype.


Server stack trace:
at MS.Internal.ContentType.ParseTypeAndSubType(String typeAndSubType)
at MS.Internal.ContentType..ctor(String contentType)
at MS.Internal.MimeTypeMapper.GetMimeTypeFromUrlMon(Uri uriSource)
at MS.Internal.MimeTypeMapper.GetMimeTypeFromUri(Uri uriSource)
at MS.Internal.AppModel.ContentFilePart.GetContentTypeCore()
at System.IO.Packaging.PackagePart.get_ContentType()
at System.IO.Packaging.PackWebResponse.CachedResponse.GetResponseStream()
at System.IO.Packaging.PackWebResponse.GetResponseStream()
at MS.Internal.WpfWebRequestHelper.CreateRequestAndGetResponseStream(Uri uri)
at System.Windows.Controls.SoundPlayerAction.LoadStreamAsync(Uri uri)
at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
at System.Runtime.Remoting.Messaging.StackBuilderSink.PrivateProcessMessage(RuntimeMethodHandle md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
at System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(IMessage msg, IMessageSink replySink)

Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.EndInvokeHelper(Message reqMsg, Boolean bProxyCase)
at System.Runtime.Remoting.Proxies.RemotingProxy.Invoke(Object NotUsed, MessageData& msgData)
at System.Windows.Controls.SoundPlayerAction.LoadStreamCaller.EndInvoke(IAsyncResult result)
at System.Windows.Controls.SoundPlayerAction.OnLoadStreamCompleted(Object asyncResultArg)
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)

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

ContentType string is not valid. Expected format is type/subtype.


Server stack trace:
at MS.Internal.ContentType.ParseTypeAndSubType(String typeAndSubType)
at MS.Internal.ContentType..ctor(String contentType)
at MS.Internal.MimeTypeMapper.GetMimeTypeFromUrlMon(Uri uriSource)
at MS.Internal.MimeTypeMapper.GetMimeTypeFromUri(Uri uriSource)
at MS.Internal.AppModel.ContentFilePart.GetContentTypeCore()
at System.IO.Packaging.PackagePart.get_ContentType()
at System.IO.Packaging.PackWebResponse.CachedResponse.GetResponseStream()
at System.IO.Packaging.PackWebResponse.GetResponseStream()
at MS.Internal.WpfWebRequestHelper.CreateRequestAndGetResponseStream(Uri uri)
at System.Windows.Controls.SoundPlayerAction.LoadStreamAsync(Uri uri)
at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
at System.Runtime.Remoting.Messaging.StackBuilderSink.PrivateProcessMessage(RuntimeMethodHandle md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
at System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(IMessage msg, IMessageSink replySink)

Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.EndInvokeHelper(Message reqMsg, Boolean bProxyCase)
at System.Runtime.Remoting.Proxies.RemotingProxy.Invoke(Object NotUsed, MessageData& msgData)
at System.Windows.Controls.SoundPlayerAction.LoadStreamCaller.EndInvoke(IAsyncResult result)
at System.Windows.Controls.SoundPlayerAction.OnLoadStreamCompleted(Object asyncResultArg)
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)

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

ContentType string is not valid. Expected format is type/subtype.


Server stack trace:
at MS.Internal.ContentType.ParseTypeAndSubType(String typeAndSubType)
at MS.Internal.ContentType..ctor(String contentType)
at MS.Internal.MimeTypeMapper.GetMimeTypeFromUrlMon(Uri uriSource)
at MS.Internal.MimeTypeMapper.GetMimeTypeFromUri(Uri uriSource)
at MS.Internal.AppModel.ContentFilePart.GetContentTypeCore()
at System.IO.Packaging.PackagePart.get_ContentType()
at System.IO.Packaging.PackWebResponse.CachedResponse.GetResponseStream()
at System.IO.Packaging.PackWebResponse.GetResponseStream()
at MS.Internal.WpfWebRequestHelper.CreateRequestAndGetResponseStream(Uri uri)
at System.Windows.Controls.SoundPlayerAction.LoadStreamAsync(Uri uri)
at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
at System.Runtime.Remoting.Messaging.StackBuilderSink.PrivateProcessMessage(RuntimeMethodHandle md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
at System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(IMessage msg, IMessageSink replySink)

Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.EndInvokeHelper(Message reqMsg, Boolean bProxyCase)
at System.Runtime.Remoting.Proxies.RemotingProxy.Invoke(Object NotUsed, MessageData& msgData)
at System.Windows.Controls.SoundPlayerAction.LoadStreamCaller.EndInvoke(IAsyncResult result)
at System.Windows.Controls.SoundPlayerAction.OnLoadStreamCompleted(Object asyncResultArg)
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)

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

ContentType string is not valid. Expected format is type/subtype.


Server stack trace:
at MS.Internal.ContentType.ParseTypeAndSubType(String typeAndSubType)
at MS.Internal.ContentType..ctor(String contentType)
at MS.Internal.MimeTypeMapper.GetMimeTypeFromUrlMon(Uri uriSource)
at MS.Internal.MimeTypeMapper.GetMimeTypeFromUri(Uri uriSource)
at MS.Internal.AppModel.ContentFilePart.GetContentTypeCore()
at System.IO.Packaging.PackagePart.get_ContentType()
at System.IO.Packaging.PackWebResponse.CachedResponse.GetResponseStream()
at System.IO.Packaging.PackWebResponse.GetResponseStream()
at MS.Internal.WpfWebRequestHelper.CreateRequestAndGetResponseStream(Uri uri)
at System.Windows.Controls.SoundPlayerAction.LoadStreamAsync(Uri uri)
at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
at System.Runtime.Remoting.Messaging.StackBuilderSink.PrivateProcessMessage(RuntimeMethodHandle md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
at System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(IMessage msg, IMessageSink replySink)

Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.EndInvokeHelper(Message reqMsg, Boolean bProxyCase)
at System.Runtime.Remoting.Proxies.RemotingProxy.Invoke(Object NotUsed, MessageData& msgData)
at System.Windows.Controls.SoundPlayerAction.LoadStreamCaller.EndInvoke(IAsyncResult result)
at System.Windows.Controls.SoundPlayerAction.OnLoadStreamCompleted(Object asyncResultArg)
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)

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


30 Dec 2007, 03:29
Profile
Chief Software Engineer
Chief Software Engineer
User avatar

Joined: 11 Aug 2005, 01:00
Posts: 2688
It looks like it's having trouble loading one of the sound effects. I'm not sure what would cause that off the top of my head. Can you check and see what version of Windows Media Player you have installed?

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


30 Dec 2007, 05:56
Profile WWW
Crewman
User avatar

Joined: 30 Dec 2007, 02:12
Posts: 5
Location: USS Endeavour NCC-71805
I have Windows Media Player 11.


30 Dec 2007, 10:43
Profile
Fleet Admiral
Fleet Admiral
User avatar

Joined: 13 Nov 2006, 01:00
Posts: 2111
Location: Germany
Isn't .NET using its own string types? I mean it sounds a bit like it's trying to play the sound file via Media Player 6.4 dlls and those ones expect lpcstr or similar standard string types as reference types. Maybe it doesn't find the right dlls, WinSxS maybe missing. If I knew which dlls are needed to play a file, I would try to copy them into the supremacy folder and see what happens.


30 Dec 2007, 10:59
Profile WWW
Crewman
User avatar

Joined: 30 Dec 2007, 02:12
Posts: 5
Location: USS Endeavour NCC-71805
I checked and the WinSxS folder and its contents are still present so it doesn't seem to be that.


30 Dec 2007, 12:09
Profile
Chief Software Engineer
Chief Software Engineer
User avatar

Joined: 11 Aug 2005, 01:00
Posts: 2688
I don't think it's a string issue, since WPF uses its own "pack:///" URI format that WMP can't handle anyway. In should be opening a stream and then passing the stream off to the sound player. Come to think of it, I don't think the lightweight WPF SoundPlayer actually uses WMP afterall, so I'm once again stumped...

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


30 Dec 2007, 17:56
Profile WWW
Crewman
User avatar

Joined: 02 Dec 2007, 18:10
Posts: 21
it could just be a partially corrupted download... just had that problem with another app I downloaded ... loaded up just fine, then it started to play the sound and crashed. uninstalled, redownloaded, fixed.

however, that app was only 3mb(LOL) and not nearly as big as supremacy ... so redownloading can be a chore, plus it uses a lot of bandwidth.


31 Dec 2007, 21:53
Profile
Chief Software Engineer
Chief Software Engineer
User avatar

Joined: 11 Aug 2005, 01:00
Posts: 2688
Well, hopefully by the time the game gets to Alpha stage, I'll have implemented an automatic updating service. That way the game will automatically download any new files it needs and ignore the ones that haven't changed. It would almost certainly perform a verification of all files downloaded to make sure nothing is corrupted or otherwise tampered with :).

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


31 Dec 2007, 22:30
Profile WWW
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.
Err...define "tampering", Mike; what would happen if you've modded the game? :?

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

Image
Image


31 Dec 2007, 23:01
Profile WWW
Chief Software Engineer
Chief Software Engineer
User avatar

Joined: 11 Aug 2005, 01:00
Posts: 2688
Matress_of_evil wrote:
Err...define "tampering", Mike; what would happen if you've modded the game? :?

Only the core game binaries would be digitally signed and tamper-proof to prevent cheating. The rest doesn't really matter.

I mean come on, do you really think I hadn't thought of that? :-P

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


01 Jan 2008, 00:50
Profile WWW
Combat Engineer
Combat Engineer
User avatar

Joined: 18 Jul 2005, 01:00
Posts: 1001
mstrobel wrote:
Matress_of_evil wrote:
Err...define "tampering", Mike; what would happen if you've modded the game? :?

Only the core game binaries would be digitally signed and tamper-proof to prevent cheating. The rest doesn't really matter.

I mean come on, do you really think I hadn't thought of that? :-P


Tsk Tsk MOE :P

Oh and happy new year

Regards Wolfe

_________________
Image


01 Jan 2008, 01:10
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.
Just testing! :shifty:

What would you do without me, Mike? :P

Happy New Year Wolfe! Happy New Year everyone!

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

Image
Image


01 Jan 2008, 01:24
Profile WWW
Cadet
Cadet
User avatar

Joined: 17 Oct 2007, 01:00
Posts: 57
Location: Atlanta, GA
Happy New Year to you guys too! New year, improved Supremacy! :)

_________________
Alhu na shiar!


01 Jan 2008, 03:16
Profile
Chief Software Engineer
Chief Software Engineer
User avatar

Joined: 11 Aug 2005, 01:00
Posts: 2688
SeaBee-T wrote:
Happy New Year to you guys too! New year, improved Supremacy! :)

Damn right. Happy New Year, all.

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


01 Jan 2008, 07:06
Profile WWW
Crewman
User avatar

Joined: 30 Dec 2007, 02:12
Posts: 5
Location: USS Endeavour NCC-71805
traenol wrote:
it could just be a partially corrupted download... just had that problem with another app I downloaded ... loaded up just fine, then it started to play the sound and crashed. uninstalled, redownloaded, fixed.

however, that app was only 3mb(LOL) and not nearly as big as supremacy ... so redownloading can be a chore, plus it uses a lot of bandwidth.


I did try that but to no avail unfortunately.


01 Jan 2008, 21:17
Profile
Chief Software Engineer
Chief Software Engineer
User avatar

Joined: 11 Aug 2005, 01:00
Posts: 2688
Well, that's disappointing. Unfortunately, I may not get the chance to look at it for a while, as this is going to be an incredibly busy month. I just bought my first place, and I have a lot of furniture shopping to do before I close on Jan 31. Plus all the loan paperwork... eesh :shock:.

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


02 Jan 2008, 04:22
Profile WWW
Ship Engineer
Ship Engineer
User avatar

Joined: 10 Jul 2006, 01:00
Posts: 5130
Location: Space is disease and danger, wrapped in darkness and silence!
Congratulations on the new place. I will be on the road half the time myself this month. February should be more productive.

_________________
Image


02 Jan 2008, 14:01
Profile
Chief Software Engineer
Chief Software Engineer
User avatar

Joined: 11 Aug 2005, 01:00
Posts: 2688
Thanks, Kenneth :). Travel safely.

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


02 Jan 2008, 14:05
Profile WWW
Crewman
User avatar

Joined: 30 Dec 2007, 02:12
Posts: 5
Location: USS Endeavour NCC-71805
Hey no worries, I'll be sure to check out future versions and see if the problem occurs again, never know it might work itself out down the line :)


02 Jan 2008, 18:47
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 19 posts ] 

Who is online

Users browsing this forum: No registered users and 0 guests


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.