Critical Error Unhandled exception

Help and support regarding PR:BF2 installation and in-game issues
Post Reply
Mlanning1019
Posts: 2
Joined: 2014-11-30 20:15

Critical Error Unhandled exception

Post by Mlanning1019 »

I start it up the first time and go to create and an account and then i say finish then it tells me Critical error unhandled exception Provide value on 'System.Windows.Baml2006.TypeConverterMarkupExtension' threw an exception.

so i click the further details and it bring me here




Code: Select all

Project Reality Log File
PRLauncher.exe started at: 2014-11-30T15:04:33

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

Provide value on 'System.Windows.Baml2006.TypeConverterMarkupExtension' threw an exception.

Further details can be found in the following file:

[url]C:\Program Files (x86)\EA GAMES\Battlefield 2\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: Provide value on 'System.Windows.Baml2006.TypeConverterMarkupExtension' threw an exception. ---> System.BadImageFormatException: An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)
   at MS.Win32.PresentationCore.UnsafeNativeMethods.WICCodec.CreateColorTransform(BitmapSourceSafeMILHandle& ppWICColorTransform)
   at System.Windows.Media.Imaging.ColorConvertedBitmap.FinalizeCreation()
   at System.Windows.Media.Imaging.ColorConvertedBitmap..ctor(BitmapSource source, ColorContext sourceColorContext, ColorContext destinationColorContext, PixelFormat format)
   at System.Windows.Media.Imaging.BitmapSource.CreateCachedBitmap(BitmapFrame frame, BitmapSourceSafeMILHandle wicSource, BitmapCreateOptions createOptions, BitmapCacheOption cacheOption, BitmapPalette palette)
   at System.Windows.Media.Imaging.BitmapFrameDecode.FinalizeCreation()
   at System.Windows.Media.Imaging.BitmapDecoder.SetupFrames(BitmapDecoder decoder, ReadOnlyCollection`1 frames)
   at System.Windows.Media.Imaging.BitmapDecoder.get_Frames()
   at System.Windows.Media.Imaging.BitmapFrame.CreateFromUriOrStream(Uri baseUri, Uri uri, Stream stream, BitmapCreateOptions createOptions, BitmapCacheOption cacheOption, RequestCachePolicy uriCachePolicy)
   at System.Windows.Media.ImageSourceConverter.ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, Object value)
   at MS.Internal.Xaml.Runtime.ClrObjectRuntime.CallProvideValue(MarkupExtension me, IServiceProvider serviceProvider)
   --- End of inner exception stack trace ---
   at System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri)
   at System.Windows.Markup.WpfXamlLoader.LoadBaml(XamlReader xamlReader, Boolean skipJournaledProperties, Object rootObject, XamlAccessLevel accessLevel, Uri baseUri)
   at System.Windows.Markup.XamlReader.LoadBaml(Stream stream, ParserContext parserContext, Object parent, Boolean closeStream)
   at System.Windows.Application.LoadComponent(Object component, Uri resourceLocator)
   at PRLauncher.WPF.View.MainWindow..ctor()
   at PRLauncher.App.()
   at PRLauncher.App.OnStartup(StartupEventArgs )
   at System.Windows.Application.<.ctor>b__1(Object unused)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)




i really have no idea what to do any help would be awesome! i did a little re arranging and i can use the PRBF2.EXE to actually get into the game but then it says no interaction from PR launcher and that i have to use the launcher and the launcher doesnt let me even get into the game
Last edited by Mlanning1019 on 2014-11-30 22:33, edited 1 time in total.
LITOralis.nMd
Retired PR Developer
Posts: 5658
Joined: 2010-04-10 16:15

Re: Critical Error Unhandled exception

Post by LITOralis.nMd »

Are you running 32 or 64 bit windows?
Do you have .NET framework 4.0 or higher installed on your PC? (4.5.2 is the newest)



Can you check to make sure you followed all the steps in the installation guide?
Mlanning1019
Posts: 2
Joined: 2014-11-30 20:15

Re: Critical Error Unhandled exception

Post by Mlanning1019 »

[R-COM]LITOralis.nMd wrote:Are you running 32 or 64 bit windows?
Do you have .NET framework 4.0 or higher installed on your PC? (4.5.2 is the newest)



Can you check to make sure you followed all the steps in the installation guide?

im running 64 and yes i do have 4.0 or higher Framwork and ill check the in the guide as well
Last edited by Mlanning1019 on 2014-12-01 06:08, edited 1 time in total.
Post Reply

Return to “PR:BF2 Support”