質問者
SQL Server 2005 Express Edition セットアップエラー

質問
-
SQL Server 2005 Express Edition with Advanced Services
SQLEXPR_ADV_JPN.EXE を WindowsXp(Sp2)に インストールを行うと、
「SQL Server セットアップで予期しないエラーが発生しました。詳細については.... 」
エラーが発生し、インストールできませんでした。
インターネット上で探してみましたが、解決に至る情報が得られませんでした。
※旧バージョンやベータ版のSQL Serverはインストールいません。
どなたか解決につながる情報をお持ちでしたら、レスをお願い致します。
概要ログ(Summary.txt)には、”OS Version と Time のみ”が、インストールログ(SQLSetup0001_PC01_Core.log)には、下記の情報がのこされていました。
========== 以下、ログの内容です =======
Microsoft SQL Server 2005 Setup beginning at Mon Oct 02 18:32:07 2006
Process ID : 2844
e:\08a392311da5c5beac\setup.exe Version: 2005.90.2047.0
Running: LoadResourcesAction at: 2006/9/2 18:32:7
Complete: LoadResourcesAction at: 2006/9/2 18:32:7, returned true
Running: ParseBootstrapOptionsAction at: 2006/9/2 18:32:7
Loaded DLL:e:\08a392311da5c5beac\xmlrw.dll Version:2.0.3609.0
Complete: ParseBootstrapOptionsAction at: 2006/9/2 18:32:7, returned false
Error: Action "ParseBootstrapOptionsAction" failed during execution. Error information reported during run:
Could not parse command line due to datastore exception.
Source File Name: utillib\persisthelpers.cpp
Compiler Timestamp: Wed Oct 26 16:38:20 2005
Function Name: writeEncryptedString
Source Line Number: 124
----------------------------------------------------------
writeEncryptedString() failed
Source File Name: utillib\persisthelpers.cpp
Compiler Timestamp: Wed Oct 26 16:38:20 2005
Function Name: writeEncryptedString
Source Line Number: 123
----------------------------------------------------------
Error Code: 0x80070002 (2)
Windows Error Text: Error: Action "ActivateLoggingAction" threw an exception during execution. Error information reported during run:
Datastore exception while trying to write logging properties.
Source File Name: datastore\cachedpropertycollection.cpp
Compiler Timestamp: Wed Oct 26 16:37:20 2005
Function Name: CachedPropertyCollection::findProperty
Source Line Number: 130
----------------------------------------------------------
Failed to find property "primaryLogFiles" {"SetupStateScope", "", ""} in cache
Source File Name: datastore\propertycollection.cpp
Compiler Timestamp: Wed Oct 26 16:37:21 2005
Function Name: SetupStateScope.primaryLogFiles
Source Line Number: 44
----------------------------------------------------------
No collector registered for scope: "SetupStateScope"
00E6CFC0Unable to proceed with setup, there was a command line parsing error. : 2
Error Code: 0x80070002 (2)
Windows Error Text:
Class not registered.
Failed to create CAB file due to datastore exception
Source File Name: datastore\cachedpropertycollection.cpp
Compiler Timestamp: Wed Oct 26 16:37:20 2005
Function Name: CachedPropertyCollection::findProperty
Source Line Number: 130
----------------------------------------------------------
Failed to find property "HostSetup" {"SetupBootstrapOptionsScope", "", "2844"} in cache
Source File Name: datastore\propertycollection.cpp
Compiler Timestamp: Wed Oct 26 16:37:21 2005
Function Name: SetupBootstrapOptionsScope.HostSetup
Source Line Number: 44
----------------------------------------------------------
No collector registered for scope: "SetupBootstrapOptionsScope"
Message pump returning: 2
すべての返信
-
情報ありがとうございます。 ご紹介頂いた”参考サイト” を参照し対処したところ解決しました。 ありがとうございました。
対処内容は下記のとおりです。
SQL Server 2005 のセットアップには、下記のレジストリが正しく存在している必要がありました。
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders\AppData
と
HKEY_USERS\.DEFAULT\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders\AppData
が存在し、その内容は、
REG_EXPAND_SZ
%USERPROFILE%\Application Data
である必要がありました。
※私の環境では、どういう訳か最初の項目が存在しませんでした。 レジストリエディタを使って追加したところ問題なくセットアップ出来るようになりました。