web
You’re offline. This is a read only version of the page.
close
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

I have the same question (0)
  • Community Member Profile Picture
    on at

    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!

  • Suggested answer
    drummerboy_10 Profile Picture
    on at

    Hi Shelly -

    It's not this issue is it?

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

    --Sean

  • Community Member Profile Picture
    on at

    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.

  • drummerboy_10 Profile Picture
    on at

    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?

  • Community Member Profile Picture
    on at

    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

  • drummerboy_10 Profile Picture
    on at

    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?

  • drummerboy_10 Profile Picture
    on at

    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

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics GP (Archived)

#1
mtabor Profile Picture

mtabor 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans