project reality header
Go Back   Project Reality Forums > Project Reality Support > PR:BF2 Support
21 Oct 2021, 00:00:00 (PRT)
Register Developer Blogs Project Reality Members List Search Today's Posts Mark Forums Read
PR:BF2 Support Help and support regarding PR:BF2 installation and in-game issues

Reply
 
Thread Tools Display Modes
Old 2020-07-29, 06:25   #1
Layzdz
Default Critical Error (help)

Code:
Project Reality Log File
PRLauncher.exe started at: 2020-07-29T14:23:15

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:

C:\Program Files (x86)\Project Reali...PRLauncher.log

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

Visit Support Forum

 > System.Windows.Markup.XamlParseException: Provide value on 'System.Windows.Baml2006.TypeConverterMarkupExtension' threw an exception. ---> System.Runtime.InteropServices.COMException: The operation completed successfully. (Exception from HRESULT: 0x80070000)
   at System.Windows.Media.ColorContext.FromRawBytes(Byte[] data, Int32 dataLength, Boolean dontThrowException)
   at System.Windows.Media.ColorContext.FromStream(Stream stm, String filename)
   at System.Windows.Media.ColorContext..ctor(PixelFormat pixelFormat)
   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.XamlReader.RewrapException(Exception e, IXamlLineInfo lineInfo, Uri baseUri)
   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 -.n.InitializeComponent()
   at -.n..ctor()
   at -.f.d.a(Object a, EventArgs b)
   at PRLauncher.WPF.ViewModel.Pages.LoginPageViewModel.n.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
Can someone help me? I tried reinstall it 3x but its still the same error
Layzdz is offline Reply With Quote
Old 2020-07-29, 08:45   #2
[R-DEV]Mats391
PR:BF2 Lead Developer
Supporting Member
PR Server License Administrator

Mats391's Avatar
Default Re: Critical Error (help)

What operating system are you using?

Mineral: TIL that Wire-guided missiles actually use wire
Mats391 is offline Reply With Quote
Old 2020-07-31, 02:28   #3
Layzdz
Default Re: Critical Error (help)

i use 64 bit
Layzdz is offline Reply With Quote
Old 2020-07-31, 05:26   #4
[R-DEV]Mats391
PR:BF2 Lead Developer
Supporting Member
PR Server License Administrator

Mats391's Avatar
Default Re: Critical Error (help)

Quote:
Originally Posted by Layzdz View Post
i use 64 bit
Windows XP, 7, 8, 10???

Mineral: TIL that Wire-guided missiles actually use wire
Mats391 is offline Reply With Quote
Old 2020-07-31, 05:46   #5
Layzdz
Default Re: Critical Error (help)

windows 10
Layzdz is offline Reply With Quote
Old 2020-07-31, 06:54   #6
[R-DEV]Mats391
PR:BF2 Lead Developer
Supporting Member
PR Server License Administrator

Mats391's Avatar
Default Re: Critical Error (help)

Weird. Try reinstalling .net Framework 4.6 or 4.7.2. Never seen this error on Win10, only on Win XP

Mineral: TIL that Wire-guided missiles actually use wire
Mats391 is offline Reply With Quote
Old 2020-08-01, 07:45   #7
Layzdz
Default Re: Critical Error (help)

it doesn't work reinstalling .net framework it still has the same error
Layzdz is offline Reply With Quote
Old 2020-08-01, 08:38   #8
[R-DEV]​AlonTavor
PR:BF2 Developer
PR Server License Administrator
Default Re: Critical Error (help)

Open "Color Management" in windows, go to advanced, and set everything to default.
AlonTavor is offline Reply With Quote
Old 2021-05-26, 14:29   #9
Sd_Reis
Default Re: Critical Error (help)

Quote:
Originally Posted by AlonTavor View Post
Open "Color Management" in windows, go to advanced, and set everything to default.
Mine has the same error.
Sd_Reis is offline Reply With Quote
Old 2021-05-26, 15:12   #10
[R-DEV]​AlonTavor
PR:BF2 Developer
PR Server License Administrator
Default Re: Critical Error (help)

Go to Color Management -> Advanced and take a screenshot
AlonTavor is offline Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT. The time now is 02:05.