Sign in with
Sign up | Sign in
Your question

0x80073712 - ERROR_SXS_COMPONENT_STORE_CORRUPT - Windows 7 Ultimate x6

Last response: in Windows 7
Share
December 16, 2011 7:16:32 PM

Windows 7 Ultimate x64 SP1 – Version 6.1.7601 (from ver).



My first indication of a problem occurred when I tried to add a Windows Feature (Control Panel->Programs->Turn Windows features on or off). I was presented with the dreaded blank box (no text at all).

Over the past 2 months, I have scoured the Internet looking for a solution. I have found many similar posts, with 4-5 enumerating the exact same error code and behavior I’m encountering. All those threads eventually end with no resolution (except for those who opt to switch to Linux or Apple).

I have also been on the phone with MS Customer Support many times, spanning many hours—all to no avail.



Steps I have taken more times than I like to admit:



1) CheckSUR – always fails with ‘CSI Unable to Query Store Version 0x00000002. From CheckSUR.log:

=================================

Checking System Update Readiness.

Binary Version 6.1.7601.21645

Package Version 13.0

2011-12-15 21:02

Checking Windows Servicing Packages

Checking Package Manifests and Catalogs

Checking Package Watchlist

Checking Component Watchlist

Checking Packages

(f) CSI Unable to Query Store Version 0x00000002

Summary:

Seconds executed: 38

Found 1 errors

CSI Unable to Query Store Version Total count: 1



2) sfc /scannow – Always returns ‘Windows Resource Protection could not perform the requested operation.’



3) Inplace Upgrade – Always fails at ‘Gathering files, settings, and programs.’ Always at 0% complete.

I get a box with the dreaded red ‘X’ in a circle, with the following text: ‘Setup cannot continue. Restart the computer and restart Setup. When prompted, try getting the latest updates.’

I have tried both ‘getting the latest updates’, and skipping them (MS Customer Support suggested the latter).



4) In all cases, when I check the CBS.log file, at the very least I get the following:

2011-12-15 21:12:42, Info CBS Failed to get CSI store. [HRESULT = 0x80073712 - ERROR_SXS_COMPONENT_STORE_CORRUPT]

2011-12-15 21:12:42, Error CBS Failed to initialize store parameters with boot drive: and windows directory: [HRESULT = 0x80073712 - ERROR_SXS_COMPONENT_STORE_CORRUPT]



Other times, I get:

2011-12-15 21:02:53, Info CBS Failed to get CSI store. [HRESULT = 0x80073712 - ERROR_SXS_COMPONENT_STORE_CORRUPT]

2011-12-15 21:02:53, Error CBS Failed to initialize store parameters with boot drive: and windows directory: [HRESULT = 0x80073712 - ERROR_SXS_COMPONENT_STORE_CORRUPT]

2011-12-15 21:02:53, Info CSI 00000306 No store version format found; DLL store format 0.0.0.6

2011-12-15 21:02:53, Error CSI 00000307@2011/12/16:05:02:53.319 (F) d:\win7sp1_gdr\base\wcp\componentstore\storelayout.cpp(6636): Error STATUS_SXS_COMPONENT_STORE_CORRUPT originated in function ComponentStore::CRawStoreLayout:: OpenCanonicalDataKey expression: (null)



Occasionally I get:

2011-12-15 16:53:42, Info CBS Failed to get CSI store. [HRESULT = 0x80073712 - ERROR_SXS_COMPONENT_STORE_CORRUPT]

2011-12-15 16:53:42, Error CBS Failed to initialize store parameters with boot drive: and windows directory: [HRESULT = 0x80073712 - ERROR_SXS_COMPONENT_STORE_CORRUPT]

2011-12-15 17:03:42, Info CBS Reboot mark refs incremented to: 1

2011-12-15 17:03:42, Info CBS Scavenge: Starts

2011-12-15 17:03:42, Info CSI 0000020a No store version format found; DLL store format 0.0.0.6

2011-12-15 17:03:42, Error CSI 0000020b@2011/12/16:01:03:42.097 (F) d:\win7sp1_gdr\base\wcp\componentstore\storelayout.cpp(6636): Error STATUS_SXS_COMPONENT_STORE_CORRUPT originated in function ComponentStore::CRawStoreLayout:: OpenCanonicalDataKey expression: (null)

[gle=0x80004005]

2011-12-15 17:03:42, Info CBS Scavenge: Failed to get CSI store for scavenging. [HRESULT = 0x80073712 - ERROR_SXS_COMPONENT_STORE_CORRUPT]

2011-12-15 17:03:42, Info CBS Warning: Failed to scavenge CSI store. [HRESULT = 0x80073712 - ERROR_SXS_COMPONENT_STORE_CORRUPT]

2011-12-15 17:03:42, Info CBS Reboot mark refs: 0

2011-12-15 17:03:42, Info CBS Warning: Failed while executing service idle processing. [HRESULT = 0x80073712 - ERROR_SXS_COMPONENT_STORE_CORRUPT]

2011-12-15 17:03:42, Info CBS Warning: Failed to execute service idle processing. Error code: 0X80073712 [HRESULT = 0x80073712 - ERROR_SXS_COMPONENT_STORE_CORRUPT]

2011-12-15 17:03:42, Info CBS Idle processing thread terminated normally

2011-12-15 17:03:42, Info CBS Ending the TrustedInstaller main loop.

2011-12-15 17:03:42, Info CBS Starting TrustedInstaller finalization.

2011-12-15 17:03:42, Info CBS Ending TrustedInstaller finalization.

2011-12-15 17:53:35, Info CBS Starting TrustedInstaller initialization.

2011-12-15 17:53:35, Info CBS Loaded Servicing Stack v6.1.7601.17592 with Core: C:\Windows\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_6.1.7601.17592_none_672ce6c3de2cb17f\cbscore.dll

2011-12-15 17:53:35, Info CSI 00000001@2011/12/16:01:53:35.976 WcpInitialize (wcp.dll version 0.0.0.6) called (stack @0x7fee94bf0ad @0x7feebe59849 @0x7feebe234e3 @0xff29e97c @0xff29d799 @0xff29db2f)

2011-12-15 17:53:35, Info CSI 00000002@2011/12/16:01:53:35.980 WcpInitialize (wcp.dll version 0.0.0.6) called (stack @0x7fee94bf0ad @0x7feebea6816 @0x7feebe72aac @0x7feebe235b9 @0xff29e97c @0xff29d799)

2011-12-15 17:53:35, Info CSI 00000003@2011/12/16:01:53:35.980 WcpInitialize (wcp.dll version 0.0.0.6) called (stack @0x7fee94bf0ad @0x7fef0ea8738 @0x7fef0ea8866 @0xff29e474 @0xff29d7de @0xff29db2f)

2011-12-15 17:53:35, Info CBS Ending TrustedInstaller initialization.

2011-12-15 17:53:35, Info CBS Starting the TrustedInstaller main loop.

2011-12-15 17:53:35, Info CBS TrustedInstaller service starts successfully.

2011-12-15 17:53:35, Info CBS SQM: Initializing online with Windows opt-in: True

2011-12-15 17:53:35, Info CBS SQM: Cleaning up report files older than 10 days.

2011-12-15 17:53:35, Info CBS SQM: Requesting upload of all unsent reports.

2011-12-15 17:53:35, Info CBS SQM: Queued 0 file(s) for upload with pattern: C:\Windows\servicing\sqm\*_std.sqm, flags: 0x2

2011-12-15 17:53:35, Info CBS SQM: Queued 0 file(s) for upload with pattern: C:\Windows\servicing\sqm\*_all.sqm, flags: 0x6

2011-12-15 17:53:35, Info CBS No startup processing required, TrustedInstaller service was not set as autostart, or else a reboot is still pending.

2011-12-15 17:53:35, Info CBS NonStart: Checking to ensure startup processing was not required.

2011-12-15 17:53:35, Info CSI 00000004 No store version format found; DLL store format 0.0.0.6

2011-12-15 17:53:35, Error CSI 00000005@2011/12/16:01:53:35.988 (F) d:\win7sp1_gdr\base\wcp\componentstore\storelayout.cpp(6636): Error STATUS_SXS_COMPONENT_STORE_CORRUPT originated in function ComponentStore::CRawStoreLayout:: OpenCanonicalDataKey expression: (null)

[gle=0x80004005]

2011-12-15 17:53:36, Info CBS NonStart: Failed to get store. [HRESULT = 0x80073712 - ERROR_SXS_COMPONENT_STORE_CORRUPT]

2011-12-15 17:53:36, Info CBS Failed to ensure no startup processing was required. [HRESULT = 0x80073712 - ERROR_SXS_COMPONENT_STORE_CORRUPT]

2011-12-15 17:53:36, Info CBS Failed during startup processing, continuing with Trusted Installer execution [HRESULT = 0x80073712 - ERROR_SXS_COMPONENT_STORE_CORRUPT]

2011-12-15 17:53:36, Info CBS Startup processing thread terminated normally

2011-12-15 17:53:36, Info CSI 00000006 No store version format found; DLL store format 0.0.0.6

2011-12-15 17:53:36, Error CSI 00000007@2011/12/16:01:53:36.133 (F) d:\win7sp1_gdr\base\wcp\componentstore\storelayout.cpp(6636): Error STATUS_SXS_COMPONENT_STORE_CORRUPT originated in function ComponentStore::CRawStoreLayout:: OpenCanonicalDataKey expression: (null)

[gle=0x80004005]

2011-12-15 17:53:36, Info CBS Failed to get CSI store. [HRESULT = 0x80073712 - ERROR_SXS_COMPONENT_STORE_CORRUPT]

2011-12-15 17:53:36, Error CBS Failed to initialize store parameters with boot drive: and windows directory: [HRESULT = 0x80073712 - ERROR_SXS_COMPONENT_STORE_CORRUPT]

2011-12-15 17:53:36, Info CSI 00000008 No store version format found; DLL store format 0.0.0.6

2011-12-15 17:53:36, Error CSI 00000009@2011/12/16:01:53:36.267 (F) d:\win7sp1_gdr\base\wcp\componentstore\storelayout.cpp(6636): Error STATUS_SXS_COMPONENT_STORE_CORRUPT originated in function ComponentStore::CRawStoreLayout:: OpenCanonicalDataKey expression: (null)




NOTE what appears to be a default version of 0.0.0.6 - I have seen this in almost every post regarding errors with the component store. If you don't believe me, simply Google '0.0.0.6'.




5) Within the registry, I find the following:
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\Version=6.1.7601.17592=%SystemRoot%\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_6.1.7601.17592_none_672ce6c3de2cb17f



6) If I go to Windows\winsxs, I find the folder:
amd64_microsoft-windows-servicingstack_31bf3856ad364e35_6.1.7601.17592_none_672ce6c3de2cb17f



7) Based on what I find in CBS.log, (see snippets above) I can clearly see that CbsCore.dll is loaded (from folder in step #6 above), but cannot find the CSI store. From the CBS.log, I see:


‘Failed to get CSI store’, and
‘No store version format found; DLL store format 0.0.0.6’, and
‘Failed to initialize store parameters with boot drive: and Windows directory: ‘


If I open CbsCore.dll in WordPad, I can find all three (3) error message strings with a simple search. So, it appears the problem originates within CbsCore.dll



8) From there, you’ll see that error cascades into wcp.dll:


‘No store version format found; DLL store format 0.0.0.6’, and
‘d:\win7sp1_gdr\base\wcp\componentstore\storelayout.cpp’, and
Error STATUS_SXS_COMPONENT_STORE_CORRUPT originated in function ComponentStore::CRawStoreLayout:: OpenCanonicalDataKey expression: (null)


As with CbsCore.dll, if I open wpc.dll, a simple search will find those error message strings.





Although I was put through to Microsoft Customer Support level 2, my information was so far above their pay grade, they didn’t have a clue as to what I was saying. As a software developer, I can see that one of the C++ source code files compiled and linked into wcp.dll was ‘d:\win7sp1_gdr\base\wcp\componentstore\storelayout.cpp’. You can even see the developer was working on their local drive d: (could be mapped, but drive d: nonetheless). You can clearly see the name of the function that failed as well, ‘ComponentStore::CRawStoreLayout:: OpenCanonicalDataKey’ and the parameter (null).

So, short of having a symbol file for ‘CbsCore.dll’, I would think this would be an easy problem to debug. The developer who wrote the code should be able to give a definitive answer as to what caused the error. But, we’re talking about MS here--where that’s not likely to happen.



So, given the steps I’ve followed countless times, the information in the log files, tracing the error messages to specific DLL’s, and showing the order in which they are invoked (and the function, parameter, etc.)...

...My question to anyone and everyone (especially MS) is: what is the root cause of the failure of CbsCore.dll to find the ‘CSI store’?



Before responding with the same list of suggestions I see in every blog, please carefully review the steps I've already taken. Or, I'll keep referring you back to this post.

NO, I do not have a restore point that goes back far enough to use (if I had only known earlier--but, there were no indications of a problem). I have a couple of backups of the registry. But, importing them has not worked--presumably because they were also created after the problem started.



a b $ Windows 7
December 16, 2011 11:57:08 PM

redSnakeSleeper said:
Windows 7 Ultimate x64 SP1 – Version 6.1.7601 (from ver).



My first indication of a problem occurred when I tried to add a Windows Feature (Control Panel->Programs->Turn Windows features on or off). I was presented with the dreaded blank box (no text at all).

Over the past 2 months, I have scoured the Internet looking for a solution. I have found many similar posts, with 4-5 enumerating the exact same error code and behavior I’m encountering. All those threads eventually end with no resolution (except for those who opt to switch to Linux or Apple).

I have also been on the phone with MS Customer Support many times, spanning many hours—all to no avail.



Steps I have taken more times than I like to admit:



1) CheckSUR – always fails with ‘CSI Unable to Query Store Version 0x00000002. From CheckSUR.log:

=================================

Checking System Update Readiness.

Binary Version 6.1.7601.21645

Package Version 13.0

2011-12-15 21:02

Checking Windows Servicing Packages

Checking Package Manifests and Catalogs

Checking Package Watchlist

Checking Component Watchlist

Checking Packages

(f) CSI Unable to Query Store Version 0x00000002

Summary:

Seconds executed: 38

Found 1 errors

CSI Unable to Query Store Version Total count: 1



2) sfc /scannow – Always returns ‘Windows Resource Protection could not perform the requested operation.’



3) Inplace Upgrade – Always fails at ‘Gathering files, settings, and programs.’ Always at 0% complete.

I get a box with the dreaded red ‘X’ in a circle, with the following text: ‘Setup cannot continue. Restart the computer and restart Setup. When prompted, try getting the latest updates.’

I have tried both ‘getting the latest updates’, and skipping them (MS Customer Support suggested the latter).



4) In all cases, when I check the CBS.log file, at the very least I get the following:

2011-12-15 21:12:42, Info CBS Failed to get CSI store. [HRESULT = 0x80073712 - ERROR_SXS_COMPONENT_STORE_CORRUPT]

2011-12-15 21:12:42, Error CBS Failed to initialize store parameters with boot drive: and windows directory: [HRESULT = 0x80073712 - ERROR_SXS_COMPONENT_STORE_CORRUPT]



Other times, I get:

2011-12-15 21:02:53, Info CBS Failed to get CSI store. [HRESULT = 0x80073712 - ERROR_SXS_COMPONENT_STORE_CORRUPT]

2011-12-15 21:02:53, Error CBS Failed to initialize store parameters with boot drive: and windows directory: [HRESULT = 0x80073712 - ERROR_SXS_COMPONENT_STORE_CORRUPT]

2011-12-15 21:02:53, Info CSI 00000306 No store version format found; DLL store format 0.0.0.6

2011-12-15 21:02:53, Error CSI 00000307@2011/12/16:05:02:53.319 (F) d:\win7sp1_gdr\base\wcp\componentstore\storelayout.cpp(6636): Error STATUS_SXS_COMPONENT_STORE_CORRUPT originated in function ComponentStore::CRawStoreLayout:: OpenCanonicalDataKey expression: (null)



Occasionally I get:

2011-12-15 16:53:42, Info CBS Failed to get CSI store. [HRESULT = 0x80073712 - ERROR_SXS_COMPONENT_STORE_CORRUPT]

2011-12-15 16:53:42, Error CBS Failed to initialize store parameters with boot drive: and windows directory: [HRESULT = 0x80073712 - ERROR_SXS_COMPONENT_STORE_CORRUPT]

2011-12-15 17:03:42, Info CBS Reboot mark refs incremented to: 1

2011-12-15 17:03:42, Info CBS Scavenge: Starts

2011-12-15 17:03:42, Info CSI 0000020a No store version format found; DLL store format 0.0.0.6

2011-12-15 17:03:42, Error CSI 0000020b@2011/12/16:01:03:42.097 (F) d:\win7sp1_gdr\base\wcp\componentstore\storelayout.cpp(6636): Error STATUS_SXS_COMPONENT_STORE_CORRUPT originated in function ComponentStore::CRawStoreLayout:: OpenCanonicalDataKey expression: (null)

[gle=0x80004005]

2011-12-15 17:03:42, Info CBS Scavenge: Failed to get CSI store for scavenging. [HRESULT = 0x80073712 - ERROR_SXS_COMPONENT_STORE_CORRUPT]

2011-12-15 17:03:42, Info CBS Warning: Failed to scavenge CSI store. [HRESULT = 0x80073712 - ERROR_SXS_COMPONENT_STORE_CORRUPT]

2011-12-15 17:03:42, Info CBS Reboot mark refs: 0

2011-12-15 17:03:42, Info CBS Warning: Failed while executing service idle processing. [HRESULT = 0x80073712 - ERROR_SXS_COMPONENT_STORE_CORRUPT]

2011-12-15 17:03:42, Info CBS Warning: Failed to execute service idle processing. Error code: 0X80073712 [HRESULT = 0x80073712 - ERROR_SXS_COMPONENT_STORE_CORRUPT]

2011-12-15 17:03:42, Info CBS Idle processing thread terminated normally

2011-12-15 17:03:42, Info CBS Ending the TrustedInstaller main loop.

2011-12-15 17:03:42, Info CBS Starting TrustedInstaller finalization.

2011-12-15 17:03:42, Info CBS Ending TrustedInstaller finalization.

2011-12-15 17:53:35, Info CBS Starting TrustedInstaller initialization.

2011-12-15 17:53:35, Info CBS Loaded Servicing Stack v6.1.7601.17592 with Core: C:\Windows\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_6.1.7601.17592_none_672ce6c3de2cb17f\cbscore.dll

2011-12-15 17:53:35, Info CSI 00000001@2011/12/16:01:53:35.976 WcpInitialize (wcp.dll version 0.0.0.6) called (stack @0x7fee94bf0ad @0x7feebe59849 @0x7feebe234e3 @0xff29e97c @0xff29d799 @0xff29db2f)

2011-12-15 17:53:35, Info CSI 00000002@2011/12/16:01:53:35.980 WcpInitialize (wcp.dll version 0.0.0.6) called (stack @0x7fee94bf0ad @0x7feebea6816 @0x7feebe72aac @0x7feebe235b9 @0xff29e97c @0xff29d799)

2011-12-15 17:53:35, Info CSI 00000003@2011/12/16:01:53:35.980 WcpInitialize (wcp.dll version 0.0.0.6) called (stack @0x7fee94bf0ad @0x7fef0ea8738 @0x7fef0ea8866 @0xff29e474 @0xff29d7de @0xff29db2f)

2011-12-15 17:53:35, Info CBS Ending TrustedInstaller initialization.

2011-12-15 17:53:35, Info CBS Starting the TrustedInstaller main loop.

2011-12-15 17:53:35, Info CBS TrustedInstaller service starts successfully.

2011-12-15 17:53:35, Info CBS SQM: Initializing online with Windows opt-in: True

2011-12-15 17:53:35, Info CBS SQM: Cleaning up report files older than 10 days.

2011-12-15 17:53:35, Info CBS SQM: Requesting upload of all unsent reports.

2011-12-15 17:53:35, Info CBS SQM: Queued 0 file(s) for upload with pattern: C:\Windows\servicing\sqm\*_std.sqm, flags: 0x2

2011-12-15 17:53:35, Info CBS SQM: Queued 0 file(s) for upload with pattern: C:\Windows\servicing\sqm\*_all.sqm, flags: 0x6

2011-12-15 17:53:35, Info CBS No startup processing required, TrustedInstaller service was not set as autostart, or else a reboot is still pending.

2011-12-15 17:53:35, Info CBS NonStart: Checking to ensure startup processing was not required.

2011-12-15 17:53:35, Info CSI 00000004 No store version format found; DLL store format 0.0.0.6

2011-12-15 17:53:35, Error CSI 00000005@2011/12/16:01:53:35.988 (F) d:\win7sp1_gdr\base\wcp\componentstore\storelayout.cpp(6636): Error STATUS_SXS_COMPONENT_STORE_CORRUPT originated in function ComponentStore::CRawStoreLayout:: OpenCanonicalDataKey expression: (null)

[gle=0x80004005]

2011-12-15 17:53:36, Info CBS NonStart: Failed to get store. [HRESULT = 0x80073712 - ERROR_SXS_COMPONENT_STORE_CORRUPT]

2011-12-15 17:53:36, Info CBS Failed to ensure no startup processing was required. [HRESULT = 0x80073712 - ERROR_SXS_COMPONENT_STORE_CORRUPT]

2011-12-15 17:53:36, Info CBS Failed during startup processing, continuing with Trusted Installer execution [HRESULT = 0x80073712 - ERROR_SXS_COMPONENT_STORE_CORRUPT]

2011-12-15 17:53:36, Info CBS Startup processing thread terminated normally

2011-12-15 17:53:36, Info CSI 00000006 No store version format found; DLL store format 0.0.0.6

2011-12-15 17:53:36, Error CSI 00000007@2011/12/16:01:53:36.133 (F) d:\win7sp1_gdr\base\wcp\componentstore\storelayout.cpp(6636): Error STATUS_SXS_COMPONENT_STORE_CORRUPT originated in function ComponentStore::CRawStoreLayout:: OpenCanonicalDataKey expression: (null)

[gle=0x80004005]

2011-12-15 17:53:36, Info CBS Failed to get CSI store. [HRESULT = 0x80073712 - ERROR_SXS_COMPONENT_STORE_CORRUPT]

2011-12-15 17:53:36, Error CBS Failed to initialize store parameters with boot drive: and windows directory: [HRESULT = 0x80073712 - ERROR_SXS_COMPONENT_STORE_CORRUPT]

2011-12-15 17:53:36, Info CSI 00000008 No store version format found; DLL store format 0.0.0.6

2011-12-15 17:53:36, Error CSI 00000009@2011/12/16:01:53:36.267 (F) d:\win7sp1_gdr\base\wcp\componentstore\storelayout.cpp(6636): Error STATUS_SXS_COMPONENT_STORE_CORRUPT originated in function ComponentStore::CRawStoreLayout:: OpenCanonicalDataKey expression: (null)




NOTE what appears to be a default version of 0.0.0.6 - I have seen this in almost every post regarding errors with the component store. If you don't believe me, simply Google '0.0.0.6'.




5) Within the registry, I find the following:
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\Version=6.1.7601.17592=%SystemRoot%\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_6.1.7601.17592_none_672ce6c3de2cb17f



6) If I go to Windows\winsxs, I find the folder:
amd64_microsoft-windows-servicingstack_31bf3856ad364e35_6.1.7601.17592_none_672ce6c3de2cb17f



7) Based on what I find in CBS.log, (see snippets above) I can clearly see that CbsCore.dll is loaded (from folder in step #6 above), but cannot find the CSI store. From the CBS.log, I see:


‘Failed to get CSI store’, and
‘No store version format found; DLL store format 0.0.0.6’, and
‘Failed to initialize store parameters with boot drive: and Windows directory: ‘


If I open CbsCore.dll in WordPad, I can find all three (3) error message strings with a simple search. So, it appears the problem originates within CbsCore.dll



8) From there, you’ll see that error cascades into wcp.dll:


‘No store version format found; DLL store format 0.0.0.6’, and
‘d:\win7sp1_gdr\base\wcp\componentstore\storelayout.cpp’, and
Error STATUS_SXS_COMPONENT_STORE_CORRUPT originated in function ComponentStore::CRawStoreLayout:: OpenCanonicalDataKey expression: (null)


As with CbsCore.dll, if I open wpc.dll, a simple search will find those error message strings.





Although I was put through to Microsoft Customer Support level 2, my information was so far above their pay grade, they didn’t have a clue as to what I was saying. As a software developer, I can see that one of the C++ source code files compiled and linked into wcp.dll was ‘d:\win7sp1_gdr\base\wcp\componentstore\storelayout.cpp’. You can even see the developer was working on their local drive d: (could be mapped, but drive d: nonetheless). You can clearly see the name of the function that failed as well, ‘ComponentStore::CRawStoreLayout:: OpenCanonicalDataKey’ and the parameter (null).

So, short of having a symbol file for ‘CbsCore.dll’, I would think this would be an easy problem to debug. The developer who wrote the code should be able to give a definitive answer as to what caused the error. But, we’re talking about MS here--where that’s not likely to happen.



So, given the steps I’ve followed countless times, the information in the log files, tracing the error messages to specific DLL’s, and showing the order in which they are invoked (and the function, parameter, etc.)...

...My question to anyone and everyone (especially MS) is: what is the root cause of the failure of CbsCore.dll to find the ‘CSI store’?



Before responding with the same list of suggestions I see in every blog, please carefully review the steps I've already taken. Or, I'll keep referring you back to this post.

NO, I do not have a restore point that goes back far enough to use (if I had only known earlier--but, there were no indications of a problem). I have a couple of backups of the registry. But, importing them has not worked--presumably because they were also created after the problem started.



Before responding with the same list of suggestions I see in every blog, please carefully review the steps I've already taken. Or, I'll keep referring you back to this post.

Then, I would say, I will refer you to this: Does it take a system error in order for you to have your system automatically take a restore point when you boot ? - You are a software developer for petes sake !
m
0
l
a b $ Windows 7
December 17, 2011 2:31:44 AM

This error is due to corrupted system files and could be fixed if you could run the system file checker. However the system files have been corrupted for a reason, which is most probably due to faulty or incompatible memory. I suggest that you download and run memtest86 sort out your memory problem and reinstall Windows.
Windows 7 is very critical of memory, a system that can run Windows XP without problems can fail if Windows 7 is installed due to memory errors.
m
0
l
Related resources
a b $ Windows 7
December 17, 2011 3:03:06 AM

it looks like you have exhausted every option... your windows is so damaged its beyond the repair ability of the disk. so i would recomend you move all your personal data off the harddrive to somewhere safe, preferably another hard drive entirely. you will also want to take the opertiunity to get the latest drivers for your system and copy them to a safe place 2.
then do a full clean install. off a cold start. this will minimize any chance that any damage from the original install can be passed on to the next(via a memory resident virus or other malware as it sounds like your original issue was a malware problem). anyways. again boot off the disk and create new partitions. and quick format them. you dont need to full as the disk hasnt been low level formated. install as normal. check auto install updates and let it run. 1s done the first thing you need is drivers. 1s the chipset/gfx audio and ethernet are install install your antivirus... then its just a case or putting all your saved data back...


or if thats to much try the hyrons boot cd. and try some of the repair options that it offers.
m
0
l
a b $ Windows 7
December 17, 2011 6:54:39 AM

Malware is a possibility as to the cause of your problem, try a scan with the free version of Malwarebytes anti-virus. However if it is malware or memory problems you will have to reinstall but make sure you run the memory test program overnight before you do so.
m
0
l
December 21, 2011 1:51:16 AM

ksiebm:

Thank you for your reply. You are assumming too much.

But, to your point, I did forget to mention that I do have backups of my critical data, core system image files, registry exports, and restore points. I also save complete system images, but lack sufficient disk storage to save more than one or two at a time.

Keep in mind, I don't know exactly when the problem started. I went back to restore points prior to the first date I could confirm. Restoring did not solve the problem, and created a mountain of other problems as well.

Yes, I'm a paranoid and anal developer--I do take many precautions. This one slipped under the radar long enough ago that I simply didn't have the resources to save everything I do save going back that far in time.
m
0
l
December 21, 2011 1:54:42 AM

HEXiT:

That was the first thing I checked, even before scandsk. I've been using memtest86 for many years, and it's the best I know of. Everything came back clean (all tests and multiple passes).

Thanks
m
0
l
December 21, 2011 2:05:11 AM

pjmelect:

I was hoping to avoid a 'fresh' install. As noted, just getting the right versions of the right drivers installed and configured can be a pain.

Although nobody can say with 100% certaintly their machine has not been infected or is infected, I have A/V and firewall in place, and perform additional scans about once a week with MalwareBytes, SuperSpyware, SpyBot, etc. I also regularly run hijackthis, and carefully walk the list.

I appreciate your time. If I get nothing more than the information regarding 'Ultimate_Boot_CD', it will be worth the effort.

Thanks
m
0
l
December 21, 2011 11:15:09 PM

Unfortunately, with Windows, sometimes there's no reasonable means to diagnose and fix a problem (or multiple problems). I've resigned myself to setting aside some quality time over the holidays to do a fresh install (thank you MS).

I have seen so many posts with the same error, I find it impossible to believe that MS is not keenly aware of a serious defect. In their typical response to a widespread defect, MS has chosen to be silent on this issue-pissing off a lot of loyal long-time customers (again).

I did break down and licensed Reimage Repair (Reimage.com). It did manage to fix the empty 'Windows Features' box, but not the error with Windows Updates. Of note, not all the updates are failing with that error anymore. Some fail with other errors, but if I update one at a time, those will succeed (or so the UI would indicate). On the downside, Reimage Repair hosed my Office 2010 SP1 installation. That took 3 days of searching the internet every time I hit a new error (and there were many). So, at this time, I cannot recommend it as a solution.

