question

IshanJambhorkar-2466 avatar image
0 Votes"
IshanJambhorkar-2466 asked Yufeishao-msft edited

Error occured during 2nd time installation of SQL Server database 2019

Hello There,

I am Ishan from india and facing error during re installation of SQL server DataBase 2019. Before re installing this i made sure myself to uninstall all files from 'Control Panel' and from 'Services Tools'. But during inserting code in 'Powershell' it gives error.
Rest of tools like Microsoft SQL Management Studio, visual studio got re installed successfully. Just facing problem during installation of SQL Server.

Please let me know how to fixed it.


Thank You,
Ishan Jambhorkar


sql-server-general
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

OlafHelper-2800 avatar image
0 Votes"
OlafHelper-2800 answered

But during inserting code in 'Powershell' it gives error.

During SQL Server we never enter anything in PowerShell; so what and why have you entered something?

For more details about the cause [View and Read SQL Server Setup Log Files][1]

[1]: https://docs.microsoft.com/en-us/sql/database-engine/install-windows/view-and-read-sql-server-setup-log-files?view=sql-server-ver16
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

BjoernPeters avatar image
0 Votes"
BjoernPeters answered

If you are trying to install all parts of your environment with a PowerShell script, we need to know that script and what it is doing in detail.
Without that information, we cannot help you.

Normally you install SQL Server with a GUI, but you also can run setup.exe with a lot of parameters from the commandline... or eg with Powershell as a DSC-Module...

We need more information about what you are trying to do and how you are executing the SQL Server installation from that powershell.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

NaomiNNN avatar image
0 Votes"
NaomiNNN answered

In addition to other answers check if answer from Erland Sommarskog in this thread applies to you.
https://docs.microsoft.com/en-us/answers/questions/820021/34could-not-find-the-database-engine-startup-handl.html

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Yufeishao-msft avatar image
0 Votes"
Yufeishao-msft answered Yufeishao-msft edited

Hi @IshanJambhorkar-2466,

Please provide specific error information so that we can hely you resolve the problem more accurately.

Install SQL Server from the Command Prompt
SQL Server Installation with PowerShell


If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.





5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.