Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

GP Utilities points to wrong data source after installing GP 2010 sp3

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

we have a gp 2010 (server name is gp2) running on a virtual server. I made a copy of the VM, and renamed it to gp4.

I want to install gp2010 sp3 on gp4. Installed fine except when I try to run GP Utilities, it points to gp2 (even though I have changed the data source to point to gp4).

pls help!

*This post is locked for comments

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    Re: GP Utilities points to wrong data source after installing GP 2010 sp3

    Thanks!

  • Re: GP Utilities points to wrong data source after installing GP 2010 sp3

    Varesh is correct that you need to run the following scripts:

    SELECT @@servername

    SELECT * from master..sysservers

    sp_dropserver '<WrongSERVERNAME>'

    sp_addserver '<RightSERVERNAME>', local

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    Re: GP Utilities points to wrong data source after installing GP 2010 sp3

    SQL Express is what I am using;  I am using SQL Management Studio to manage SQL Express

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    Re: GP Utilities points to wrong data source after installing GP 2010 sp3

    You are using SQL Express or SQL 2005/2008.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    Re: GP Utilities points to wrong data source after installing GP 2010 sp3

    when I execute  SELECT @@SERVERNAME

    I get the following gp2\SQLEXPRESS

    the other statements that you gave give me an error (see below)

    Msg 15015, Level 16, State 1, Procedure sp_dropserver, Line 42

    The server 'GP2' does not exist. Use sp_helpserver to show available servers.

    Msg 15028, Level 16, State 1, Procedure sp_MSaddserver_internal, Line 89

    The server 'GP4' already exists.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    Re: GP Utilities points to wrong data source after installing GP 2010 sp3

    1. Update the ODBC DSN connection on Server GP4

    2. When you make a copy of the VM the SQL server instance name has not been changed.

    The query below will give you the SQL instance name which will be still GP2 on GP4 server

    SELECT @@SERVERNAME

    Login into the SQL server as sa and update the SQL server instance name

    sp_dropserver GP2

    GO

    sp_addserver GP4, local;

    GO

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,387 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans