Page 1 of 4

Couldn't find cmdlet.cache after upgrade to 3.1.9

Posted: Thu Oct 11, 2012 8:39 pm
by arjanbroeke
I've upgraded my 3.0.8 PS Studio to 3.1.9 and receive the following messages, everytime I start the PS Studio on Win7 x64:

>> Building V20 64 Bit Information...
>> Please allow a few minutes for the caching to complete.
>> Completed V20 64 Bit Information
>> Building V20 32 Bit Information...
>> Please allow a few minutes for the caching to complete.
Could not find file 'C:ProgramDataSAPIENCachedData 2012Local MachinePowerShell64V20.Cmdlet.Cache'.
>> Completed V20 32 Bit Information
Could not find file 'C:ProgramDataSAPIENCachedData 2012Local MachinePowerShell32V20.Cmdlet.Cache'.


When I start the Studio on Win8 I receive the following everytime I start:

>> Building V2 64 Bit Information...
>> Please allow a few minutes for the caching to complete.
>> Completed V2 64 Bit Information
>> Building V2 32 Bit Information...
>> Please allow a few minutes for the caching to complete.
Could not find file 'C:ProgramDataSAPIENCachedData 2012Local MachinePowerShell64V2.Cmdlet.Cache'.
>> Completed V2 32 Bit Information
Could not find file 'C:ProgramDataSAPIENCachedData 2012Local MachinePowerShell32V2.Cmdlet.Cache'.


Cheers,
Arjan

Couldn't find cmdlet.cache after upgrade to 3.1.9

Posted: Thu Oct 11, 2012 8:42 pm
by Alexander Riedel
Can you please verify that it says V20 in one case and V2 in the other?
Also, please go to the folder and check what files are actually there.
Thanks!

Couldn't find cmdlet.cache after upgrade to 3.1.9

Posted: Thu Oct 11, 2012 8:52 pm
by arjanbroeke
Hi Alexander,

I've the following files in the Win7 machine:
PowerShell32V2.Alias.Cache
PowerShell32V2.Cmdlet.Cache
PowerShell32V2.Modules.Cache
PowerShell32V2.Snapins.Cache
PowerShell32V2.Syntax.Cache
PowerShell64V2.Alias.Cache
PowerShell64V2.Cmdlet.Cache
PowerShell64V2.Modules.Cache
PowerShell64V2.Snapins.Cache
PowerShell64V2.Syntax.Cache

on the Win8 machine I've the following:
PowerShell32V3.Alias.Cache
PowerShell32V3.Cmdlet.Cache
PowerShell32V3.Modules.Cache
PowerShell32V3.Snapins.Cache
PowerShell32V3.Syntax.Cache
PowerShell64V3.Alias.Cache
PowerShell64V3.Cmdlet.Cache
PowerShell64V3.Modules.Cache
PowerShell64V3.Snapins.Cache
PowerShell64V3.Syntax.Cache

Cheers,
Arjan

Couldn't find cmdlet.cache after upgrade to 3.1.9

Posted: Fri Oct 12, 2012 12:50 am
by rtiel1
I've the same problem, same error on Win7 x64 including powershell 2.0 and a computer including Win7 x64 with powershell 3.0.

Remco

Couldn't find cmdlet.cache after upgrade to 3.1.9

Posted: Fri Oct 12, 2012 12:54 am
by Alexander Riedel
We will look into it today.

Couldn't find cmdlet.cache after upgrade to 3.1.9

Posted: Fri Oct 12, 2012 4:27 am
by davidc
Arjan, on the Win7 x64 machine please post the value of the following registry keys:

HKEY_LOCAL_MACHINESOFTWAREMicrosoftPowerShell1PowerShellEnginePowerShellVersion

HKEY_LOCAL_MACHINESOFTWAREMicrosoftPowerShell3PowerShellEnginePowerShellVersion

Thank you,

David

Couldn't find cmdlet.cache after upgrade to 3.1.9

Posted: Fri Oct 12, 2012 6:11 am
by virusexpert
I have the same Issue.

My values are:
1 2.0
3 3.0

Windows 7 SP1 64-bit

Couldn't find cmdlet.cache after upgrade to 3.1.9

Posted: Fri Oct 12, 2012 6:35 am
by davidc
virusexpert did you get a "V20" message instead of "V2" as well? Or did it just fail to load?

David

Couldn't find cmdlet.cache after upgrade to 3.1.9

Posted: Fri Oct 12, 2012 6:49 am
by arjanbroeke
Hi David,

win7 : 2.0
win8 : 3.0

Cheers,
Arjan

Couldn't find cmdlet.cache after upgrade to 3.1.9

Posted: Fri Oct 12, 2012 6:54 am
by davidc
One more question Arjan,

Does this machine have another Culture / Language set other then English?

David