I have try to install SQL Server 2008 R2 Express from command prompt with below command line
/ACTION=Install /FEATURES=SQLEngine /INSTANCENAME=Myinstance /SQLSVCACCOUNT=NT AUTHORITY\NETWORK SERVICE /SQLSYSADMINACCOUNTS=BUILTIN\ADMINISTRATORS /IACCEPTSQLSERVERLICENSETERMS=True"
But it always fail and i check log file it showing error like
Overall summary:
Final result: SQL Server installation failed. To continue, investigate the reason for the failure, correct the problem, uninstall SQL Server, and then rerun SQL Server Setup.
Exit code (Decimal):-2068578304
Exit facility code: 1204
Exit error code: 0
Exit message: The specified credentials for the SQL Server service are not valid. To continue, provide a valid account and password for the SQL Server service.
Start time: 2012-11-30 12:51:24
End time: 2012-11-30 12:51:59
Requested action:Install
Machine Properties:
Machine name: Victor
Machine processor count:2
OS version:Windows 7
OS service pack:Service Pack 1
OS region:India
OS language: English (United States)
OS architecture:x64
Process architecture: 32 Bit
OS clustered: No
Product features discovered:
Product Instance Instance ID Feature Language Edition Version Clustered
Sql Server 2008 SQLEXPRESS MSSQL10.SQLEXPRESS Database Engine Services 1033 Express Edition 10.0.1600.22 No
Sql Server 2008 SQLEXPRESS MSSQL10.SQLEXPRESS SQL Server Replication 1033 Express Edition 10.0.1600.22 No
Sql Server 2008 Management Tools - Basic 1033 Express Edition 10.0.1600.22 No
Package properties:
Description: SQL Server Database Services 2008 R2
ProductName: SQL Server 2008 R2
Type: RTM
Version: 10
SPLevel: 0
Installation location: e:\f5b5880eab8afb8665d3b15bd6c0\x86\setup\
Installation edition: EXPRESS
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
ASDOMAINGROUP: <empty>
ASLOGDIR: Log
ASPROVIDERMSOLAP: 1
ASSVCACCOUNT: <empty>
ASSVCPASSWORD: *****
ASSVCSTARTUPTYPE: Automatic
ASSYSADMINACCOUNTS: <empty>
ASTEMPDIR: Temp
BROWSERSVCSTARTUPTYPE: Automatic
CONFIGURATIONFILE:
CUSOURCE:
ENABLERANU: True
ENU: True
ERRORREPORTING: False
FARMACCOUNT: <empty>
FARMADMINPORT: 0
FARMPASSWORD: *****
FEATURES: SQLENGINE
FILESTREAMLEVEL: 0
FILESTREAMSHARENAME: <empty>
FTSVCACCOUNT: <empty>
FTSVCPASSWORD: *****
HELP: False
IACCEPTSQLSERVERLICENSETERMS: True
INDICATEPROGRESS: False
INSTALLSHAREDDIR: C:\Program Files (x86)\Microsoft SQL Server\
INSTALLSHAREDWOWDIR: C:\Program Files (x86)\Microsoft SQL Server\
INSTALLSQLDATADIR: <empty>
INSTANCEDIR: C:\Program Files (x86)\Microsoft SQL Server\
INSTANCEID: Myinstance
INSTANCENAME: Myinstance
ISSVCACCOUNT:
ISSVCPASSWORD: *****
ISSVCSTARTUPTYPE: Automatic
NPENABLED: 0
PASSPHRASE: *****
PCUSOURCE:
PID: *****
QUIET: True
QUIETSIMPLE: False
ROLE: AllFeatures_WithDefaults
RSINSTALLMODE: FilesOnlyMode
RSSVCACCOUNT: NT AUTHORITY\NETWORK SERVICE
RSSVCPASSWORD: *****
RSSVCSTARTUPTYPE: Automatic
SAPWD: *****
SECURITYMODE: <empty>
SQLBACKUPDIR: <empty>
SQLCOLLATION: Latin1_General_CI_AI
SQLSVCACCOUNT:
SQLSVCPASSWORD: *****
SQLSVCSTARTUPTYPE: Automatic
SQLSYSADMINACCOUNTS: BUILTIN\ADMINISTRATORS
SQLTEMPDBDIR: <empty>
SQLTEMPDBLOGDIR: <empty>
SQLUSERDBDIR: <empty>
SQLUSERDBLOGDIR: <empty>
SQMREPORTING: False
TCPENABLED: 0
UIMODE: AutoAdvance
X86: False
Configuration file: C:\Program Files (x86)\Microsoft SQL Server\100\Setup Bootstrap\Log\20121130_125044\ConfigurationFile.ini
Detailed results:
Feature: Database Engine Services
Status: Failed: see logs for details
MSI status: Passed
Configuration status: Passed
Rules with failures:
Global rules:
Scenario specific rules:
Rules report file: C:\Program Files (x86)\Microsoft SQL Server\100\Setup Bootstrap\Log\20121130_125044\SystemConfigurationCheck_Report.htm
Exception summary:
The following is an exception stack listing the exceptions in outermost to innermost order
Inner exceptions are being indented
Exception type: Microsoft.SqlServer.Chainer.Infrastructure.InputSettingValidationException
Message:
The specified credentials for the SQL Server service are not valid. To continue, provide a valid account and password for the SQL Server service.
Data:
SQL.Setup.FailureCategory = InputSettingValidationFailure
DisableWatson = true
Stack:
at Microsoft.SqlServer.Chainer.Infrastructure.InputSettingService.LogAllValidationErrorsAndThrowFirstOne(ValidationState vs)
at Microsoft.SqlServer.Configuration.SetupExtension.ValidateFeatureSettingsAction.ExecuteAction(String actionId)
at Microsoft.SqlServer.Chainer.Infrastructure.Action.Execute(String actionId, TextWriter errorStream)
at
Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.ExecuteActionHelper(TextWriter statusStream, ISequencedAction actionToRun)
Inner exception type: Microsoft.SqlServer.Configuration.SqlEngine.ValidationException
Message:
The specified credentials for the SQL Server service are not valid. To continue, provide a valid account and password for the SQL Server service.
But when i try to install same exe file using c# code it will succeessfully installed
Dim info As New System.Diagnostics.ProcessStartInfo("cmd.exe")
info.FileName = My.Application.Info.DirectoryPath + "\SQLEXPR_x86_ENU.exe"
info.Arguments = "/Q /ACTION=INSTALL /FEATURES=SQLEngine /INSTANCENAME=Myinstance /SQLSVCACCOUNT=" & ChrW(34) & "NT AUTHORITY\Network Service" & ChrW(34) & " /SQLSYSADMINACCOUNTS=" & ChrW(34) & "BUILTIN\ADMINISTRATORS" & ChrW(34) & " /IACCEPTSQLSERVERLICENSETERMS=" & ChrW(34) & "True" & ChrW(34)
System.IO.File.WriteAllText("C:\\pathinsideinstaller", info.FileName)
info.UseShellExecute = False
info.CreateNoWindow = True
info.WindowStyle = ProcessWindowStyle.Hidden
Dim process As New System.Diagnostics.Process
process.StartInfo = info
process.Start()
process.WaitForExit()
process.Close()
Please help me how to resolve this issues ...
As it countains spaces, you need double quotes around the /SQLSVCACCOUNT parameter value, like so:
/SQLSVCACCOUNT="NT AUTHORITY\NETWORK SERVICE"
Related
I'm fairly new to Driver development but I'm currently using the latest version of Visual Studio and Windows 10 on both my Host and Target computer. I'm trying to set up provisioning for my target computer so that I can test the drivers that I make! However, I'm having an issue... I get this error every time I try to add my target computer to set up provisioning (Driver -> Test -> Configure Devices -> Add New Device). My computer hostname is correct (I can do 'ping PCNAME' and it works just fine). Visual studio, WDK, and the Windows 10 SDK are run on both computers. I've completely gone through Microsofts guide on how to provision a computer (https://learn.microsoft.com/en-us/windows-hardware/drivers/gettingstarted/provision-a-target-computer-wdk-8-1) and done everything it says. I've turned off the firewall completely. Every time I try to set up the provisioning though I get this error
Name: Install Driver Test Components
Path: C:\Users\Ztowne13\AppData\Roaming\Microsoft\WDKTestInfrastructure\InfrastructureTaskGroups\Install Driver Test Components.xml
Target Computer: New Computer
Install Driver Test Components: Host Computer: DESKTOP-5S0AEBO
Install Driver Test Components: Host Architecture: x86
Install Driver Test Components: Host 64bit Operating System: True
Install Driver Test Components: Host Operating System Version: 10.0.17134.0
Install Driver Test Components: Process Administrator Privilege: False
Progress event: Current: 1, Max: 15, Message: ""
Progress event: Current: 1, Max: 15, Message: "Copying required files"
[19:24:24:121]: Copying required files
[19:24:24:539]: Task "Copying required files" was aborted because an unexpected error occured during execution.
None of the discovered or specified addresses match the socket address family.
Parameter name: context
Progress event: Current: 1, Max: 15, Message: " Task "Copying required files" was aborted because an unexpected error occured during execution.
None of the discovered or specified addresses match the socket address family.
Parameter name: context"
Task result status updated: Aborted
Result completed
Test process exit code: 0
[19:24:24:543]: None of the discovered or specified addresses match the socket address family.
Parameter name: context
Progress event: Current: 1, Max: 15, Message: "None of the discovered or specified addresses match the socket address family.
Parameter name: context"
Progress event: Current: 1, Max: 15, Message: "Computer configuration log file://C:/Users/Ztowne13/AppData/Roaming/Microsoft/WDKTestInfrastructure/ProvisioningLogs/Driver%20Test%20Computer%20Configuration%2020181129192424070.log"
and this file is the configuration log suggested at the very end if you were curious.
I have no idea why this is not working and I can't provision my computer, any help would be much appreciated... Thank you!
Well... I solved it. All I did is type ipconfig in my target computer and put the IP (10.0.0.X) in the "Network Host Name" category instaed of the computer's name (DESKTOP-TESTPC) despite Microsoft's article saying to put the PC name and not the local IP.
I'm getting the following error on restoring backup using MS SQL 2017 Express:
Msg 3287, Level 16, State 1, Line 11
The file ID 2 on device 'C:\Backups\Test180529.bak' is incorrectly formed and can not be read.
Msg 3013, Level 16, State 1, Line 11
RESTORE DATABASE is terminating abnormally.
The test backup was made and was verified on the same MS SQL 2017 Express server instance:
BACKUP DATABASE [Test] TO DISK = N'C:\Backups\Test180529.bak' WITH NOFORMAT, INIT, NAME = N'Test-Full Database Backup', SKIP, NOREWIND, NOUNLOAD, NO_COMPRESSION, STATS = 50, CHECKSUM
GO
declare #backupSetId as int
select #backupSetId = position from msdb..backupset where
database_name=N'Test' and backup_set_id=(select max(backup_set_id) from msdb..backupset where database_name=N'Test' )
if #backupSetId is null begin raiserror(N'Verify failed. Backup information for database ''Test'' not found.', 16, 1) end
RESTORE VERIFYONLY FROM DISK = N'C:\Backups\Test180529.bak' WITH FILE = #backupSetId, NOUNLOAD, NOREWIND
GO
Here are the backup process messages:
52 percent processed.
Processed 304 pages for database 'Test', file 'Test' on file 1.
100 percent processed.
Processed 2 pages for database 'Test', file 'Test_log' on file 1.
BACKUP DATABASE successfully processed 306 pages in 0.115 seconds (20.788 MB/sec).
The backup set on file 1 is valid.
I have used this MS SQL Server 2017 Express instance to successfully restore backups made on other MS SQL Server instances running on other systems.
The problematic MS SQL Server 2017 instance is running on a Windows Server R2 Standard VPS.
Update
select ##version
Microsoft SQL Server 2017 (RTM) - 14.0.1000.169 (X64) Aug 22 2017 17:04:49 Copyright (C) 2017 Microsoft Corporation Express Edition (64-bit) on Windows Server 2012 R2 Standard 6.3 <X64> (Build 9600: ) (Hypervisor)
I have fixed my MS SQL 2017 Express setup's backup/restore subject issue by using the "SQL Server® 2017 for Microsoft® Windows Latest Cumulative Update" (https://www.microsoft.com/en-us/download/details.aspx?id=56128).
The version of my MS SQL Server 2017 Express setup now is:
Microsoft SQL Server 2017 (RTM-CU7) (KB4229789) - 14.0.3026.27 (X64) May 10 2018 12:38:11 Copyright (C) 2017 Microsoft Corporation Express Edition (64-bit) on Windows Server 2012 R2 Standard 6.3 (Build 9600: ) (Hypervisor)
I’m building a Docker Windows container with Microsoft Office 2013 using following Dockerfile:
FROM microsoft/windowsservercore
## Setup package management.
ENV chocolateyUseWindowsCompression=false
RUN powershell -Command "iwr https://chocolatey.org/install.ps1 -UseBasicParsing | iex; Install-PackageProvider -Name chocolatey -Force"
## Installing office
RUN powershell choco install officeproplus2013 --version 15.0.4827 -y
ENTRYPOINT powershell
When I try to create Microsoft Word COM object from Powershell console
$Word = New-Object -ComObject Word.Application
I get following error after 30 seconds:
New-Object : Retrieving the COM class factory for component with CLSID {000209FF-0000-0000-C000-000000000046} failed due to the following error: 80080005 Server execution failed (Exception from HRESULT:
0x80080005 (CO_E_SERVER_EXEC_FAILURE)).
At line:1 char:9
+ $Word = New-Object -ComObject Word.Application
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ResourceUnavailable: (:) [New-Object], COMException
+ FullyQualifiedErrorId : NoCOMClassIdentified,Microsoft.PowerShell.Commands.NewObjectCommand
The same command works fine when I install Office in the same way and try to execute it on the virtual machine created from Windows Server 2016 Base image on AWS.
In Windows Event log I see following records in Application logname:
Message : Fault bucket 108441132345, type 1
Event Name: APPCRASH
Response: Not available
Cab Id: 0
Problem signature:
P1: WINWORD.EXE
P2: 15.0.4569.1504
P3: 52c5eccd
P4: KERNELBASE.dll
P5: 10.0.14393.206
P6: 57dace38
P7: c06d007e
P8: 000da732
P9:
P10:
Attached files:
\\?\C:\Windows\Temp\WER44FE.tmp.csv
\\?\C:\Windows\Temp\WER450F.tmp.txt
These files may be available here:
C:\ProgramData\Microsoft\Windows\WER\ReportArchive\AppCrash_WINWORD.EXE_3ff88aa40f6b7d16af04dad69537b6eb893d5_9d40f520_e5f6451e
Analysis symbol:
Rechecking for solution: 0
Report Id: facfa21b-edbb-402e-8916-3fbbcfe06244
Report Status: 4104
EventID : 1001
MachineName : b68a674c1cba
Data : {}
Index : 418
Category : (0)
CategoryNumber : 0
EntryType : Information
Message : Fault bucket , type 0
Event Name: APPCRASH
Response: Not available
Cab Id: 0
Problem signature:
P1: WINWORD.EXE
P2: 15.0.4569.1504
P3: 52c5eccd
P4: KERNELBASE.dll
P5: 10.0.14393.206
P6: 57dace38
P7: c06d007e
P8: 000da732
P9:
P10:
Attached files:
These files may be available here:
C:\ProgramData\Microsoft\Windows\WER\ReportQueue\AppCrash_WINWORD.EXE_3ff88aa40f6b7d16af04dad69537b6eb893d5_9d40f520_ae0a41f1
Analysis symbol:
Rechecking for solution: 0
Report Id: facfa21b-edbb-402e-8916-3fbbcfe06244
Report Status: 4100
Hashed bucket:
Source : Windows Error Reporting
ReplacementStrings : {, 0, APPCRASH, Not available...}
InstanceId : 1001
TimeGenerated : 12/5/2016 1:52:26 PM
TimeWritten : 12/5/2016 1:52:26 PM
UserName :
Site :
Container :
EventID : 1000
MachineName : b68a674c1cba
Data : {}
Index : 417
Category : Application Crashing Events
CategoryNumber : 100
EntryType : Error
Message : Faulting application name: WINWORD.EXE, version: 15.0.4569.1504, time stamp: 0x52c5eccd
Faulting module name: KERNELBASE.dll, version: 10.0.14393.206, time stamp: 0x57dace38
Exception code: 0xc06d007e
Fault offset: 0x000da732
Faulting process id: 0x5ae4
Faulting application start time: 0x01d24efecf6dbf33
Faulting application path: C:\Program Files (x86)\Microsoft Office\Office15\WINWORD.EXE
Faulting module path: C:\Windows\System32\KERNELBASE.dll
Report Id: facfa21b-edbb-402e-8916-3fbbcfe06244
Faulting package full name:
Faulting package-relative application ID:
Source : Application Error
ReplacementStrings : {WINWORD.EXE, 15.0.4569.1504, 52c5eccd, KERNELBASE.dll...}
InstanceId : 1000
TimeGenerated : 12/5/2016 1:52:25 PM
TimeWritten : 12/5/2016 1:52:25 PM
UserName :
Site :
Container :
Content of the Report.wer file which was attached to the error event
Version=1
EventType=APPCRASH
EventTime=131254397111571055
ReportType=2
Consent=1
UploadTime=131254397117750833
ReportIdentifier=00af6f34-bb21-11e6-a94c-c1ade9024feb
IntegratorReportIdentifier=f48b4b89-7ac0-4b8b-8714-5827be5c2a54
WOW64=1
NsAppName=WINWORD.EXE
AppSessionGuid=000056c0-0390-0014-0d3e-cec22d4fd201
TargetAppId=W:0000da39a3ee5e6b4b0d3255bfef95601890afd80709!0000da39a3ee5e6b4b0d3255bfef95601890afd80709!WINWORD.EXE
TargetAppVer=2016//09//27:07:41:29!1e4b16!WINWORD.EXE
BootId=4294967295
Response.BucketId=294fbccdff50bb44d2891850764ece57
Response.BucketTable=1
Response.LegacyBucketId=108548871343
Response.type=4
Sig[0].Name=Application Name
Sig[0].Value=WINWORD.EXE
Sig[1].Name=Application Version
Sig[1].Value=15.0.4871.1000
Sig[2].Name=Application Timestamp
Sig[2].Value=57ea22a9
Sig[3].Name=Fault Module Name
Sig[3].Value=KERNELBASE.dll
Sig[4].Name=Fault Module Version
Sig[4].Value=10.0.14393.321
Sig[5].Name=Fault Module Timestamp
Sig[5].Value=57f4c291
Sig[6].Name=Exception Code
Sig[6].Value=c06d007e
Sig[7].Name=Exception Offset
Sig[7].Value=000da6f2
DynamicSig[1].Name=OS Version
DynamicSig[1].Value=10.0.14393.2.0.0.400.8
DynamicSig[2].Name=Locale ID
DynamicSig[2].Value=1033
DynamicSig[22].Name=Additional Information 1
DynamicSig[22].Value=2beb
DynamicSig[23].Name=Additional Information 2
DynamicSig[23].Value=2beba6fb4680d73a8c78ca7c24ccdb46
DynamicSig[24].Name=Additional Information 3
DynamicSig[24].Value=34b8
DynamicSig[25].Name=Additional Information 4
DynamicSig[25].Value=34b85e01dbe9529312a819250a584bb2
UI[2]=C:\Program Files\Microsoft Office 15\Root\Office15\WINWORD.EXE
UI[5]=Check online for a solution (recommended)
UI[6]=Check for a solution later (recommended)
UI[7]=Close
UI[8]=Microsoft Word stopped working and was closed
UI[9]=A problem caused the application to stop working correctly. Windows will notify you if a solution is available.
UI[10]=&Close
LoadedModule[0]=C:\Program Files\Microsoft Office 15\Root\Office15\WINWORD.EXE
LoadedModule[1]=C:\Windows\SYSTEM32\ntdll.dll
LoadedModule[2]=C:\Windows\System32\KERNEL32.DLL
LoadedModule[3]=C:\Windows\System32\KERNELBASE.dll
LoadedModule[4]=C:\Windows\system32\apphelp.dll
LoadedModule[5]=C:\Program Files\Microsoft Office 15\Root\Office15\AppVIsvSubsystems32.dll
LoadedModule[6]=C:\Program Files\Microsoft Office 15\Root\Office15\MSVCR100.dll
LoadedModule[7]=C:\Windows\System32\ADVAPI32.dll
LoadedModule[8]=C:\Windows\System32\msvcrt.dll
LoadedModule[9]=C:\Program Files\Microsoft Office 15\Root\Office15\AppVIsvStream32.dll
LoadedModule[10]=C:\Windows\System32\sechost.dll
LoadedModule[11]=C:\Windows\System32\RPCRT4.dll
LoadedModule[12]=C:\Windows\System32\USER32.dll
LoadedModule[13]=C:\Program Files\Microsoft Office 15\Root\Office15\c2r32.dll
LoadedModule[14]=C:\Windows\System32\win32u.dll
LoadedModule[15]=C:\Windows\System32\SspiCli.dll
LoadedModule[16]=C:\Windows\System32\CRYPTBASE.dll
LoadedModule[17]=C:\Windows\System32\GDI32.dll
LoadedModule[18]=C:\Windows\System32\bcryptPrimitives.dll
LoadedModule[19]=C:\Windows\System32\gdi32full.dll
LoadedModule[20]=C:\Windows\System32\SHELL32.dll
LoadedModule[21]=C:\Windows\System32\cfgmgr32.dll
LoadedModule[22]=C:\Windows\SYSTEM32\USERENV.dll
LoadedModule[23]=C:\Windows\System32\windows.storage.dll
LoadedModule[24]=C:\Windows\System32\ucrtbase.dll
LoadedModule[25]=C:\Windows\System32\combase.dll
LoadedModule[26]=C:\Windows\System32\profapi.dll
LoadedModule[27]=C:\Windows\System32\powrprof.dll
LoadedModule[28]=C:\Windows\System32\shlwapi.dll
LoadedModule[29]=C:\Windows\System32\kernel.appcore.dll
LoadedModule[30]=C:\Windows\System32\shcore.dll
LoadedModule[31]=C:\Windows\System32\ole32.dll
LoadedModule[32]=C:\Windows\System32\oleaut32.dll
LoadedModule[33]=C:\Windows\System32\msvcp_win.dll
LoadedModule[34]=C:\Program Files\Microsoft Office 15\Root\Office15\wwlib.dll
LoadedModule[35]=C:\Windows\WinSxS\x86_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.14393.321_none_baab3cb4359688b4\gdiplus.dll
LoadedModule[36]=C:\Program Files\Microsoft Office 15\Root\Office15\oart.dll
LoadedModule[37]=C:\Program Files\Microsoft Office 15\Root\Office15\MSVCP100.dll
LoadedModule[38]=C:\Windows\SYSTEM32\d2d1.dll
LoadedModule[39]=C:\Windows\SYSTEM32\CRYPT32.dll
LoadedModule[40]=C:\Windows\SYSTEM32\MSASN1.dll
LoadedModule[41]=C:\Program Files (x86)\Common Files\Microsoft Shared\Office15\mso.dll
LoadedModule[42]=C:\Windows\SYSTEM32\MSIMG32.dll
LoadedModule[43]=C:\Windows\SYSTEM32\WTSAPI32.dll
LoadedModule[44]=C:\Windows\SYSTEM32\WINSTA.dll
LoadedModule[45]=C:\Windows\SYSTEM32\dxgi.dll
LoadedModule[46]=C:\Windows\SYSTEM32\msi.dll
LoadedModule[47]=C:\Windows\SYSTEM32\bcrypt.dll
LoadedModule[48]=C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.14393.447_none_89c64d28dafea4b9\Comctl32.dll
LoadedModule[49]=C:\Program Files (x86)\Common Files\Microsoft Shared\Office15\MSPTLS.DLL
LoadedModule[50]=C:\Windows\SYSTEM32\UxTheme.dll
LoadedModule[51]=C:\Windows\SYSTEM32\d3d11.dll
LoadedModule[52]=C:\Windows\SYSTEM32\d3d10warp.dll
State[0].Key=Transport.DoneStage1
State[0].Value=1
FriendlyEventName=Stopped working
ConsentKey=APPCRASH
AppName=Microsoft Word
AppPath=C:\Program Files\Microsoft Office 15\Root\Office15\WINWORD.EXE
NsPartner=windows
NsGroup=windows8
ApplicationIdentity=BA43D6538E2E0AA779B61DB4AA39A3A7
MetadataHash=-627680739
I have read a lot of information. But most of sollutions are about full Windows versions and are using mostly GUI.
I would like to ask advice about what can be a reason of such error? How I can troubleshoot using Powershell remote connection to the Docker container?
Thank you in advance!
PS: Output of ‘docker version’ command:
Client:
Version: 1.12.2-cs2-ws-beta
API version: 1.25
Go version: go1.7.1
Git commit: 050b611
Built: Tue Oct 11 02:35:40 2016
OS/Arch: windows/amd64
Server:
Version: 1.12.2-cs2-ws-beta
API version: 1.25
Go version: go1.7.1
Git commit: 050b611
Built: Tue Oct 11 02:35:40 2016
OS/Arch: windows/amd64
Here's how the error looks while the installation:
An error occurred during the setup process of the feature Attempted to
perform an unauthorized operation.
Clicking on Retry doesn't help, if I click on the Cancel button, it continues but then there will come up more errors like this one:
NOTE: I'm not using any VM, I'm using Windows 7 Ultimate 32 bit as my OS.
Here's the log details:
Overall summary:
Final result: Failed: see details below
Exit code (Decimal): -2068119551
Start time: 2013-10-18 14:59:09
End time: 2013-10-18 16:02:02
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, uninstall this feature, and then run the setup process again.
Next step for Replication: Use the following information to resolve the error, uninstall this feature, and then run the setup process again.
Next step for IS: Use the following information to resolve the error, uninstall this feature, and then run the setup process again.
Machine Properties:
Machine name: H65617
Machine processor count: 4
OS version: Windows 7
OS service pack: Service Pack 1
OS region: United States
OS language: ...)
OS architecture: x86
Process architecture: 32 Bit
OS clustered: No
Product features discovered:
Product Instance Instance ID Feature Language Edition Version Clustered
Package properties:
Description: Microsoft SQL Server 2012 Service Pack 1
ProductName: SQL Server 2012
Type: RTM
Version: 11
SPLevel: 0
Installation location: F:\x86\setup\
Installation edition: Standard
Product Update Status:
None discovered.
User Input Settings:
ACTION: Install
ADDCURRENTUSERASSQLADMIN: false
AGTSVCACCOUNT: bezeq
AGTSVCPASSWORD: *****
AGTSVCSTARTUPTYPE: Manual
ASBACKUPDIR: Backup
ASCOLLATION: Latin1_General_CI_AS
ASCONFIGDIR: Config
ASDATADIR: Data
ASLOGDIR: Log
ASPROVIDERMSOLAP: 1
ASSERVERMODE: MULTIDIMENSIONAL
ASSVCACCOUNT: <empty>
ASSVCPASSWORD: <empty>
ASSVCSTARTUPTYPE: Automatic
ASSYSADMINACCOUNTS: <empty>
ASTEMPDIR: Temp
BROWSERSVCSTARTUPTYPE: Automatic
CLTCTLRNAME: <empty>
CLTRESULTDIR: <empty>
CLTSTARTUPTYPE: 0
CLTSVCACCOUNT: <empty>
CLTSVCPASSWORD: <empty>
CLTWORKINGDIR: <empty>
COMMFABRICENCRYPTION: 0
COMMFABRICNETWORKLEVEL: 0
COMMFABRICPORT: 0
CONFIGURATIONFILE: C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\Log\20131018_144620\ConfigurationFile.ini
CTLRSTARTUPTYPE: 0
CTLRSVCACCOUNT: <empty>
CTLRSVCPASSWORD: <empty>
CTLRUSERS: <empty>
ENABLERANU: false
ENU: true
ERRORREPORTING: false
FEATURES: SQLENGINE, REPLICATION, BIDS, CONN, IS, BC, SDK, BOL, SSMS, ADV_SSMS, SNAC_SDK
FILESTREAMLEVEL: 0
FILESTREAMSHARENAME: <empty>
FTSVCACCOUNT: <empty>
FTSVCPASSWORD: <empty>
HELP: false
IACCEPTSQLSERVERLICENSETERMS: false
INDICATEPROGRESS: false
INSTALLSHAREDDIR: C:\Program Files\Microsoft SQL Server\
INSTALLSHAREDWOWDIR: <empty>
INSTALLSQLDATADIR: <empty>
INSTANCEDIR: C:\Program Files\Microsoft SQL Server\
INSTANCEID: MSSQLSERVER
INSTANCENAME: MSSQLSERVER
ISSVCACCOUNT: ****
ISSVCPASSWORD: *****
ISSVCSTARTUPTYPE: Automatic
MATRIXCMBRICKCOMMPORT: 0
MATRIXCMSERVERNAME: <empty>
MATRIXNAME: <empty>
NPENABLED: 0
PID: *****
QUIET: false
QUIETSIMPLE: false
ROLE: <empty>
RSINSTALLMODE: DefaultNativeMode
RSSHPINSTALLMODE: DefaultSharePointMode
RSSVCACCOUNT: <empty>
RSSVCPASSWORD: <empty>
RSSVCSTARTUPTYPE: Automatic
SAPWD: *****
SECURITYMODE: SQL
SQLBACKUPDIR: <empty>
SQLCOLLATION: ****
SQLSVCACCOUNT: ****
SQLSVCPASSWORD: *****
SQLSVCSTARTUPTYPE: Automatic
SQLSYSADMINACCOUNTS: ****
SQLTEMPDBDIR: <empty>
SQLTEMPDBLOGDIR: <empty>
SQLUSERDBDIR: <empty>
SQLUSERDBLOGDIR: <empty>
SQMREPORTING: false
TCPENABLED: 1
UIMODE: Normal
UpdateEnabled: true
UpdateSource: MU
X86: false
Configuration file: C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\Log\20131018_144620\ConfigurationFile.ini
Detailed results:
Feature: Management Tools - Complete
Status: Passed
Feature: Client Tools Connectivity
Status: Passed
Feature: Client Tools SDK
Status: Passed
Feature: Client Tools Backwards Compatibility
Status: Passed
Feature: Management Tools - Basic
Status: Passed
Feature: SQL Server Data Tools
Status: Passed
Feature: Database Engine Services
Status: Failed: see logs for details
Reason for failure: An error occurred during the setup process of the feature.
Next Step: Use the following information to resolve the error, uninstall this feature, and then run the setup process again.
Component name: SQL Server Database Engine Services Instance Features
Component error code: 0x84BB0001
Error description: Attempted to perform an unauthorized operation.
Error help link: http://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=11.0.3128.0&EvtType=0x6121810A%400x92D13C14&EvtType=0x6121810A%400x92D13C14
Feature: SQL Server Replication
Status: Failed: see logs for details
Reason for failure: An error occurred for a dependency of the feature causing the setup process for the feature to fail.
Next Step: Use the following information to resolve the error, uninstall this feature, and then run the setup process again.
Component name: SQL Server Database Engine Services Instance Features
Component error code: 0x84BB0001
Error description: Attempted to perform an unauthorized operation.
Error help link: http://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=11.0.3128.0&EvtType=0x6121810A%400x92D13C14&EvtType=0x6121810A%400x92D13C14
Feature: Integration Services
Status: Failed: see logs for details
Reason for failure: An error occurred during the setup process of the feature.
Next Step: Use the following information to resolve the error, uninstall this feature, and then run the setup process again.
Component name: SQL Server Integration Services
Component error code: 0x84BB0001
Error description: SSIS setup exception
Error help link: http://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=11.0.3128.0&EvtType=0x6121810A%400x92D13C14&EvtType=0x6121810A%400x92D13C14
Feature: SQL Browser
Status: Passed
Feature: Documentation Components
Status: Passed
Feature: SQL Writer
Status: Passed
Feature: SQL Client Connectivity
Status: Passed
Feature: SQL Client Connectivity SDK
Status: Passed
Rules with failures:
Global rules:
Scenario specific rules:
Rules report file: C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\Log\20131018_144620\SystemConfigurationCheck_Report.htm
This also worked for me, however the path for Win7 is
C:/Users/[UserName]/AppData/Local/Microsoft_Corporation.
I deleted the contents in this folder, ran the SQL installation again as a repair and it ran clean. Nothing got recreated in the c:/Users/[UserName]/AppData/Local/Microsoft_Corporation folder.
I had the same experience trying to install SQLServer 2012 standard on Windows 8.1, I resolved it by deleting the folder "C:/Users/[UserName]/AppData/Microsoft_Corporation" and it worked, extracting the iso file into a local folder would help too .
I have a WiX Bundle that has an SQL Server 2012 SP1 ExePackage which correctly installs SQL Server in a VM. When booting the machine from a VHD with the same OS that works in the VM, the setup fails, yet when I run the command line specified in the ExePackage, I have no problems and SQL Server gets installed correctly.
What could be running within the bootstrapper be changing for the SQL Server setup?
This is the ExePackage:
<ExePackage
Id = "SqlServerExpress"
Cache = "no"
Compressed = "no"
PerMachine = "yes"
Permanent = "yes"
Vital = "yes"
Name = "redist\SQLEXPR_x64_ENU.exe"
InstallCommand = "/ACTION=Install /UPDATEENABLED=false /INSTANCENAME=$(var.SqlInstanceName) /FEATURES=SQLEngine /QS /HIDECONSOLE /ROLE=ALLFeatures_WithDefaults /SKIPRULES=RebootRequiredCheck /SQLSYSADMINACCOUNTS=BUILTIN\Administrators /IACCEPTSQLSERVERLICENSETERMS"
RepairCommand = "/ACTION=Repair /UPDATEENABLED=false /INSTANCENAME=$(var.SqlInstanceName) /FEATURES=SQLEngine /QS /HIDECONSOLE"
DownloadUrl = "$(var.SqlDownloadUrl_x64)"
InstallCondition = "VersionNT64"
DetectCondition = "SqlServerInstanceInstalled"
>
Updated: The setup logs.