質問者
SQL Server 2005 Express Edition のインストール時のエラーについて

質問
-
皆様お世話になっております。
SQL Server 2005 Express Editionをコマンドを用いてインストールした際に
エラーが発生したため、解決方法を探しております。
解決方法や調べる手順等をご存知であれば教えてください。
インストールは以下のコマンドにて実行しております。
(C++ 8.0 Unmanaged で作成したプログラムよりCreateProcess関数で実行)
SQLEXPR_JPN.EXE /qb
INSTANCENAME="__INSTANCENAME"
INSTALLSQLDIR="C:\Program Files\Microsoft SQL Server\"
INSTALLSQLSHAREDDIR="C:\Program Files\Microsoft SQL Server\"
INSTALLSQLDATADIR="C:\Program Files\Microsoft SQL Server\"
ADDLOCAL="SQL_Engine"
SQLAUTOSTART=1
SQLBROWSERAUTOSTART=0
SQLBROWSERACCOUNT="NT AUTHORITY\SYSTEM"
SQLACCOUNT="NT AUTHORITY\SYSTEM"
SECURITYMODE=SQL
SAPWD="__PASSWORD"
SQLCOLLATION="Japanese_Unicode_CI_AS"
DISABLENETWORKPROTOCOLS=1
ERRORREPORTING=0
(実際には改行は含んでおりません。)
開発に用いているPCではインストール可能なのですが、
導入先のPCでは以下のようなエラーが発生しております。
開発環境
Windows XP SP2 Pro
Windows 2000 SP4 Pro
導入先環境
Windows XP SP2 Pro
Microsoft SQL Server 2005 Setup beginning at Wed Jun 13 09:14:36 2007
Process ID : 3296
c:\079d563da4bc65d67b5673a641b85948\setup.exe Version: 2005.90.2047.0
Running: LoadResourcesAction at: 2007/5/13 9:14:36
Complete: LoadResourcesAction at: 2007/5/13 9:14:36, returned true
Running: ParseBootstrapOptionsAction at: 2007/5/13 9:14:36
Loaded DLL:c:\079d563da4bc65d67b5673a641b85948\xmlrw.dll Version:2.0.3609.0
Complete: ParseBootstrapOptionsAction at: 2007/5/13 9:14:36, returned true
Running: ValidateWinNTAction at: 2007/5/13 9:14:36
Complete: ValidateWinNTAction at: 2007/5/13 9:14:36, returned true
Running: ValidateMinOSAction at: 2007/5/13 9:14:36
Complete: ValidateMinOSAction at: 2007/5/13 9:14:36, returned true
Running: PerformSCCAction at: 2007/5/13 9:14:36
Complete: PerformSCCAction at: 2007/5/13 9:14:36, returned true
Running: ActivateLoggingAction at: 2007/5/13 9:14:36
Complete: ActivateLoggingAction at: 2007/5/13 9:14:36, returned true
Delay load of action "DetectPatchedBootstrapAction" returned nothing. No action will occur as a result.
Action "LaunchPatchedBootstrapAction" will be skipped due to the following restrictions:
Condition "EventCondition: __STP_LaunchPatchedBootstrap__3296" returned false.
Running: PerformSCCAction2 at: 2007/5/13 9:14:36
Loaded DLL:C:\WINDOWS\system32\msi.dll Version:3.1.4000.2435
Loaded DLL:C:\WINDOWS\system32\msi.dll Version:3.1.4000.2435
Complete: PerformSCCAction2 at: 2007/5/13 9:14:36, returned true
Running: PerformDotNetCheck at: 2007/5/13 9:14:36
Complete: PerformDotNetCheck at: 2007/5/13 9:14:36, returned true
Running: ComponentUpdateAction at: 2007/5/13 9:14:36
Complete: ComponentUpdateAction at: 2007/5/13 9:14:48, returned true
Running: DetectLocalBootstrapAction at: 2007/5/13 9:14:48
Complete: DetectLocalBootstrapAction at: 2007/5/13 9:14:48, returned true
Running: LaunchLocalBootstrapAction at: 2007/5/13 9:14:48
Error: Action "LaunchLocalBootstrapAction" threw an exception during execution. Error information reported during run:
"c:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\setup.exe" finished and returned: 1282
Aborting queue processing as nested installer has completed
Message pump returning: 1282
以上、よろしくお願いいたします。
すべての返信
-
役に立つかどうか不明ですが、ググった限りではこれが一番
近いように思われます。
Re: PROBLEM INSTALLING SQL SERVER EXPRESS
I don't believe 1282 is a Setup error code; it's probably a Windows error code. 1282 translates to stack buffer overflow. We did fix one or two such issues a long time back. If the version of Express you're trying to install is pre-RTM then please download the RTM version or the remastered Express SP1 which should be available soon, and try again. If you're already trying with RTM then I suspect we're going to need to see the complete SQL Install logs to debug your problem.
上記を見る限り、setup.exeがスタックオーバーフローを起こしたようで。
# 2005.90.2047.0はSP1相当?
# TechNetにスレッドがあったのですね。ググっても元アドレスが拾えなかったので
# キャッシュから結論だけ拾いました。結論までの流れはNOBTAさんの案内された
# URLを見てください。
-
上記と同じ現象が、他のForumでも同様に問題となっておりました。
"1282" エラーは、 Windows 自身のエラーコードで、 メモリスタックのバッファーがオーバーフローした
場合に、発生するエラーではないかと書いてあります。
対処策としては、RTM版 もしくは remastered された Express SP1, SP2 などを再度ダウンロードして
試してみて下さいと書いてあります。
下記を参照 (英語) してみて下さい。
< http://forums.microsoft.com/TechNet/ShowPost.aspx?PostID=340998&SiteID=17 >
st.lain さんと内容がかぶってしまいました。