an unhandled exception has occured

Help and support regarding PR:BF2 installation and in-game issues
Post Reply
tarik
Posts: 1
Joined: 2018-12-27 21:57

an unhandled exception has occured

Post by tarik »

I've read all the help topics but nothing so far.

Image

Code: Select all

Project Reality Log File
PRLauncher.exe started at: 2018-12-28T21:14:32

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

O valor fornecido em 'System.Windows.Baml2006.TypeConverterMarkupExtension' iniciou uma exceção.

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: O valor fornecido em 'System.Windows.Baml2006.TypeConverterMarkupExtension' iniciou uma exceção. ---> System.MissingMethodException: Método não encontrado: 'Void System.Diagnostics.Tracing.FrameworkEventSource.BeginGetResponse(System.Object, System.String)'.
   em System.Net.FileWebRequest.BeginGetResponse(AsyncCallback callback, Object state)
   em System.Net.FileWebRequest.GetResponse()
   em MS.Internal.WpfWebRequestHelper.GetResponse(WebRequest request)
   em System.Windows.Media.ColorContext.Initialize(Uri profileUri, Boolean isStandardProfileUriNotFromUser)
   em System.Windows.Media.ColorContext..ctor(PixelFormat pixelFormat)
   em System.Windows.Media.Imaging.BitmapSource.CreateCachedBitmap(BitmapFrame frame, BitmapSourceSafeMILHandle wicSource, BitmapCreateOptions createOptions, BitmapCacheOption cacheOption, BitmapPalette palette)
   em System.Windows.Media.Imaging.BitmapFrameDecode.FinalizeCreation()
   em System.Windows.Media.Imaging.BitmapDecoder.SetupFrames(BitmapDecoder decoder, ReadOnlyCollection`1 frames)
   em System.Windows.Media.Imaging.BitmapDecoder.get_Frames()
   em System.Windows.Media.Imaging.BitmapFrame.CreateFromUriOrStream(Uri baseUri, Uri uri, Stream stream, BitmapCreateOptions createOptions, BitmapCacheOption cacheOption, RequestCachePolicy uriCachePolicy)
   em System.Windows.Media.ImageSourceConverter.ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, Object value)
   em MS.Internal.Xaml.Runtime.ClrObjectRuntime.CallProvideValue(MarkupExtension me, IServiceProvider serviceProvider)
   --- Fim do rastreamento de pilha de exceções internas ---
   em System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri)
   em System.Windows.Markup.WpfXamlLoader.LoadBaml(XamlReader xamlReader, Boolean skipJournaledProperties, Object rootObject, XamlAccessLevel accessLevel, Uri baseUri)
   em System.Windows.Markup.XamlReader.LoadBaml(Stream stream, ParserContext parserContext, Object parent, Boolean closeStream)
   em -.m..ctor()
   em -.f.a()
   em -.f.OnStartup(StartupEventArgs a)
   em System.Windows.Application.<.ctor>b__1(Object unused)
   em System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   em MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
LITOralis.nMd
Retired PR Developer
Posts: 5658
Joined: 2010-04-10 16:15

Re: an unhandled exception has occured

Post by LITOralis.nMd »

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
Let me know if this is installed.
Post Reply

Return to “PR:BF2 Support”