jjones
Posts: 68
Joined: Wed Jun 29, 2011 3:30 pm

SetSqlServiceWindowsServiceName fails with error 1603

I have a customer using our installer and they are trying to connect to an existing SQL server. They enter the credentials and Test Connection and that is successful. However, as soon they click Next to go to the final screen it crashes. I've attached the log. Can you give any insight into an issue with an SQL instance that would cause this? In the 100's of installations I've seen I've never seen this error.
Attachments
galaxy.txt
(55.97 KiB) Downloaded 395 times
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: SetSqlServiceWindowsServiceName fails with error 1603

Hello,

Indeed, as you said the execution of the “SetSqlServiceWindowsServiceName” custom action fails. You should try to debug your custom action and see what causes the weird behavior.
You can take a look on Create fully fledget C# custom actions article and How do I debug a .Net Installer Custom Action How-To's articles which may be useful to you.

Maybe it's a operating system version problem, although, I'm not sure I fully understand if your custom action fails all the time or in some particular cases.

If you need any help, please let us know.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”