Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics GP (Archived)

Unknown sql error

Posted on by Microsoft Employee

Hi, could you help me please i have this error when i post any journal entry

An unknown sql error occurred

 

thank you in advance

*This post is locked for comments

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Unknown sql error

    I forget it thank you very much Mr.Richard i will do it.

  • Richard Wheeler Profile Picture
    Richard Wheeler 75,730 on at
    RE: Unknown sql error

    If you make any changes to your fiscal period setup remember to run GL Reconcile to correct period balances.

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Unknown sql error

    thank you Mr.Mahmoud

    for your interesting this problem happen because of the configuration not done well

    the • Fiscal Period

    Tools > Setup > Company > Fiscal Period

    not configure well

    thank you in advance

  • Verified answer
    Mahmoud Saadi Profile Picture
    Mahmoud Saadi 32,738 on at
    RE: Unknown sql error

    Abdallah

    Is this resolved ? Let us know if you need any further assistance

    Your feedback is highly appreciated,

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Unknown sql error

    Thank you again Mr.Richard

    i try to use SQL profiler and i got an error that tell me that configuration not configure well so i make a whole Cycle to be sure that all configure well.

    Best Regards,

  • Richard Wheeler Profile Picture
    Richard Wheeler 75,730 on at
    RE: Unknown sql error

    We are here to help. I was wondering if this company may have been copied from another server and perhaps was set up with a different segment structure. What would happen now is that the script could reference fields that do not exist in your company database. This would result in the error message you are seeing. SQL Profiler will provide the answer.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Unknown sql error

    i am very thankful for your answer to me Mr. Richard wheeler

  • Verified answer
    Richard Wheeler Profile Picture
    Richard Wheeler 75,730 on at
    RE: Unknown sql error

    Run the SQL Profiler while you are the only one in GP and try to query the GL. You should be able to isolate the SQL statement and then run it in SSMS. You should get the same error message only with a more detailed description. Is it possible the segment structure is different for this company?

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Unknown sql error

    thank you again Mr Richard Wheeler for your responded

    there is no 'More Info' button i try to paste snapshot for the error but it doesn''t  appear

    i have other companies  but not configured as a company of the current Microsoft dynamics.

    yes i have been able to post.

    i think the answer will be in SQL profiling  

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Unknown sql error

    Thank you Mr. BABU BASKARAN for your response

    i try all of above but it doesnot work

    i think the answer will be in SQL profiling

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!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans