Загрузка…
- Remove From My Forums
-
Question
-
Всех приветствую!
Друзья, помогите, пожалуйста, разобраться почему не устанавливается SQL Server Express 2005 на машину с Windows 8.1 Pro.
Вот лог ошибки:
Microsoft SQL Server 2005 Setup beginning at Thu Jun 16 13:57:11 2016
Process ID : 2520
C:\Users\emm\Downloads\SQLEXPRSP4\setup.exe Version: 2005.90.5000.0
Running: LoadResourcesAction at: 2016/5/16 13:57:9
Complete: LoadResourcesAction at: 2016/5/16 13:57:9, returned true
Running: ParseBootstrapOptionsAction at: 2016/5/16 13:57:9
Loaded DLL:C:\Users\emm\Downloads\SQLEXPRSP4\xmlrw.dll Version:2.0.3609.0
Complete: ParseBootstrapOptionsAction at: 2016/5/16 13:57:11, 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: Sat Sep 18 20:51:46 2010
Function Name: writeEncryptedString
Source Line Number: 124
———————————————————-
writeEncryptedString() failed
Source File Name: utillib\persisthelpers.cpp
Compiler Timestamp: Sat Sep 18 20:51:46 2010
Function Name: writeEncryptedString
Source Line Number: 123
———————————————————-
Error Code: -2146892987
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: Sat Sep 18 20:51:06 2010
Function Name: CachedPropertyCollection::findProperty
Source Line Number: 130
———————————————————-
Failed to find property «primaryLogFiles» {«SetupStateScope», «», «»} in cache
Source File Name: datastore\propertycollection.cpp
Compiler Timestamp: Sat Sep 18 20:51:07 2010
Function Name: SetupStateScope.primaryLogFiles
Source Line Number: 44
———————————————————-
No collector registered for scope: «SetupStateScope»
03F0CF8CUnable 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: Sat Sep 18 20:51:06 2010
Function Name: CachedPropertyCollection::findProperty
Source Line Number: 130
———————————————————-
Failed to find property «HostSetup» {«SetupBootstrapOptionsScope», «», «2520»} in cache
Source File Name: datastore\propertycollection.cpp
Compiler Timestamp: Sat Sep 18 20:51:07 2010
Function Name: SetupBootstrapOptionsScope.HostSetup
Source Line Number: 44
———————————————————-
No collector registered for scope: «SetupBootstrapOptionsScope»
Message pump returning: 2Ключевое вот:
Error: Action "ParseBootstrapOptionsAction" failed during execution. Error information reported during run:Could not parse command line due to datastore exception.
Обрыл весь Инет — ничего полезного не нашел…
Спасибо!
P.S. Я знаю, что данная версия не поддерживается указанной ОС, но проблем с установкой быть не должно.
-
Moved by
Thursday, June 16, 2016 11:46 AM
Более подходящий раздел форума
-
Moved by
Answers
-
Проблему решил следующим твиком:
[HKEY_LOCAL_MACHINE\Software\Microsoft\Cryptography\Protect\Providers\df9d8cd0-1501-11d1-8c7a-00c04fc297eb] "ProtectionPolicy"=dword:00000001
Всем спасибо!
-
Proposed as answer by
Garry Gra
Friday, June 17, 2016 8:47 AM -
Marked as answer by
Иван ПродановMicrosoft contingent staff, Moderator
Tuesday, June 21, 2016 8:09 AM
-
Proposed as answer by
Здесь описываются ошибки, возникающие в процессе установки SQL сервера
Setup is missing prerequisites: — MSXML6
Очень странная ошибка, возникает при установке SQL Express 2005 на Windows XP, при этом в окне отображения процесса установки на пункте Установка XML стоит флаг Установлено.
Для решения данной проблемы необходимо:
— установить MSXML6 отдельно от SQL Server (скачать [1])
— после этого зайти в Панель управления — Установка и удаление программ, выбрать установленный MSXML6, нажать Изменить, затем Восстановить
— заново запустить установку SQL Server
I tried to install SQL Server 2005 Express SP3 x64 on Windows 8 but the installer gives me an error:
An installation package for the product Microsoft SQL server native
Client cannot be found. Try the installation again using a valid copy
of the installation package ‘sqlncli_x64.msi’
How can I solve the problem?
asked Nov 22, 2012 at 22:00
Eduardo MolteniEduardo Molteni
38.8k23 gold badges141 silver badges207 bronze badges
0
I had the same problem. But I also had to perform additional steps. Here is what I did.
Perform the following steps (Only 64bit version of SQL Server 2005 Developer Edition tested on Windows 8 Pro 64bit)
- Extract sqlncli.msi / sqlncli_x64.msi from SP3 or SP4. I did it from SP4
- Install sqlncli
- Start SQL Server 2005 Setup
- During setup I received an error
The SQL Server service failed to start. For more information, see the SQL Server Books Online topics, «How to: View SQL Server 2005 Setup Log Files» and «Starting SQL Server Manually.» - Don’t click cancel yet. From an installation of SQL Server 2005 SP3 or SP4 copy SQLSERVR.EXE and SQLOS.DLL files and put them in your SQL install folder.
- Click RETRY
For STEP 5 above: Although I didn’t try looking into SP4 / SP3 setup for SQLSERVR.EXE and SQLOS.DLL but if you don’t have an existing installation of SQL Server 2005 SP3/SP4 then maybe try looking into the SP3/SP4 EXE (Compressed file). I am not sure if this may help. In any case you can create a VM and install SQL Server 2005 with SP3/Sp4 to copy the files for Windows 8
answered Dec 5, 2012 at 21:01
6
I had a different experience loading SQL Server 2005 Express on Windows 8. I was using the installer that already had SP4 applied so maybe that explains the difference. The first error I received was when Setup tried to start the SQL VSS Writer. I just told it to Ignore and it continued. I then ran into the same error Sohail had where the SQL Server service failed to start. There was no point in following the rest of Sohail’s method since I already was using a SP4 version of SQLServr.exe and SQLOS.dll. Instead, I just canceled the install rebooted the machine and ran the install again. Everything ran fine the second time around.
The place I found Sohail’s technique invaluable was when I needed to install SQL Server 2005 Standard on Windows Server 2012. We have a few new servers we’re looking to roll out with Windows 2012 but we didn’t feel the need to upgrade SQL Server since the 2005 version has all the functionality we need and the cost to license SQL 2012 on these boxes would have been a 5-figure sum.
I wound up tweaking Sohail’s technique a bit by adding steps to revert the SQLServr.exe and SQLOS.dll files so that I could then apply SP4 fully. Below are all the steps I took starting from a scratch install of Windows Server 2012 Standard. I hope this helps anyone else looking to get a fully updated install of SQL Server 2005 x64 on this OS.
- Use Server Manger Add roles and features wizard to satisfy all of SQL’s prerequisites:
- Select the Web Server (IIS) Role
- Add the following additional Web Server Role Services (note that some of these will automatically pull in others, just accept and move on):
- HTTP Redirection
- Windows Authentication
- ASP.NET 3.5 (note that you’ll need to tell the wizard to look in the \Sources\SxS folder of the Windows 2012 installation media for this to install properly; just click the link to «Specify an alternate source path» before clicking Install)
- IIS 6 Metabase Compatibility
- IIS 6 WMI Compatibility
- Start SQL Server 2005 Install, ignoring any compatibility warnings
- If SQL Server service fails to start during setup, leave dialog up and do the following:
- Backup SQLServr.exe and SQLOS.dll from C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Binn
- Replace those two files from a working copy of SQL Server 2005 that already has had SP4 applied (alternatively, extract them from the SQL Server 2005 Service Pack 4 distributable using 7-Zip, here’s a helpful write-up.)
- Return to setup, hit Retry and setup will now run to completion.
- Stop SQL Service and restore orignal versions of SQLServr.exe and SQLOS.dll (or else SP4 doesn’t think it is needed in the next step)
- If SQL Server service fails to start during setup, leave dialog up and do the following:
- Install SQL Server 2005 SP4
- Install SQL Server 2005 SP4 Cumulative Hotfix 5069 (Windows Update wasn’t offering this for some reason so I had to download and install manually)
- If you want the latest documentation, install the latest version of SQL Server 2005 Books Online.
answered Jan 15, 2013 at 6:08
5
Microsoft says the SQL Server 2005 it’s not compatible with Windows 8, but I’ve run it without problems (only using SP3) except the installation.
After you run the install file SQLExpr.exe
look for a hidden folder recently created in the C drive. Copy the contents to another folder and cancel the installer (or use WinRar to open the file and extract the contents to a temp folder)
After that, find the file sqlncli_x64.msi
in the setup folder, and run it.
Now you are ready the run the setup.exe
file and install SQL server 2005 without errors
answered Nov 22, 2012 at 22:00
Eduardo MolteniEduardo Molteni
38.8k23 gold badges141 silver badges207 bronze badges
1
I found that on Windows 8.1 with an instance of SQL 2014 already installed, if I ran the SQLEXPR.EXE and then dismissed the Windows ‘warning this may be incompatible’ dialogs, that the installer completed successfully.
I suspect having 2014 bits already in place probably helped.
answered Apr 9, 2015 at 1:08
David GardinerDavid Gardiner
16.9k20 gold badges80 silver badges119 bronze badges
install «SQL Express 2005 service pack 4» version «directly».
it contains sql Express 2005 inside . dont let the name fool you
runs succesfuly. from my experince
answered Oct 12, 2015 at 15:15
bh_earth0bh_earth0
2,55722 silver badges25 bronze badges
Hi,
If you found this post useful and answer what you’re looking for, please chime in.
Foreword
I was frustrated when I tried to install SQL Server Express 2005 64-bit on a new Win 10 tablet (Intel Cherrytrail) Home Edition 64-bit, wait, in case you’re wondering why would I install an old SQL system on a brand new hardware and OS it’s because our small
company is still relying on that old SQL system, and we yet to find a software dev who can port all of our old SQL database to newer SQL Server. Not to mention Microsoft is adding backward compatibility limitations in every new SQL Server releases… The quickest
and cheapest solution is to keep using the old SQL system on newer computers.
So, continuing on the issue, I kept receiving these errors during installation:
- An installation package for the product Microsoft SQL Server Native Client cannot be found. Try the installation again using a valid copy of the installation package ‘sqlncli_x64.msi’
- The SQL Server service failed to start. For more information, see the SQL Server Books Online topics, «How to: View SQL Server 2005 Setup Log Files» and «Starting SQL Server Manually.»
I’ve tried all of the workarounds found on various websites and forums to no avail, apparently the solution is a very easy one. If you’re facing the same error messages, then read on, hopefully what works for me will work for you too.
The issues & the solution
The first issue (no. 1 up there) is caused by incompatibility of 32-bit software on 64-bit system, meaning I mistakenly launched the 32-bit version of SQL Server Express 2005 installer. At first I didn’t realised it and tried the method that is said to successfully
remedy the issue: by extracting the ‘sqlncli_x64.msi’ and move both the ‘SQLSERVR.EXE’ and ‘SQLOS.DLL’ files into the installation folder. After that didn’t work for three times, I uninstalled the whole SQL Server related installations and tried one more
time with the installation file which I downloaded from Microsoft’s website. And it works, I passed the SQL Server Native Client process and continue to the SQL Server Database Services process, the last process.
That’s when I encountered issue no. 2; where the installer kept saying it can’t start the SQL Server service. Again, the solution offered by others are by moving both the extracted ‘SQLSERVR.EXE’ and ‘SQLOS.DLL’ files into the installation folder. I’ve tried
this three times and yet the installer still couldn’t finish the installation properly.
I also tried giving security access to Network Service in the installation folder’s security option, and in the SQL Server folders as well. It didn’t work.
I was ready to throw the white towel, but luckily I have a big brother who’s a real «nerd». He always keep old files in his NAS and never delete them no matter what, so after hearing about this issue with SQL Server Express 2005, he offered me
access to his archives to search for an old SQL Server Express 2005 SP4 64-bit installer. I found the file, launched it on the new Win 10 64-bit tablet, and voila everything installed properly and without a hitch whatsoever! It only took around 6-8 minutes
for the installation to successfully complete, and now I can run the SQL-based database app again on the new tablet.
Conclusion
I still couldn’t believe that the official SQL Server Express 2005 installer I’ve recently downloaded from Microsoft’s website is not working, but instead an old installation file dusted off from the past do the job flawlessly.
This is the main reason I’m sharing this story, I know how stressful it is, especially when your source of income is depending on it. And hopefully my story can help you too.
One more note
I’ve tried looking in every websites for that particular installer: SQL Server Express 2005 SP4 64-bit, but couldn’t find it, not even in Microsoft’s official pages. This raises a couple of questions in my mind, which I dare not say on this forum. Hopefully
you guys have better luck than me, cheers.
Dhow here.
-
Edited by
Wednesday, May 4, 2016 9:19 AM