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

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

Transfer GP to SQL Server 2012

(0) ShareShare
ReportReport
Posted on by 250

Hi Everyone,

We are moving GP to another server in our organization.  I've found a really useful KB article (878449) with step-by-step instructions to do so.  Unfortunately, the capture_logins script found in the article hasn't been updated to accommodate SQL 2012.  

Has anyone seen a 2012 version?  

Thanks for the help.

Bill

*This post is locked for comments

I have the same question (0)
  • Community Member Profile Picture
    on at
    RE: Transfer GP to SQL Server 2012

    I actually found the updated for SQL2012 KB Article (KB878449_Capture_Logins.sql) on support.microsoft.com works great! Thank you for your prompt response.

  • Bill Campbell Profile Picture
    12 on at
    RE: Transfer GP to SQL Server 2012

    You were running that script against the Master DB right ?

    I found in the past that was a common error.

    Richard, when you reply to this thread, can post a link to the SQL2012 Script.

  • Community Member Profile Picture
    on at
    RE: Transfer GP to SQL Server 2012

    I ran your script in the link for sql2012 capture logins but it did not do anything that I know of.  Did it save a file somewhere? I have no results to copy and use on the new server to create logins.

  • Richard Wheeler Profile Picture
    75,848 Moderator on at
    RE: Transfer GP to SQL Server 2012

    The revised capture_logins script does work for SQL Server 2012. Thanks for this tip!

  • Richard Wheeler Profile Picture
    75,848 Moderator on at
    RE: Transfer GP to SQL Server 2012

    I can confirm that the previous capture login script does not work with SQL Server 2012 and the script mentioned in the link does work.

  • Richard Wheeler Profile Picture
    75,848 Moderator on at
    RE: Transfer GP to SQL Server 2012

    I am going to run the capture logins script I have later today on 2012 Server instance and see if I get the same results. This may be a learning moment as something may have changed.

  • Bill Warneke Profile Picture
    250 on at
    RE: Transfer GP to SQL Server 2012

    The code in this link worked for 2012:

    sqlhog.blogspot.com/.../sphelprevlogin.html

    Bill

  • Bill Warneke Profile Picture
    250 on at
    RE: Transfer GP to SQL Server 2012

    Thanks Richard.  This is the result of the script:

    Invalid object name 'master..sysxlogins'.

    Apparently this was dropped in 2012.

    Bill

  • Richard Wheeler Profile Picture
    75,848 Moderator on at
    RE: Transfer GP to SQL Server 2012

    I am not aware of any change to the Create Login SQL command in SQL 2012 so the results of the capture login script should work.

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…

Mansi Soni – Community Spotlight

We are honored to recognize Mansi Soni as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics GP (Archived)

#1
Community Member Profile Picture

Community Member 2

#1
babubaskaran@outlook.com Profile Picture

babubaskaran@outloo... 2

#1
Yng Lih Profile Picture

Yng Lih 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans