Inprogressinstallinfo ipi невозможно открыть файл базы данных
We have ran into an interesting error case, the scenario is as follows :
UserA installs product
UserB upgrades product (that UserA installed) but gets the following error if the environment variables TEMP/TMP are different than that of UserA
This snip-it of the failure is a part of the uninstall of the current product (from UserA) before the install of the new version (order is set to uninstall old first, then install new version)
This happens consistently across multiple machines (though I haven't tested multiple products), installation type is per-machine, single msi (no bootstrap exe).
In researching I found a few other items from other areas that cause this that I have ruled out :
Anti-virus getting in the way -- not our case here
SQL Server has a KB about not being able to install with a space in TEMP/TMP -- not our case here
TEMP/TMP arent being translated to proper paths (ie : %UserProfile% doesnt translate to C:\Users\) -- not the case here
There are a couple of temporary files in the installer (set to be placed in Windows Volume -> Temporary)
No special launch conditions / pre-requisites
There should not be any privilege issues (UserB is administrator, as is UserA)
No special upgrade rules
The issue is with temporary files, I ran a couple more tests :
Blank MSI (just a registry value) upgrades no problem
Temporary File MSI (same registry value as above + random temporary file in Windows Volume -> Temporary) fails with same result as noted previously
/e : Probably safe to assume that the "Windows Volume -> Temporary" is misleading as being directed to C:\Windows\Temp and is actually environment variable for TEMP/TMP ?
I've tested the installation scenario, but I cannot replicate the issue. Can you please isolate this in a small buildable sample (AIPs + their referenced files) and send it us alongside a detailed step by step test case which we can follow?
Also, please let us know on which Windows version did you replicate the issue.
This thread is locked. You can follow the question or vote as helpful, but you cannot reply to this thread.
Report abuse
Harassment is any behavior intended to disturb or upset a person or group of people. Threats include any threat of suicide, violence, or harm to another. Any content of an adult theme or inappropriate to a community web site. Any image, link, or discussion of nudity. Any behavior that is insulting, rude, vulgar, desecrating, or showing disrespect. Any behavior that appears to violate End user license agreements, including providing product keys or links to pirated software. Unsolicited bulk mail or bulk advertising. Any link to or advocacy of virus, spyware, malware, or phishing sites. Any other inappropriate content or behavior as defined by the Terms of Use or Code of Conduct. Any image, link, or discussion related to child pornography, child nudity, or other child abuse or exploitation.
Проблемы при обновлении
Ошибка применения преобразований. Проверьте правильности путей указанных преобразований»/«Error applying transforms. Verify that the specified transform paths are valid».
Проблема не связана с «Форсайт. Аналитическая платформа», это плавающая ошибка Windows Installer, который используется для установки.
Для исправления проблемы:
Запустите редактор реестра.
В ветке реестра HKEY_CLASSES_ROOT\Installer\Products\ найдите раздел, относящийся к «Форсайт. Аналитическая платформа». Поиск можно произвести по ключевому слову «Foresight Analytics Platform».
В найденном разделе удалите параметр « Transforms ».
Для того чтобы проблема не появлялась в будущем, рекомендуется выполнить следующие действия:
Найдите ветку реестра HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Installer (если раздел Installer отсутствует, то создайте его).
В разделе Installer создайте параметр DWORD « TransformsSecure » со значением 0 .
Отключите опцию « Кэшировать файлы преобразования в безопасном месте на рабочей станции » в редакторе локальной групповой политики для приложения Windows Installer:
Через меню « Пуск/Выполнить » запустите приложение «gpedit.msc».
Перейдите в раздел «Политика локального компьютера\Конфигурация компьютера\Административные шаблоны\Компоненты Windows\Windows Installer».
Найдите указанную опцию и установите режим «Выключен». При выполнении данного действия в реестре будет создан флаг « TransformsSecure » со значением 0 .
Если вы используете удаленный доступ через операционную систему, разработанную ранее Windows Server 2008, то также в ветке реестра HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Installer создайте DWORD параметр «EnableAdminTSRemote» со значением 1 .
Проблемы при установке
Ошибка «База данных: . Не удается открыть файл базы данных. Системная ошибка -2147287035»/«Database: . Cannot open database file. System error -2147287035».
Были изменены пользовательские переменные в окружении TEMP и TMP.
Были установлены неправильные разрешения для папки, содержащей один из устанавливаемых файлов.
Ниже перечислены варианты решения данной проблемы. Если вариант решения не помогает, перейдите к следующему варианту.
Если пользовательская переменная изменена, отличается от значения по умолчанию, необходимо обратно вернуть значение этих переменных: %USERPROFILE%\AppData\Local\Temp.
Создайте нового пользователя, добавьте его в группу администраторов и проведите установку или удаления под ним.
Отключите на время установки или удаления антивирусное программное обеспечение.
При установке или удалении через удаленный рабочий стол произошёл откат установки или удаления. Проблема встречается при установке или удалении комплектов Full, Standard и BIServer.
Данная проблема может появиться при наличии в папке с инсталлятором msi-файла инсталляционного пакета справочной системы (FP9Help_RU.msi или FP9Help_EN.msi).
Для корректной удаленной установки или удаления «Форсайт. Аналитическая платформа» установите отдельно «Форсайт. Аналитическая платформа» и справочную систему. Для отдельной установки или удаления «Форсайт. Аналитическая платформа» в папке с инсталлятором «Форсайт. Аналитическая платформа» должен отсутствовать msi-инсталлятор справочной системы. После установки или удаления «Форсайт. Аналитическая платформа» запустите msi-инсталлятор справочной системы (FP9Help_RU.msi или FP9Help_EN.msi).
При установке комплекта BIServer произошел откат установки. Ошибка встречается при установке с помощью инсталляторов FP9BIServer[Apache/IIS]_x86.exe или FP9BIServer[Apache/IIS]_x64.exe.
Эта проблема может возникнуть, если при настройке IIS пользователем не были установлены все нужные компоненты IIS.
Установите все нужные компоненты IIS. C описанием настройки IIS можете ознакомиться в документе «Установка веб-приложения «Форсайт. Аналитическая платформа»» раздел «Шаг 6. Настройка Internet Information Services» или на странице справки.
Не удалось найти файлы для установки требуемых компонентов Microsoft SQL Server Native Client 2008 R2 x64. Установка будет остановлена. Это может быть связано с неудачной или прерванной загрузкой.
Эта проблема может возникнуть, если инсталлятор не смог найти пререквизит Microsoft SQL Server Native Client 2008 R2, который должен находиться в папке ISSetupPrerequisites.
При установке в одной папке с инсталлятором должна находиться папка ISSetupPrerequisites, содержащая все необходимое программное обеспечение, которое потребуется для работы продукта «Форсайт. Аналитическая платформа». Ознакомьтесь со списком пререквизитов в справке продукта «Форсайт. Аналитическая платформа».
Ошибка 1402: Не удалось открыть ключ: . Проверьте наличие достаточных прав доступа к этому ключу либо свяжитесь с системным инженером.
Эта проблема может возникнуть, если программа установки не может открыть раздел реестра из-за отсутствия прав на этот раздел.
Ниже перечислены варианты решения данной проблемы. Если вариант решения не помогает, перейдите к следующему варианту.
На вкладке « Разрешения » установите флажок « Заменить все разрешения дочернего объекта на разрешения, наследуемые от этого объекта » (при этом, флажок « Добавить разрешения, наследуемые от родительских объектов » должен быть установлен);
На вкладке « Владелец » выделите имя «Administrators» и установите флажок « Заменить владельца субконтейнеров и объектов »;
Воспользуйтесь утилитой от Microsoft — SubInACL и выполните набор команд в следующей последовательности:
путь_до_файла/subinacl.exe /subkeyreg HKEY_LOCAL_MACHINE /setowner=Администратор;
путь_до_файла/subinacl.exe /subkeyreg HKEY_CURRENT_USER /setowner=Администратор;
путь_до_файла/subinacl.exe /subkeyreg HKEY_CLASSES_ROOT /setowner=Администратор;
путь_до_файла/subinacl.exe /subkeyreg HKEY_LOCAL_MACHINE /grant=Администратор=f /grant=system=f;
путь_до_файла/subinacl.exe /subkeyreg HKEY_CURRENT_USER /grant=Администратор=f /grant=system=f;
путь_до_файла/subinacl.exe /subkeyreg HKEY_CLASSES_ROOT /grant=Администратор=f /grant=system=f.
Отсутствуют права на обновление . Обратитесь к системному администратору. / You do not have permission to update . Please contact your system administrator.
Эта проблема может возникнуть, если при установке пререквизитов не хватило прав на объекты групповой политики.
Необходимо проверить права на объекты групповой политики:
Архивирование файлов и каталогов;
Восстановление файлов и каталогов;
Управление аудитом и журналом безопасности;
Назначение владельцем файлов и других объектов;
Завершение работы системы;
Чтобы просмотреть и изменить права пользователя, выполните перечисленные ниже действия:
Запустите редактор объектов групповой политики для локального компьютера или домена. Дополнительные сведения описаны на веб-сайте корпорации Microsoft в статье «Консоль управления групповыми политиками».
В разделе «Конфигурация компьютера» разверните элемент «Конфигурация Windows».
Выберите элемент «Параметры безопасности», а затем — «Локальные политики» и «Назначение прав пользователя».
Настройте права доступа на все необходимые для установки объекты.
Все ответы
Unfortunately, the summary.txt file alone does not tell us much. Details.txt is usually the file that gives the answer. You can have a look at it, but it is very verbose. But search for the error message to see where this happens.
Else up load the file somewhere and post the link. (If your account is not verified, you can still figure out a way to post something we can interpret as a URL.)
Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se
Could you share us the content of ‘ C:\Program Files\Microsoft SQL Server\140\Setup Bootstrap\Log\20191011_132715\SqlSupport_Cpu64_1.log ’ ?
>>The installer has encountered an unexpected error. The error code is 2203. Database: C:\WINDOWS\Installer\inprogressinstallinfo.ipi. Cannot open database file. System error -2147286788.
It seems installer folder is lacking adequate permissions.
Could you please try to give Full Control permission to the System and your logged on Windows User account by right-clicking on the ‘C:\WINDOWS\ Installer’ folder Properties?
Could you please try to run the installer as administrator?
Hope this could help you.
this is the content of C:\Program Files\Microsoft SQL Server\140\Setup Bootstrap\Log\20191011_132715\SqlSupport_Cpu64_1.log ’
При установке, обновлении в отдельных случаях могут возникать различные проблемы. Ниже описаны наиболее распространенные из них, а также причины их появления и пути решения.
Replies (4)
This issue might occur if there are no permissions assigned to temp folder.
I would suggest you to follow these methods and check if it helps.
Method 1: Give permissions to temp folder and check if it helps.
a. Go to Desktop, click on D: drive . (You may also check for C:drive)
b. Double click on Windows Folder, In the folder list, right-click the Temp folder and then click Properties and then click the Security tab .
c. Click the Edit button and on the next screen click Add .
d. On the next screen, in the large text window type Everyone and then click Check Names - Everyone should then be underlined.
e. Check the box for Full control under the Allow column, and then click OK, then OK again, and OK again to close all the windows.
Method 2: Unregister and re-register the Windows Installer.
a. Press Windows Key + R, type “msiexec /unregister ” (without quotes), and then click OK. Even if you do this correctly, it may look like nothing occurs.
b. In the run prompt, type “ msiexec /regserver ” (without quotes), and then click OK. Even if you do this correctly, it may look like nothing occurs, or you may briefly see an hourglass. After you run this command, the operation is complete.
c. Try to install the programs you wish to install and check.
Please update us with the results. We will be happy to assist you further.
Report abuse
Harassment is any behavior intended to disturb or upset a person or group of people. Threats include any threat of suicide, violence, or harm to another. Any content of an adult theme or inappropriate to a community web site. Any image, link, or discussion of nudity. Any behavior that is insulting, rude, vulgar, desecrating, or showing disrespect. Any behavior that appears to violate End user license agreements, including providing product keys or links to pirated software. Unsolicited bulk mail or bulk advertising. Any link to or advocacy of virus, spyware, malware, or phishing sites. Any other inappropriate content or behavior as defined by the Terms of Use or Code of Conduct. Any image, link, or discussion related to child pornography, child nudity, or other child abuse or exploitation.
When I try to install Java or Adobe products I get the following error:
Internal Error 2203.
The installer then terminates. I understand it's something to do with ownership and/or permissions but everything I tried so far with C:\Windows\Installer and User\Temp directories didn't work. I've also tried re-installing Windows Installer but after downloading the files, none of them will run either.
I also tried MicrosoftFixIt which gives error; We're sorry, but the program encountered a runtime error. Please try again later.
***Post moved by the moderator to the appropriate forum topic.***
This thread is locked. You can follow the question or vote as helpful, but you cannot reply to this thread.
Report abuse
Harassment is any behavior intended to disturb or upset a person or group of people. Threats include any threat of suicide, violence, or harm to another. Any content of an adult theme or inappropriate to a community web site. Any image, link, or discussion of nudity. Any behavior that is insulting, rude, vulgar, desecrating, or showing disrespect. Any behavior that appears to violate End user license agreements, including providing product keys or links to pirated software. Unsolicited bulk mail or bulk advertising. Any link to or advocacy of virus, spyware, malware, or phishing sites. Any other inappropriate content or behavior as defined by the Terms of Use or Code of Conduct. Any image, link, or discussion related to child pornography, child nudity, or other child abuse or exploitation.
Replies (8)
This issue may occur if Windows Installer package (.msi) file is damaged or corrupted.
Is the issue specific while installing Java and Adobe products?
Method 1:
If you have not tried this steps already, I would suggest you to add Full Control permissions to Everyone group in the Permissions list of the default Temp folder.
a) Click Windows Key + R on the keyboard.
b) T ype %temp% and hit Enter.
c) At the top of the Explorer window, in the address bar, click the folder to the left of Temp in the folder path (Local by default).
d) In the folder list, right-click the Temp folder and then click Properties. Then click the Security tab.
e) Click the Edit button and on the next screen click Add.
f) On the next screen, in the large text window type Everyone and then click Check Names. (Now Everyone should be underlined)
g) Check the box for Full control under the Allow column, and then click OK.
h) Then click OK and OK again to close all the windows.
Method 2:
If the issue persists, I would suggest you to check whether the Windows Installer service is running or not.
a. Right-click on Start button and click on Services.
b. Scroll down and find the Windows Installer. Double-click “Windows Installer” in the Services list.
c. On the General tab, make sure the service is started under “Service status”.
d. If the service is not running under Service status, click on Start and then click OK.
Method 3:
If the issue persists, I would suggest you to unregister and re-register the Windows Installer.
a) Click Windows Key + R on the keyboard.
b) In the " Open " box, type " msiexec /unreg ", and then press ENTER .
c) Click Windows Key + R on the keyboard.
d) In the " Open " box, type " msiexec /regserver ", and then press ENTER .
Check if the issue is resolved or not.
Hope this information helps. Reply to the post with updated status of the issue to assist you further.
Report abuse
Harassment is any behavior intended to disturb or upset a person or group of people. Threats include any threat of suicide, violence, or harm to another. Any content of an adult theme or inappropriate to a community web site. Any image, link, or discussion of nudity. Any behavior that is insulting, rude, vulgar, desecrating, or showing disrespect. Any behavior that appears to violate End user license agreements, including providing product keys or links to pirated software. Unsolicited bulk mail or bulk advertising. Any link to or advocacy of virus, spyware, malware, or phishing sites. Any other inappropriate content or behavior as defined by the Terms of Use or Code of Conduct. Any image, link, or discussion related to child pornography, child nudity, or other child abuse or exploitation.
I encountered this error and I cannot fix it.
Also the summary of log file is(if it helps):
Final result: Failed: see details below
Exit code (Decimal): -2068051813
Start time: 2019-10-11 13:27:16
End time: 2019-10-11 13:29:40
Requested action: Install
Setup completed with required actions for features.
Troubleshooting information for those features:
Next step for SQLEngine: Use the following information to resolve the error, and then try the setup process again.
Next step for Replication: Use the following information to resolve the error, and then try the setup process again.
Next step for Browser: Use the following information to resolve the error, and then try the setup process again.
Next step for Writer: Use the following information to resolve the error, and then try the setup process again.
Next step for SNAC: Use the following information to resolve the error, and then try the setup process again.
Next step for SNAC_SDK: Use the following information to resolve the error, and then try the setup process again.
Next step for ComponentUpdate: Use the following information to resolve the error, and then try the setup process again.
Product features discovered:
Product Instance Instance ID Feature Language Edition Version Clustered Configured
Package properties:
Description: Microsoft SQL Server 2017
ProductName: SQL Server 2017
Type: RTM
Version: 14
SPLevel: 0
Installation location: C:\SQLServer2017Media\Express_ENU\x64\setup\
Installation edition: Express
Product Update Status:
None discovered.
User Input Settings:
ACTION: Install
ADDCURRENTUSERASSQLADMIN: true
AGTSVCACCOUNT: NT AUTHORITY\NETWORK SERVICE
AGTSVCPASSWORD: *****
AGTSVCSTARTUPTYPE: Disabled
ASBACKUPDIR: Backup
ASCOLLATION: Latin1_General_CI_AS
ASCONFIGDIR: Config
ASDATADIR: Data
ASLOGDIR: Log
ASPROVIDERMSOLAP: 1
ASSERVERMODE: TABULAR
ASSVCACCOUNT:
ASSVCPASSWORD:
ASSVCSTARTUPTYPE: Automatic
ASSYSADMINACCOUNTS:
ASTELSVCACCT:
ASTELSVCPASSWORD:
ASTELSVCSTARTUPTYPE: 0
ASTEMPDIR: Temp
BROWSERSVCSTARTUPTYPE: Automatic
CLTCTLRNAME:
CLTRESULTDIR:
CLTSTARTUPTYPE: 0
CLTSVCACCOUNT:
CLTSVCPASSWORD:
CLTWORKINGDIR:
COMMFABRICENCRYPTION: 0
COMMFABRICNETWORKLEVEL: 0
COMMFABRICPORT: 0
CONFIGURATIONFILE:
CTLRSTARTUPTYPE: 0
CTLRSVCACCOUNT:
CTLRSVCPASSWORD:
CTLRUSERS:
ENABLERANU: true
ENU: true
EXTSVCACCOUNT:
EXTSVCPASSWORD:
FEATURES: SQLENGINE, REPLICATION, SNAC_SDK
FILESTREAMLEVEL: 0
FILESTREAMSHARENAME:
FTSVCACCOUNT:
FTSVCPASSWORD:
HELP: false
IACCEPTPYTHONLICENSETERMS: false
IACCEPTROPENLICENSETERMS: false
IACCEPTSQLSERVERLICENSETERMS: true
INDICATEPROGRESS: false
INSTALLSHAREDDIR: C:\Program Files\Microsoft SQL Server\
INSTALLSHAREDWOWDIR: C:\Program Files (x86)\Microsoft SQL Server\
INSTALLSQLDATADIR:
INSTANCEDIR: C:\Program Files\Microsoft SQL Server\
INSTANCEID: SQLEXPRESS
INSTANCENAME: SQLEXPRESS
ISMASTERSVCACCOUNT: NT AUTHORITY\Network Service
ISMASTERSVCPASSWORD:
ISMASTERSVCPORT: 8391
ISMASTERSVCSSLCERTCN:
ISMASTERSVCSTARTUPTYPE: Automatic
ISMASTERSVCTHUMBPRINT:
ISSVCACCOUNT: NT AUTHORITY\Network Service
ISSVCPASSWORD:
ISSVCSTARTUPTYPE: Automatic
ISTELSVCACCT:
ISTELSVCPASSWORD:
ISTELSVCSTARTUPTYPE: 0
ISWORKERSVCACCOUNT: NT AUTHORITY\Network Service
ISWORKERSVCCERT:
ISWORKERSVCMASTER:
ISWORKERSVCPASSWORD:
ISWORKERSVCSTARTUPTYPE: Automatic
MATRIXCMBRICKCOMMPORT: 0
MATRIXCMSERVERNAME:
MATRIXNAME:
MRCACHEDIRECTORY:
NPENABLED: 0
PBDMSSVCACCOUNT:
PBDMSSVCPASSWORD:
PBDMSSVCSTARTUPTYPE: 0
PBENGSVCACCOUNT:
PBENGSVCPASSWORD:
PBENGSVCSTARTUPTYPE: 0
PBPORTRANGE:
PBSCALEOUT: false
PID: *****
QUIET: false
QUIETSIMPLE: false
ROLE: AllFeatures_WithDefaults
RSINSTALLMODE: DefaultNativeMode
RSSVCACCOUNT:
RSSVCPASSWORD:
RSSVCSTARTUPTYPE: Automatic
SAPWD: *****
SECURITYMODE: SQL
SQLBACKUPDIR:
SQLCOLLATION: SQL_Latin1_General_CP1_CI_AS
SQLSVCACCOUNT: NT Service\MSSQL$SQLEXPRESS
SQLSVCINSTANTFILEINIT: false
SQLSVCPASSWORD:
SQLSVCSTARTUPTYPE: Automatic
SQLSYSADMINACCOUNTS: DESKTOP-7A3NATV\Miriam
SQLTELSVCACCT: NT Service\SQLTELEMETRY$SQLEXPRESS
SQLTELSVCPASSWORD:
SQLTELSVCSTARTUPTYPE: Automatic
SQLTEMPDBDIR:
SQLTEMPDBFILECOUNT: 1
SQLTEMPDBFILEGROWTH: 64
SQLTEMPDBFILESIZE: 8
SQLTEMPDBLOGDIR:
SQLTEMPDBLOGFILEGROWTH: 64
SQLTEMPDBLOGFILESIZE: 8
SQLUSERDBDIR:
SQLUSERDBLOGDIR:
SUPPRESSPRIVACYSTATEMENTNOTICE: false
TCPENABLED: 0
UIMODE: AutoAdvance
UpdateEnabled: true
UpdateSource: MU
USEMICROSOFTUPDATE: false
X86: false
Configuration file: C:\Program Files\Microsoft SQL Server\140\Setup Bootstrap\Log\20191011_132715\ConfigurationFile.ini
Rules with failures:
Scenario specific rules:
Rules report file: C:\Program Files\Microsoft SQL Server\140\Setup Bootstrap\Log\20191011_132715\SystemConfigurationCheck_Report.htm
Thanks in advance!
Читайте также: