Configuration using SharePoint Powershell
- Open SharePoint 2010 Management Shell (Start -> All Programs -> Microsoft SharePoint 2010 Products -> SharePoint 2010 Management Shell)
- Run command Start-SPServiceInstance 7a3b057c-39f0-4a9c-b53f-25b6d0491b68
- Create a new SharePoint Service Application Pool if you want the new service application to run under a separate application pool by running the following command:
New-SPServiceApplicationPool -Name ApplicationPoolName -Account domain\user
(replace ApplicationPoolName with the desired application pool name and domain\user with the domain user that will be the application pool identity)
- Create a new JChem Service Application by running the New-JChemServiceApplication cmdlet.
E.g. Get-SPServiceApplicationPool ApplicationPoolName | New-JChemServiceApplication -Name JChem
(replace ApplicationPoolName with the name entered at step 3 or with the name of an existing application pool)
- Create the JChem Service Application Proxy that will connect to the newly created service application
E.g. Get-JChemServiceApplication JChem | New-JChemServiceApplicationProxy -Name JChemProxy
(replace JChem with the name of the service application from step 4)
- Configure the JChem Service Application database
E.g. Get-JChemServiceApplication JChem | Set-JChemServiceApplication -DatabaseServer dbserver -DatabaseName dbname
- replace JChem with the name of the JChem Service Application from step 4
- replace dbserver with the SQL server instance name where the database will be created or was previously created
- replace dbname withe the name of the database that will be created or the the name of an existing database
