web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Can't upgrade from 2015 to MS CRM 2016 (on-premise)

(0) ShareShare
ReportReport
Posted on by

Hi,

I'm trying to upgrade from MS-CRM 2015 (with the latest rullup) to MS-CRM 2016 and I'm getting this error message: "SQL Server Agent (MSSQLSERVER) (SQLSERVERAGENT) service is not running on the server PBC120."

My setup is (2 different servers): 

1. server (PBC120) for iis & mscrm install (including ms crm deployment).

2. server (PBC121) for SQL Server & Email router.

I started setup and selected my organization to be updated (from the list).

On the "System Checks" stage I'm getting green sign for everything except the Microsoft SQL server agent.

I have a green "V" sign for "Microsoft Dynamics CRM Database".

On the log file I can see that the setup connected to my database on the PBC121 server:

19:27:40|Verbose| Connecting to database Data Source=PBC121;Initial Catalog=test_unit_MSCRM;Integrated Security=SSPI.
19:27:41| Info| Check SqlTableValidator: Success
19:27:41|Verbose| Connecting to database Data Source=PBC121;Initial Catalog=test_unit_MSCRM;Integrated Security=SSPI.
19:27:41| Info| Check SqlViewValidator: Success

But on the "SQL Server" check, setup is trying to find the agent on my pbc120 server and not on the pbc121 setup (the correct location for the sql server).

Here is the line from the log file

19:28:03| Error| Check SqlServerAgentValidator : Failure: SQL Server Agent (MSSQLSERVER) (SQLSERVERAGENT) service is not running on the server PBC120.

How can I force setup to check for the SQLSERVERAGENT service on PBC121 server?

Thanks,

Lior 

*This post is locked for comments

I have the same question (0)
  • Daniela Ciupa Profile Picture
    on at

    As per the prerequisites for MSCRM installation, the account used for the installation should have the sysadmin privilege on the assigned SQL Instance and also the account should be the added in the Local Administrator Group of the SQL Server on which the assigned SQL instances got hosted.

    SQLAgent error will popup when the account is not a part of the administrator group of the SQL Server.

    The causes of this error message are as follows:

    • The user who is running Setup does not have local administrator permissions for the computer on which Microsoft SQL Server is running.

    • The SQLSERVERAGENT service is not running on the specified computer where SQL Server is running.

    Verify permission or start the SQLSERVERAGENT service

    • Verify that you have local administrator permissions for the computer on which SQL Server is running, and if it is necessary, grant the necessary permissions.

    • Verify the SQLSERVERAGENT service is running on the computer on which SQL Server is running. If the service is not running, start it.

    Start the SQLSERVERAGENT service

    1. Click Start, point to Administrative Tools, and then click Services.

    2. Right-click SQL Server Agent (MSSQLSERVER), and then click Start

    so:

    add the installation user as local administrator on the SQL server

    Installation user to have sysadmin system role on  the database instance

    Start SQL Agent  on SQLserver

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans