Page 1 of 1

unhandled exception

Posted: 2018-03-05 15:53
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)

Re: unhandled exception

Posted: 2018-03-06 12:00
by DUTCH_SteijnXD
So like does nobody know how to fix this?

Re: unhandled exception

Posted: 2018-03-06 15:06
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

Re: unhandled exception

Posted: 2018-03-06 16:49
by Mats391
I can confirm that the account got created. Try retrieving it.

Re: unhandled exception

Posted: 2018-03-07 12:40
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.

Re: unhandled exception

Posted: 2018-03-07 15:02
by AlonTavor
Support menu is In the launcher

Re: unhandled exception

Posted: 2018-03-07 19:30
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

Re: unhandled exception

Posted: 2018-03-08 10:23
by AlonTavor
You don't have to log in. Does it still happen? We changed stuff at backend.

Re: unhandled exception

Posted: 2018-03-08 16:31
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.

Re: unhandled exception

Posted: 2018-03-09 12:54
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

Re: unhandled exception

Posted: 2018-03-09 17:57
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.