When installing SQL Server 2008 Express on Windows 2008 64 bit server, you may encounter below error. I have got this error in godaddy's virtual server.
Error: The INSTALLSHAREDDIR command line value was not specified. This value must be specified when the INSTALLSHAREDWOWDIR value is specified.
To solve this issue, install sql server using command prompt. Here is how you can do it.
Open command prompt, go to the folder where your installation exe file is located and give the command like below.
SQLEXPRWT_x64_ENU.exe /ACTION=install /INSTANCEDIR=C:\SQLInstall\Microsoft SQL Server /INSTALLSQLDATADIR=C:\DATA /INSTALLSHAREDDIR=C:\SQLInstall\Microsoft SQL Server /INSTALLSHAREDWOWDIR=C:\SQLInstall\Microsoft SQL Server /FEATURES=SQL /INSTANCENAME=MSSQLSERVER /SQLSVCACCOUNT=NT AUTHORITY\Network Service/SQLSYSADMINACCOUNTS=BUILTIN\ADMINISTRATORS /AGTSVCACCOUNT=NT AUTHORITY\Network Service /IACCEPTSQLSERVERLICENSETERMS
Note: Modify the parameter values as per your system needs.
One more step/ prerequisite which might be required in some cases:
The system name and system login name should not be same which generally happens in some hosting servers. Renaming the server first and then installing sql server through command prompt will solve the issue.
No comments:
Post a Comment