Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics GP (Archived)

The operation is not valid for the state of the transaction.

Posted on by

I keep getting this message: The operation is not valid for the state of the transaction.

It doesn't happen consistently.  I'm importing product data from an old Database to GP 2010.  Each time I run the app, this message appears, but not always in the same place or the same number of times.

I did a web search and saw that it might be the timeout, but I've added:

 

 

<

 

system.transactions><machineSettings maxTimeout="0:00:00"/></system.transactions>

to my .NET machine config as suggested in the results, but it didn't make a difference.

Any suggestions would be appreciated.

*This post is locked for comments

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: The operation is not valid for the state of the transaction.

    You must have MSDTC configured on both the server and desktop and that the desktop should also be set to accept incoming transactions and a user who has sql server priveleges...I used a service account that has domain admin priveleges to be on the safe side.  As soon as I properly configured the MSDTC on the client, it started to work as expected.

    community.dynamics.com/.../61340

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: The operation is not valid for the state of the transaction.

    Did you ever  get this resolved???

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,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans