Page 1 of 1

Difficulties Downloading, Installing, and running PR:BF2

Posted: 2020-08-08 16:37
by wiseman738
Good Afternoon,

I have had significant issues installing the mod despite multiple attempts. I'll try and lay everything out as best I can below. Please be warned, in regards to technical language i'm a bit of a lay man.

Currently Project Reality is installed in a read-only folder on my C drive (SSD), I have given it permissions in the firewall and whitelisted it, and yet when I run I receive the message 'Error, Access is denied'. When I run as administrator the game simply freezes on start up.

My directory path is: "C:\Program Files (x86)\Project Reality\Project Reality BF2\mods\pr\bin\PRLauncherLogin.exe" "%1"

Regarding the error, this is what the log has to say:

"

Code: Select all

Project Reality Log File
PRLauncher.exe started at: 2020-08-08T17:28:37

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

Access is denied.


[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/forumdisplay.php?f=27]Visit Support Forum[/url]

 > System.Security.Cryptography.CryptographicException: Access is denied.

   at System.Security.Cryptography.ProtectedData.Protect(Byte[] userData, Byte[] optionalEntropy, DataProtectionScope scope)
   at ?.(Object )
   at ?.(MethodBase , Boolean )
   at ?.?(? , ? )
   at ?.()
   at ?.?(Boolean )
   at ?.(Object )
   at ?.()
   at ?.(Object , UInt32 )
   at ?.?(Boolean )
   at ?.?()
   at ?.(Object[] , Type[] , Type[] , Object[] )
   at ?.(Stream , String , Object[] , Type[] , Type[] , Object[] )
   at ?.(Stream , String , Object[] )
   at Reality.Utils.DataProtection.Protect(String , DataProtectionScope )
   at PRLauncher.WPF.ViewModel.Pages.LoginPageViewModel.o.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)
"

I'm operating on Windows 7 (64 bit(, 16 gig ram, GTX 660 Nvidia graphics card, and am using Malwarebytes and Windows' own antivirus.

Also, during my attempts to reinstall, I tried Project Reality's Download assistant but it would freeze and fade to white at around 33%, despite me saying yes to a pop up which happened every time in regards to permissions. I also noticed that when using it, there were multiple instances in my task manager, and have a list of about 20 different "PR:BF2" download managers in the permissions lists. This is by no means a complaint, merely an observation. I love the mod, and very much look forward to running it again when possible.

I hope this ticket has been filled out ok, I will promptly answer questions and requests regarding more information to the best of my ability.

Best regards and thank you,
Wiseman738.

PS: I ran a search looking for similar issues and applied fixes (such as whitelisting the program) which I thought might work but nothing has availed me of this issue so far.

Re: Difficulties Downloading, Installing, and running PR:BF2

Posted: 2020-08-08 16:45
by AlonTavor
Disable Malwarebytes?

Re: Difficulties Downloading, Installing, and running PR:BF2

Posted: 2020-08-08 16:51
by wiseman738
Good Afternoon AlonTavor,

Thank you for your rapid reply.

I disabled Malwarebytes but the following message came up:

Code: Select all

Project Reality Log File
PRLauncher.exe started at: 2020-08-08T17:49:05

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

Access is denied.


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/forumdisplay.php?f=27]Visit Support Forum[/url]

 > System.Security.Cryptography.CryptographicException: Access is denied.

   at System.Security.Cryptography.ProtectedData.Protect(Byte[] userData, Byte[] optionalEntropy, DataProtectionScope scope)
   at ?.(Object )
   at ?.(MethodBase , Boolean )
   at ?.?(? , ? )
   at ?.()
   at ?.?(Boolean )
   at ?.(Object )
   at ?.()
   at ?.(Object , UInt32 )
   at ?.?(Boolean )
   at ?.?()
   at ?.(Object[] , Type[] , Type[] , Object[] )
   at ?.(Stream , String , Object[] , Type[] , Type[] , Object[] )
   at ?.(Stream , String , Object[] )
   at Reality.Utils.DataProtection.Protect(String , DataProtectionScope )
   at PRLauncher.WPF.ViewModel.Pages.LoginPageViewModel.o.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)

Sorry to be such a pain. It doesn't have anything to do with the fact that the files within my C drive are read only is it?

Best regards and cheers for the assistance,
Wiseman738

Re: Difficulties Downloading, Installing, and running PR:BF2

Posted: 2020-08-08 18:27
by AlonTavor
The My Documents folder should not be read-only, but this error is probably unrelated.

We use a Windows service to encrypt your login token (used by the "Remember me" thing), so if that file gets stolen its useless outside your machine. I googled this error (which is related to this service) and someone mentioned he has seen it fail on Win7 when the Windows User does not have a password set.

Also it might work if you don't tick "Remember me", but I don't remember if we use that anywhere else.

Re: Difficulties Downloading, Installing, and running PR:BF2

Posted: 2020-08-08 18:32
by wiseman738
Sir you are a genius! :D

That worked a treat! I set myself a password for my windows account AND unticked the 'remember me' box, and boom, i'm sitting in the menu! For now, i'm going to hop straight into combat!

If there are any further issues i'll make a separate ticket.

Thank you so much! Sometimes working support can be a thankless job but you've just made this guy a very, very happy man!

Best regards and take care :)
Wiseman738

Re: Difficulties Downloading, Installing, and running PR:BF2

Posted: 2020-08-08 21:44
by AlonTavor
For science, can you check if it "Remember Me" works with the windows password set?

Re: Difficulties Downloading, Installing, and running PR:BF2

Posted: 2020-08-08 21:54
by wiseman738
Hey mate! Sorry for the delay!

I tried it but got the access is denied error.

Looks like a similar/identical message:


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

Access is denied.


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.

Visit Support Forum

> System.Security.Cryptography.CryptographicException: Access is denied.

at System.Security.Cryptography.ProtectedData.Protect(Byte[] userData, Byte[] optionalEntropy, DataProtectionScope scope)
at ?.(Object )
at ?.(MethodBase , Boolean )
at ?.?(? , ? )
at ?.()
at ?.?(Boolean )
at ?.(Object )
at ?.()
at ?.(Object , UInt32 )
at ?.?(Boolean )
at ?.?()
at ?.(Object[] , Type[] , Type[] , Object[] )
at ?.(Stream , String , Object[] , Type[] , Type[] , Object[] )
at ?.(Stream , String , Object[] )
at Reality.Utils.DataProtection.Protect(String , DataProtectionScope )
at PRLauncher.WPF.ViewModel.Pages.LoginPageViewModel.o.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)
[/code]

Best regards,
Wise. :)