project reality header
Go Back   Project Reality Forums > Project Reality Support > PR:BF2 Support
12 Sep 2024, 00:00:00 (PRT)
Register Developer Blogs Members List Search Quick Links
PR:BF2 Support Help and support regarding PR:BF2 installation and in-game issues

Reply
 
Thread Tools Display Modes
Old 2023-04-07, 13:42   #1
Pertamax
Default I Had This Windows Problem

Hello guys so i had this windows problem like this anywone can help?


PRLauncher.exe started at: 2023-04-07T20:19:55

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

The type initializer for 'System.Windows.Automation.Peers.AutomationPeer' threw an exception.

Further details can be found in the following file:

E:\project reality\mods\pr\bin\PRLauncher.log

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

Visit Support Forum

> System.TypeInitializationException: The type initializer for 'System.Windows.Automation.Peers.AutomationPeer' threw an exception. ---> System.BadImageFormatException: Could not load file or assembly 'UIAutomationProvider, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The module was expected to contain an assembly manifest.
at System.Windows.Automation.Peers.AutomationPeer.Ini tialize()
at System.Windows.Automation.Peers.AutomationPeer..cc tor()
--- End of inner exception stack trace ---
at System.Windows.Automation.Peers.AutomationPeer.Rai seFocusChangedEventHelper(IInputElement newFocus)
at System.Windows.Input.KeyboardDevice.ChangeFocus(De pendencyObject focus, Int32 timestamp)
at System.Windows.Input.KeyboardDevice.TryChangeFocus (DependencyObject newFocus, IKeyboardInputProvider keyboardInputProvider, Boolean askOld, Boolean askNew, Boolean forceToNullIfFailed)
at System.Windows.Input.KeyboardDevice.Focus(Dependen cyObject focus, Boolean askOld, Boolean askNew, Boolean forceToNullIfFailed)
at System.Windows.Input.KeyboardDevice.Focus(IInputEl ement element)
at System.Windows.Interop.HwndKeyboardInputProvider.O nSetFocus(IntPtr hwnd)
at System.Windows.Interop.HwndKeyboardInputProvider.F ilterMessage(IntPtr hwnd, WindowMessage message, IntPtr wParam, IntPtr lParam, Boolean& handled)
at System.Windows.Interop.HwndSource.InputFilterMessa ge(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation( Object o)
at System.Windows.Threading.ExceptionWrapper.Internal RealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatch When(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
>> System.BadImageFormatException: Could not load file or assembly 'UIAutomationProvider, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The module was expected to contain an assembly manifest.
File name: 'UIAutomationProvider, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
at System.Windows.Automation.Peers.AutomationPeer.Ini tialize()
at System.Windows.Automation.Peers.AutomationPeer..cc tor()
Pertamax is offline Reply With Quote
Old 2023-04-07, 14:42   #2
[R-COM]PvtNewb
Support Technician
PR Server License Moderator

PvtNewb's Avatar
Default Re: I Had This Windows Problem

Install dotnet 4.7.2 runtime https://dotnet.microsoft.com/en-us/d...amework/net472

PvtNewb is offline Reply With Quote
Old 2023-04-08, 07:03   #3
Pertamax
Default Re: I Had This Windows Problem

sorry but it's said i already installed it
image ru
Pertamax is offline Reply With Quote
Old 2023-04-08, 20:01   #4
[R-DEV]Mats391
PR:BF2 Lead Developer
Supporting Member
PR Server License Administrator

Mats391's Avatar
Default Re: I Had This Windows Problem

Please share your dxdiag info with us https://support.microsoft.com/en-us/...7-bf92228dfd85

Mineral: TIL that Wire-guided missiles actually use wire
Mats391 is offline Reply With Quote
Old 2023-04-09, 07:46   #5
Pertamax
Default Re: I Had This Windows Problem

Quote:
Originally Posted by Mats391 View Post
Please share your dxdiag info with us https://support.microsoft.com/en-us/...7-bf92228dfd85
here's my dxdiag info

[IMG]



[/IMG]



Pertamax is offline Reply With Quote
Old 2023-04-09, 08:24   #6
[R-DEV]Mats391
PR:BF2 Lead Developer
Supporting Member
PR Server License Administrator

Mats391's Avatar
Default Re: I Had This Windows Problem

Did you do a fresh install of PR or copy some existing installation?

Mineral: TIL that Wire-guided missiles actually use wire
Mats391 is offline Reply With Quote
Old 2023-04-13, 12:36   #7
Pertamax
Default Re: I Had This Windows Problem

yeah from the fresh installation i'm download it using torrent is it possible if my files get corrupted?
Pertamax is offline Reply With Quote
Old 2023-06-03, 14:16   #8
Pertamax
Default Re: I Had This Windows Problem

i'm actually already redownload the files and installed it again but the issue still poping up im really confused right now. i already chek everything microsoft net, visual, direct x all of the things that need to played but still not working also
Pertamax is offline Reply With Quote
Old 2023-06-05, 11:43   #9
[R-DEV]Mats391
PR:BF2 Lead Developer
Supporting Member
PR Server License Administrator

Mats391's Avatar
Default Re: I Had This Windows Problem

Can you verify the UIAutomationProvider.dll exists and is correct? Just search for it on your boot drive where you installed windows (usually C:\).
Something is broken on your system.

You can also try this to repair your .net Framework and see if it helps: https://learn.microsoft.com/en-us/do...install/repair
Lastly you can try downloading the latest .net Framework and install that: https://dotnet.microsoft.com/en-us/d...tnet-framework

Mineral: TIL that Wire-guided missiles actually use wire
Mats391 is offline Reply With Quote
Reply


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 18:12.