Skip to main content

Notifications

Microsoft Dynamics GP (Archived)

Copy Company Setup gives error

Posted on by Microsoft Employee

Windows Server 2003 sp2, SQL 2005 Express.  Using Copy Company Setup v9.2 - receive error "Process unable to complete.  An unspecified error occurred while updating SQL data.  If this persists, please contact Technical Support".  I've uninstalled & reinstalled the tool.  Logfile.txt shows it makes the SQL connection, that Dynamics exists, it proceeded to company listing, company array built successfully, userID is Administrator.  Then the log shows: 

Code_Page: CompanySelection.cs
Error_Number:
Error_Message: Incorrect syntax near 's'.
Unclosed quotation mark after the character string ''.
Error_Object: .Net SqlClient Data Provider
Error_Stack:    at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream)
   at System.Data.SqlClient.SqlCommand.ExecuteReader()
   at CopyCompanySetup.CompanySelection.cmdOk_Click(Object sender, EventArgs e)

 

Any ideas what to check?  Thanks in advance 


 

*This post is locked for comments

  • Mariano Gomez Profile Picture
    Mariano Gomez 26,225 on at
    Re: Copy Company Setup gives error

    Anywhere in your company setup information, do you have anything that starts with a single quote? For example, the company name or some other piece of data? I know this sounds strange, but this error is common when you have strings that contain single quote values, for example Nick's Farmacies.

  • Jocelyn Eure Profile Picture
    Jocelyn Eure 465 on at
    Re: Re: Copy Company Setup gives error

    I'm having this same error, but with version 10_2.  What do I need to do to fix this?  I am only copying the setups from Company, Financial, and payroll.

    Thanks, Jocelyn

  • Ron Wilson Profile Picture
    Ron Wilson 6,010 on at
    Re: Re: Copy Company Setup gives error

    Here is another way to do it instead of using the copy utilities.

    http://rldu.wordpress.com/2010/04/05/from-the-community-4-creating-a-test-company/

  • L Vail Profile Picture
    L Vail 65,271 on at
    Re: Copy Company Setup gives error

    Hi Ellen,

    Did you solve your Copy Company Setup issue?

    Kind regards,

    Leslie

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

New! Quick response templatesâš¡

Save time with the new custom templates!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,134 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 229,928 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans