Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

Integration error message - cannot write to a closed textwriter

(0) ShareShare
ReportReport
Posted on by

AP integrations started getting this message at the completion of the import process:

"Cannot write to a closed textwriter"

 

One user can click through the error the other has to force GP close.

 

Has anyone seen this before?

 

*This post is locked for comments

  • RE: Integration error message - cannot write to a closed textwriter

    Hi Shelly -

    Wanted to follow up and see if this was still a problem or if you were able to figure out what happened.

    --Sean

  • RE: Integration error message - cannot write to a closed textwriter

    So, when the users get this message, they click OK and the transactions are still imported into Dynamics GP, did I understand that correctly?

    Has anything recently changed with this integration?    Is it a straight import of data from an excel file or is there custom scripting involved with it?

  • RE: Integration error message - cannot write to a closed textwriter

    Hi Sean,

    Here are the answers to your question. =)

    1. Only two users run this integration and both receive the error. ( at one point one user could click ok to the error and GP would be fine, but the other could not click ok to the error and had to force close GP) BUT now while testing the user that had to force close GP was able to click ok to the error and move forward!

    ** Also transaction do get created during the Integration and put into a batch in GP***

    2 . This integration has worked before with no error

    3. I am not sure about this one

  • RE: Integration error message - cannot write to a closed textwriter

    Ok - a couple of things:

    1.  Is this happening for all users on the terminal server or just one?

    2.  Is this an integration which has worked previously which just started throwing the error?

    3.  When executing the AP integrations are other users NOT entering AP invoice (assuming these are invoices) at the same time?

  • RE: Integration error message - cannot write to a closed textwriter

    Hi Sean,

    Nope it's close but I don't even get an additional error message after  "cannot write to a closed textwriter" ! Just plan old cannot write to a closed textwriter.

  • Suggested answer
    RE: Integration error message - cannot write to a closed textwriter

    Hi Shelly -

    It's not this issue is it?

    community.dynamics.com/.../154612.aspx

    --Sean

  • RE: Integration error message - cannot write to a closed textwriter

    I would like to also add they are on a terminal server and it appears through some of our testing this error displays when some items fail in the integration.

    Thanks for your help!

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

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans