Launch fail to start and mouse still spinning.

Help and support regarding PR:BF2 installation and in-game issues
Post Reply
viclamota
Posts: 4
Joined: 2012-02-11 18:41

Launch fail to start and mouse still spinning.

Post by viclamota »

Hi guys i dont know what happen but my launcher give me this isssues when started, mouse spinning ( loadtime ) and crash.

Here is my log, i appreciate if peoples can help me.

Code: Select all

Project Reality Log File
PRLauncher.exe started at: 2014-04-10T00:07:19

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:

[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.TypeInitializationException: The type initializer for 'System.Windows.Automation.Peers.AutomationPeer' threw an exception. ---> System.TypeInitializationException: The type initializer for 'System.Windows.Automation.InvokePatternIdentifiers' threw an exception. ---> System.DllNotFoundException: Unable to load DLL 'UIAutomationCore.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
   at MS.Internal.Automation.UiaCoreTypesApi.RawUiaLookupId(AutomationIdType type, Guid& guid)
   at System.Windows.Automation.AutomationIdentifier.Register(AutomationIdType type, Guid guid, String programmaticName)
   at System.Windows.Automation.InvokePatternIdentifiers..cctor()
   --- End of inner exception stack trace ---
   at System.Windows.Automation.Peers.AutomationPeer.Initialize()
   at System.Windows.Automation.Peers.AutomationPeer..cctor()
   --- End of inner exception stack trace ---
   at System.Windows.Automation.Peers.AutomationPeer.RaiseFocusChangedEventHelper(IInputElement newFocus)
   at System.Windows.Input.KeyboardDevice.ChangeFocus(DependencyObject focus, Int32 timestamp)
   at System.Windows.Input.KeyboardDevice.Focus(DependencyObject focus, Boolean askOld, Boolean askNew, Boolean forceToNullIfFailed)
   at System.Windows.Input.KeyboardDevice.Focus(IInputElement element)
   at System.Windows.Interop.HwndKeyboardInputProvider.OnSetFocus(IntPtr hwnd)
   at System.Windows.Interop.HwndKeyboardInputProvider.FilterMessage(IntPtr hwnd, WindowMessage message, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at System.Windows.Interop.HwndSource.InputFilterMessage(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.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at 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: Launch fail to start and mouse still spinning.

Post by LITOralis.nMd »

Hello,

Could you please post your system specs:
Open PRLauncher->Support button->Copy to Clipboard button, .. then paste everything to this thread.

You are missing a specific file from the .NET framework.
UIAutomationCore.dll
I would recommend a re-install of .NET framework.

This happens most often to people who have Microsoft Flight Simulator 2012, 2014 and FlightSim X installed on their systems, those games had a bug which required you to move that particular file UIAutomationCore.dll to another location to get FlightSim to run.

I need to know if you have Windows7 32 bit, or Windows 7 64 bit, before I can give you further help.
LITOralis.nMd
Retired PR Developer
Posts: 5658
Joined: 2010-04-10 16:15

Re: Launch fail to start and mouse still spinning.

Post by LITOralis.nMd »

Someone else had the same problem recently,
He had windows 7 64 bit,

here is the thread with the solution:

https://www.realitymod.com/forum/f27-pr ... ost1979733
viclamota
Posts: 4
Joined: 2012-02-11 18:41

Re: Launch fail to start and mouse still spinning.

Post by viclamota »

I already follow your instructions before create the topic and no working, my launcher dont open when i double click in icon, .NET Framework 4.5.1 is installed and i copy your file for System32, but still dont open the launcher. :sad:

I really dont want reinstall my BF2 because i dont have my cd key anymore, i have windows 7 64bits.


thank you for help.
LITOralis.nMd
Retired PR Developer
Posts: 5658
Joined: 2010-04-10 16:15

Re: Launch fail to start and mouse still spinning.

Post by LITOralis.nMd »

I think you'll need to re-register this .DLL with WIndows,

here is a copy of my file,
https://www.dropbox.com/s/euuzfgfh04we8 ... onCore.dll
Download this to your C:\ directory.

Next You need to register this DLL.

1. Run an ELEVATED Command Prompt:
Elevated Command Prompt - Windows 7 Help Forums

2. change directory to C:\

3. then type:

Code: Select all

regsvr32 UIAutomationCore.dll
This should register the .DLL with Windows again.

Reboot.

Test PR.
viclamota
Posts: 4
Joined: 2012-02-11 18:41

Re: Launch fail to start and mouse still spinning.

Post by viclamota »

Hey lito i follow all steps and still with same issues, after make all steps a msg says " successful register in your sistem " i reboot my desktop and try again but still no working, if can i help more with logs or other thing let me now.

Here is a log of another aplication give me issues about this DLL, this log is when i try to start PLAYSIX for arma 3 and happen same thing, mouse spinning of 3 or 4 minutes and launcher close.

Image[/IMG]

one more time thank you so much help me.
LITOralis.nMd
Retired PR Developer
Posts: 5658
Joined: 2010-04-10 16:15

Re: Launch fail to start and mouse still spinning.

Post by LITOralis.nMd »

Reinstall .NET framework 4.5.1

I do not know why you're having this problem, I don't have any experience with this particular problem.
viclamota
Posts: 4
Joined: 2012-02-11 18:41

Re: Launch fail to start and mouse still spinning.

Post by viclamota »

[R-COM]LITOralis.nMd wrote:Reinstall .NET framework 4.5.1

I do not know why you're having this problem, I don't have any experience with this particular problem.
Thank you for support, i will try repair windows with my CD... hope works :(
Post Reply

Return to “PR:BF2 Support”