I appreciate everyone's time and comments. I know I was being unrealistic posting this one. Not that the Tom's Hardward community aren't some of the smartest minds out there (and, I always turn to this site first), it's just so obscure as to be a time killer to try and diagnose/fix with posts to any forum. Like everyone, I was hoping for a silver bullet. Again, thank you for trying. All the suggestions were valuable.

And finally, I realize my post made me come off as an a**hole. For that I apologize. I shouldn't have posted while still in a grumpy mood from trying to fix this problem.
m
0
l
December 29, 2011 5:15:03 PM

Ok, after an online support session with a tech from Reimage.com, I was finally able to perform an 'InPlace Upgrade'. Basically he went through the same steps I had, including CheckSUR and sfc /scannow.

He did download and run a couple of tests with a tool from 'Tweaking.com' (Windows Repair - All in One). Step 1 advises the use of common anti-malware tools (e.g. MalwareBytes, etc.). Step 2 simply restarts the machine with a pending 'scandsk'. Step 3 runs 'sfc /scannow'. Step 4 creates a restore point. Step 5 performs some type of 'Repair', which appeared to reset permissions in the registry, files and folders. So, steps 1-4 were redundant with what I had already tried. After running step 5, we were still getting the same error.

Then he renamed %Windows%\SoftwareDistribution' to 'SoftwareDistribution.old'. That still didn't resolve the error.

But, after the end of the support session, I was able to run an 'InPlace Upgrade'--a major difference in behavior. It finished without any errors, and the machine appears to be back to a clean install, without having to reinstall from scratch.

I'm going to do a little research on the risks/benefits of the renamed folder. But, of everything I tried, that seemed to do the trick. If that doesn't work for you, then try step 5 of the 'Tweaking.com' utility as well.

The bottom line is that my machine is now running error free.

Good luck, and if you have specific questions, please feel free to post.

Again, I appreciate all the help.
m
0
l
a b $ Windows 7
February 21, 2012 4:31:39 PM

nice. thanx for posting back with your actual fix. it will help others.
m
0
l
October 15, 2013 8:44:21 AM

Hi all,
I know this post has been dead for a while. But I really need help. Seems I have similar (the same?) problems. But when I try the tweaking.com fix followed by the renaming of 'Windows\SoftwareDistribution' I am still unable to perform the repair install.
I get an error when the Windows Setup looks for the latest updates of the install.
If there is anyone here that has had success in this regard please let me know!
Thanks!
m
0
l
December 19, 2013 12:47:05 PM

redSnakeSleeper said:
Ok, after an online support session with a tech from Reimage.com, I was finally able to perform an 'InPlace Upgrade'. Basically he went through the same steps I had, including CheckSUR and sfc /scannow.

He did download and run a couple of tests with a tool from 'Tweaking.com' (Windows Repair - All in One). Step 1 advises the use of common anti-malware tools (e.g. MalwareBytes, etc.). Step 2 simply restarts the machine with a pending 'scandsk'. Step 3 runs 'sfc /scannow'. Step 4 creates a restore point. Step 5 performs some type of 'Repair', which appeared to reset permissions in the registry, files and folders. So, steps 1-4 were redundant with what I had already tried. After running step 5, we were still getting the same error.

Then he renamed %Windows%\SoftwareDistribution' to 'SoftwareDistribution.old'. That still didn't resolve the error.

But, after the end of the support session, I was able to run an 'InPlace Upgrade'--a major difference in behavior. It finished without any errors, and the machine appears to be back to a clean install, without having to reinstall from scratch.

I'm going to do a little research on the risks/benefits of the renamed folder. But, of everything I tried, that seemed to do the trick. If that doesn't work for you, then try step 5 of the 'Tweaking.com' utility as well.

The bottom line is that my machine is now running error free.

Good luck, and if you have specific questions, please feel free to post.

Again, I appreciate all the help.


I have EXACTLY the same problem with Win7, exactly word by word.

The machine works nicelly (?), I don't see why do I need to reinstall windows, the only things are not working; the updates and the "optionalfeatures.exe", that bothers me a lot.

Tried a bunch of suggestions from Microsoft and from Internet, nothing helped.
Downloading now the 'Tweaking.com' (Windows Repair - All in One).
What exactly the Reimage does?

Thank you a bunch for show me I am (was) not alone.
Will try to follow your steps.
m
0
l
!