1
Vote

Crash in standard account on Win7 64b

description

Trying to open Better Explorer (june 2 version) in a non-Administrator account on a Win 7 64 bits PC, I get a crash with the message:
"There was exception in startup procedure !" ...
 
and then, in a next panel,
 
"An error occurred when trying to load theme data from the Registry" ....
(RibbonTheme error: System.NullReferenceException)
 
Trying in the same account, to run BetterExplorer "as administrator", I only get the first error message, but still Better Explorer cannot be opened.

comments

jacobrh94 wrote Jun 4, 2012 at 5:00 AM

That is very weird...

Okay, here's where the error is caused:
  1. The "There was exception in startup procedure" error (obviously put in by Dimitar due to the bad grammar... lol) was caused by one of two things: BetterExplorer is having trouble checking to see if it is already open, which would be the first instance of this ever happening. Otherwise, it is having a hard time loading the locale data in Windows Registry, which tells BetterExplorer which language to load in.
  2. The "An error occurred when trying to load theme data from the Registry" issue means exactly what it said. However, it's the System.NullReferenceException that intruigues me...
Here's what I think you should do (if you're able to): Open the Windows Registry. (Open the Start menu and type in regedit and hit Enter.) If a warning message appears, click Yes, unless it needs an administrator's approval... If you can get that, then do so.

Afterwards, if you can get into Windows Registry, open the HKEY_CURRENT_USER folder, and then open the Software folder, and look for a folder called "BExplorer". If this folder does not exist, let me know. If it does exist, can you take a picture of the stuff that appears on the right side when you click on the folder?

JaykeBird

Kiralamure wrote Jun 4, 2012 at 6:01 PM

I've retested with version 91233. -> same crash in a non-administrator account.

In the administrator account, I do have a BExplorer folder with several keys in the Registry.
In the non-administrator account, there is no Bexplorer folder in the Registry.

=> the problem may be related to the fact that the registry is not modified at run-time when you are in a non-administrator account.

Regards

jacobrh94 wrote Jun 5, 2012 at 2:23 AM

The problem is due to the fact that there is no BExplorer folder. I would create a BExplorer folder for the non-administrator account, try running BExplorer and seeing what it does, and if it fails, let me know, because some values might need to be pre-set (but I don't know which yet).

JaykeBird

DimitarCC wrote Jun 5, 2012 at 4:28 AM

well that is due to the fact the installer set up the reg values only for current account. So if you have been installed the Bexplorer in your admin account and then try to run on restricted account it will not work. we will see can we make reg value to be auto added on first execute.

jacobrh94 wrote Jun 5, 2012 at 5:07 AM

That is true, Dimitar. I did not think of that.

In that case, it might be a good idea to re-install BetterExplorer on the non-administrator account.

JaykeBird

neugrek wrote Jul 12, 2012 at 3:27 PM

The project has entirely moved to GitHub.
https://github.com/DimitarCC/BetterExplorer


BettereExplorer on CodePlex will be abandonned soon or later...
No more updates will be added here.