You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Packer - Elevated privileges required for installation of a local SQL Express database (Install-MockDatabaseServer.ps1) on Windows Server Core (2016/2019)
#95
Open
beutepa opened this issue
Jan 31, 2019
· 1 comment
If you want to provision the Vagrant box with a local SQL Server Express database, using Install-MockDatabaseServer.ps1 , you need to run it with elevated privileges.
E.g. by running the provisioner using the elevated_user and elevated_password combination:
Otherwise the installation will fail with the following error (in the installation log (%programfiles%\MicrosoftSQL Server\<server version>\Setup Bootstrap\Log\):
...
Exception type: Microsoft.SqlServer.Chainer.Infrastructure.ChainerInfrastructureException
Message: There was an error generating the XML document. HResult : 0x84b10001 FacilityCode : 1201 (4b1) ErrorCode : 1 (0001)
Data: DisableWatson = true Stack: at Microsoft.SqlServer.Chainer.Infrastructure.DataStoreService.SerializeObject(String rootPath, Object objectToSerialize, Boolean saveToCache)
...
beutepa
changed the title
Packer - Issue installing local SQL Express database on Windows Server 2016/2019 for (Hyper-V) Vagrant boxes
Packer - Issue installing local SQL Express database on Windows Server Core (2016/2019) for (Hyper-V) Vagrant boxes
Jan 31, 2019
beutepa
changed the title
Packer - Issue installing local SQL Express database on Windows Server Core (2016/2019) for (Hyper-V) Vagrant boxes
Packer - Elevated privileges required for installation of a local SQL Express database (Install-MockDatabaseServer.ps1) on Windows Server Core (2016/2019)
Jan 31, 2019
If you want to provision the Vagrant box with a local SQL Server Express database, using
Install-MockDatabaseServer.ps1
, you need to run it with elevated privileges.E.g. by running the provisioner using the elevated_user and elevated_password combination:
Otherwise the installation will fail with the following error (in the installation log (
%programfiles%\MicrosoftSQL Server\<server version>\Setup Bootstrap\Log\
):Sql server installation is failing. #5472
Note: The example Vagrant packer files do not contain this provisioner out-of-the-box.
The text was updated successfully, but these errors were encountered: