unhandled exception

Help and support regarding PR:BF2 installation and in-game issues
Post Reply
DUTCH_SteijnXD
Posts: 6
Joined: 2018-03-05 15:46

unhandled exception

Post by DUTCH_SteijnXD »

I istalled PR and when i created an account it said there was a critical error and that an unhandled exception has occured. I would really like to fix this so i can play PR. If anywone knows how to fix it i'd be glad to hear it. It also said further details could be found in PRlauncher.log . In there it says System.Windows.Baml2006.TypeConverterMarkupExtension has made an exception.

here is the launch log by the way.

Code: Select all

Project Reality Log File
PRLauncher.exe started at: 2018-03-05T16:17:30

Critical Error: An unhandled exception has occured. Details are as follows:

De opgegeven waarde in System.Windows.Baml2006.TypeConverterMarkupExtension heeft een uitzondering veroorzaakt.

Further details can be found in the following file:

[url]C:\Program Files (x86)\Project Reality\Project Reality BF2\mods\pr\bin\PRLauncher.log[/url]

Please report this error to the Project Reality Team, and include the log file in your report.

[url=https://www.realitymod.com/forum/f27-pr-bf2-support]Visit Support Forum[/url]

 > System.Windows.Markup.XamlParseException: De opgegeven waarde in System.Windows.Baml2006.TypeConverterMarkupExtension heeft een uitzondering veroorzaakt. ---> System.MissingMethodException: Methode niet gevonden: Void System.Diagnostics.Tracing.FrameworkEventSource.BeginGetResponse(System.Object, System.String).
   bij System.Net.FileWebRequest.BeginGetResponse(AsyncCallback callback, Object state)
   bij System.Net.FileWebRequest.GetResponse()
   bij MS.Internal.WpfWebRequestHelper.GetResponse(WebRequest request)
   bij System.Windows.Media.ColorContext.Initialize(Uri profileUri, Boolean isStandardProfileUriNotFromUser)
   bij System.Windows.Media.ColorContext..ctor(PixelFormat pixelFormat)
   bij System.Windows.Media.Imaging.BitmapSource.CreateCachedBitmap(BitmapFrame frame, BitmapSourceSafeMILHandle wicSource, BitmapCreateOptions createOptions, BitmapCacheOption cacheOption, BitmapPalette palette)
   bij System.Windows.Media.Imaging.BitmapFrameDecode.FinalizeCreation()
   bij System.Windows.Media.Imaging.BitmapDecoder.SetupFrames(BitmapDecoder decoder, ReadOnlyCollection`1 frames)
   bij System.Windows.Media.Imaging.BitmapDecoder.get_Frames()
   bij System.Windows.Media.Imaging.BitmapFrame.CreateFromUriOrStream(Uri baseUri, Uri uri, Stream stream, BitmapCreateOptions createOptions, BitmapCacheOption cacheOption, RequestCachePolicy uriCachePolicy)
   bij System.Windows.Media.ImageSourceConverter.ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, Object value)
   bij MS.Internal.Xaml.Runtime.ClrObjectRuntime.CallProvideValue(MarkupExtension me, IServiceProvider serviceProvider)
   --- Einde van intern uitzonderingsstackpad ---
   bij System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri)
   bij System.Windows.Markup.WpfXamlLoader.LoadBaml(XamlReader xamlReader, Boolean skipJournaledProperties, Object rootObject, XamlAccessLevel accessLevel, Uri baseUri)
   bij System.Windows.Markup.XamlReader.LoadBaml(Stream stream, ParserContext parserContext, Object parent, Boolean closeStream)
   bij -.m..ctor()
   bij -.f.a()
   bij -.f.OnStartup(StartupEventArgs a)
   bij System.Windows.Application.<.ctor>b__1(Object unused)
   bij System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   bij MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
Last edited by DUTCH_SteijnXD on 2018-03-05 17:56, edited 1 time in total.
DUTCH_SteijnXD
Posts: 6
Joined: 2018-03-05 15:46

Re: unhandled exception

Post by DUTCH_SteijnXD »

So like does nobody know how to fix this?
AlonTavor
PR:BF2 Developer
Posts: 2991
Joined: 2009-08-10 18:58

Re: unhandled exception

Post by AlonTavor »

Try "retrieving" the account you created and see if it works.
Also post your specs from the "Support" menu so I can see that you're not running an ancient version of .NET
User avatar
Mats391
PR:BF2 Lead Developer
Posts: 7636
Joined: 2010-08-06 18:06

Re: unhandled exception

Post by Mats391 »

I can confirm that the account got created. Try retrieving it.
Image

Mineral: TIL that Wire-guided missiles actually use wire
DUTCH_SteijnXD
Posts: 6
Joined: 2018-03-05 15:46

Re: unhandled exception

Post by DUTCH_SteijnXD »

[R-DEV]AlonTavor wrote:Try "retrieving" the account you created and see if it works.
Also post your specs from the "Support" menu so I can see that you're not running an ancient version of .NET

I have tried to retrieve the account but the same error popped up. Where can i find the the support menu. Because the game doesnt even start up. The it goes wrong directly after i log in. I have reinstalled the game multiple times because if i log in once it aitomatically gives the error if i start it up afterwards.
AlonTavor
PR:BF2 Developer
Posts: 2991
Joined: 2009-08-10 18:58

Re: unhandled exception

Post by AlonTavor »

Support menu is In the launcher
DUTCH_SteijnXD
Posts: 6
Joined: 2018-03-05 15:46

Re: unhandled exception

Post by DUTCH_SteijnXD »

[R-DEV]AlonTavor wrote:Support menu is In the launcher
well the problem apears as soon as i log in in the launcher i get an error and than i can press ok and it closes. so if i have to launch PR to get to the support menu im ganna have a probleem
Last edited by DUTCH_SteijnXD on 2018-03-08 06:45, edited 1 time in total.
AlonTavor
PR:BF2 Developer
Posts: 2991
Joined: 2009-08-10 18:58

Re: unhandled exception

Post by AlonTavor »

You don't have to log in. Does it still happen? We changed stuff at backend.
DUTCH_SteijnXD
Posts: 6
Joined: 2018-03-05 15:46

Re: unhandled exception

Post by DUTCH_SteijnXD »

[R-DEV]AlonTavor wrote:You don't have to log in. Does it still happen? We changed stuff at backend.
Yes it does still happen. But i dont understand where i can find the support menu because i couldn't find it in the files and also i dont come across it when i start PR.
winject
Posts: 38
Joined: 2017-12-25 10:22

Re: unhandled exception

Post by winject »

Code: Select all

System.MissingMethodException
Do you have net framework 4.0 installed? If so, check if PresentationFramework.dll exists in YourDrive:\Program Files\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\Profile\Client

If not, reinstall the net framework from this link : https://www.microsoft.com/net/download/ ... rk-runtime
DUTCH_SteijnXD
Posts: 6
Joined: 2018-03-05 15:46

Re: unhandled exception

Post by DUTCH_SteijnXD »

winject wrote:

Code: Select all

System.MissingMethodException
Do you have net framework 4.0 installed? If so, check if PresentationFramework.dll exists in YourDrive:\Program Files\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\Profile\Client

If not, reinstall the net framework from this link : https://www.microsoft.com/net/download/ ... rk-runtime
i fixed it. i want through all my of my pc and than i figured out my graphics drivers where outdated so now its fixed. i would like to thank you for the help.
Post Reply

Return to “PR:BF2 Support”