Page 1 of 1

Critical Error: An unhandled exception has occured

Posted: 2017-03-19 20:29
by SpuntCze
Hi please apologyze me with my english, I am from Czech...

I am problem with start PR: BF2. When I start PR next is Critical Error: An unhandled exception has occured. With this log file:

Code: Select all

Project Reality Log File
PRLauncher.exe started at: 2017-03-19T20:45:14

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

Zadání hodnoty v System.Windows.Baml2006.TypeConverterMarkupExtension vyvolalo výjimku.

Further details can be found in the following file:

[url]C:\Hry\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: Zadání hodnoty v System.Windows.Baml2006.TypeConverterMarkupExtension vyvolalo výjimku. ---> System.MissingMethodException: Metoda nebyla nalezena: Void System.Diagnostics.Tracing.FrameworkEventSource.BeginGetResponse(System.Object, System.String).
   v System.Net.FileWebRequest.BeginGetResponse(AsyncCallback callback, Object state)
   v System.Net.FileWebRequest.GetResponse()
   v MS.Internal.WpfWebRequestHelper.GetResponse(WebRequest request)
   v System.Windows.Media.ColorContext.Initialize(Uri profileUri, Boolean isStandardProfileUriNotFromUser)
   v System.Windows.Media.ColorContext..ctor(PixelFormat pixelFormat)
   v System.Windows.Media.Imaging.BitmapSource.CreateCachedBitmap(BitmapFrame frame, BitmapSourceSafeMILHandle wicSource, BitmapCreateOptions createOptions, BitmapCacheOption cacheOption, BitmapPalette palette)
   v System.Windows.Media.Imaging.BitmapFrameDecode.FinalizeCreation()
   v System.Windows.Media.Imaging.BitmapDecoder.SetupFrames(BitmapDecoder decoder, ReadOnlyCollection`1 frames)
   v System.Windows.Media.Imaging.BitmapDecoder.get_Frames()
   v System.Windows.Media.Imaging.BitmapFrame.CreateFromUriOrStream(Uri baseUri, Uri uri, Stream stream, BitmapCreateOptions createOptions, BitmapCacheOption cacheOption, RequestCachePolicy uriCachePolicy)
   v System.Windows.Media.ImageSourceConverter.ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, Object value)
   v MS.Internal.Xaml.Runtime.ClrObjectRuntime.CallProvideValue(MarkupExtension me, IServiceProvider serviceProvider)
   --- Konec trasování zásobníku pro vnit?ní výjimku ---
   v System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri)
   v System.Windows.Markup.WpfXamlLoader.LoadBaml(XamlReader xamlReader, Boolean skipJournaledProperties, Object rootObject, XamlAccessLevel accessLevel, Uri baseUri)
   v System.Windows.Markup.XamlReader.LoadBaml(Stream stream, ParserContext parserContext, Object parent, Boolean closeStream)
   v -.m..ctor()
   v -.f.a()
   v -.f.OnStartup(StartupEventArgs a)
   v System.Windows.Application.<.ctor>b__1(Object unused)
   v System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   v MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)




Can you anyone help me...? I have notebook Lenovo G505s.

Re: Critical Error: An unhandled exception has occured

Posted: 2017-03-19 21:35
by fpspromotion
Do you have all the latest version of .NET Frameworks in your OS ??!
Try Repair/Reinstalling all of them !!

link for .NET Framework

https://www.microsoft.com/en-us/downloa ... 0framework


PR instalation guide:




https://www.realitymod.com/forum/f27-pr ... guide.html

current Version is 1.4.6