Posted by: wajahatabbas | January 9, 2017

Resolving ‘SQL Server was unable to communicate with the LaunchPad service. Please verify the configuration of the service.’ issue

I was following the ‘Data Science with Microsoft SQL Server 2016’ ebook and the first step was to configure the R services.

After the installation, while going for the Hello World program with R/ SQL Server, while running the script on SQL Server, got the below error

“SQL Server was unable to communicate with the LaunchPad service. Please verify the configuration of the service.”

To resolve this, you need to launch the SQL Server 2016 Configuration Manager, you will notice that the ‘SQL Server Launchpad’ service is stopped, you need to start this.

Once you start this service, the SQL Server will allow you to run the R script.

I was running the below script

exec sp_configure ‘external scripts enabled’, 1
reconfigure with override

exec sp_execute_external_script @language =N’R’,
@script=N’OutputDataSet<-InputDataSet’,
@input_data_1 =N’select 1 as helloworld’
with result sets (([helloworld] int not null));
go

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Categories

%d bloggers like this: