Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

GP printer default lost when reconnecting to RDS Session

(0) ShareShare
ReportReport
Posted on by 200

I've read numerous articles about this issue, but never a full solution to what we are experiencing. Hopefully someone can help here! A word of caution - I am a network guy and know very little about Dynamics, but our Dynamics contractor doesn't have a solution either (and he is the only one with access to the actual Dynamics support).

Environment
4x Server 2008 R2 Datacenter Virtual Machines
- File/Print
- Domain Controller
- SQL Server
- RDS Server w/ 25 CALs

All users connect via RDP to a full desktop to access Dynamics GP 10.0 (Version 10.00.1779). When users connect, their local default printer is mapped on the remote desktop session, so that printing anything in Dynamics will cause it to use their local printer by default.

Issue
When users are disconnected from the RDP session (due to network problems, them clicking the "x" instead of logging out, etc.) and then reconnected before the session is completely logged off, Dynamics "loses" their printer default. A reconnected session will still see all the printers, but the default printer for the users printer is lost they are defaulted to Microsoft XPS printer on the RDS server. Other applications (Word, Excel, Notepad, etc.) do not exhibit this behavior and properly acquire the reconnected default printer from the remote session.

What is exceptionally frustrating is that we migrated this client from a Server 2003 environment which did not appear to exhibit this behavior using traditional Terminal Services. I'm suspecting it has something to do with the way GP "reads" the printers (e.g. it does not appear to use the print services from Windows like other applications) combined with the newer RDS printer isolation in Server 2008.

Workarounds Attempted:
We've focused so far on trying to reduce the occurence of disconnects. We've changed many RDS policies to make the sessions more stable and set an automatic logoff time-out. However, forcing all disconnected sessions to instantly log off is not currently feasible because users need to be able to resume work after brief periods of connection loss. We also tried forcing users to manually reconnect (so that would realize a disconnect had taken place and be aware that their printers would be non-default again) but this has also been problematic.

I found this (potential) solution, but our Dynamics contractor does not believe it applies to this case:
http://blogs.msdn.com/b/developingfordynamicsgp/archive/2011/06/24/named-printers-application-default-printer-selections-not-quot-sticking-quot.aspx

The problem I'm describing is exactly the same as the one described in this blog post:
http://dynamicsgpblogster.blogspot.com/2011/08/default-printer-not-sticking-when.html

However, the solution he presents has to do with ensuring the RemoteApp sessions log off completely (instead of just disconnecting). That is really a workaround to the problem I'm trying to solve - how do make Dynamics GP 10.0 not "lose" the default printer during adisconnect.

 

*This post is locked for comments

  • Verified answer
    RE: GP printer default lost when reconnecting to RDS Session

    Hi Stretch,

    This is by design. If the connection is lost GP is going to have problems. If this is truly the issue you are having you need to do some network tracing and find out what is happening.

  • stretch47 Profile Picture
    stretch47 5 on at
    RE: GP printer default lost when reconnecting to RDS Session

    I have exactly the same problem as the original poster. I am on GP 2010 SP3 using RDS on 2008R2 to deliver the application.

    Exact same symptoms, no resolution. Bump.

  • RE: GP printer default lost when reconnecting to RDS Session

    Could you be more specific Talmeez? We need to know exactly what you are running into before we can assist.

  • Talmeez Profile Picture
    Talmeez 5 on at
    RE: GP printer default lost when reconnecting to RDS Session

    Hi

    I am using GP10 through remote desktop  and i want to add printer HP6500  to get repot from GP to my local machine printer (HP6500) kindly help me in this case...

  • Re: GP printer default lost when reconnecting to RDS Session

    There is no resolution for this as this is working by design. If the connection is lost GP will reset to the default windows printer. The 'resolution' would be not to have the connection be dropped.

  • Re: GP printer default lost when reconnecting to RDS Session

    Hi Jonathan,

    Did you ever find a solution to this?  I'm curious as we have seen this crop of a few times.

    Thanks,

    Bradley

  • Paul Hite Profile Picture
    Paul Hite 200 on at
    Re: GP printer default lost when reconnecting to RDS Session

    Jonathan,

    Thanks for the response. Unfortunately, that is exactly the problem - The printers are indeed still available from the workstation. They are also available after a reconnect. However, GP does not reassign the default printer unless you either close/reopen the application or go Printer Setup. Since our users often do not even know they were disconnected (automatic reconnect), the issue is exacerbated - they are unknowingly reconnected and go to print a report, but nothing ever prints since the selected printer is actually the XPS Writer.

    The real complaint is that this was never an issue on the old server (Server 2003 with GP10).

    I'm going to try turning off printer isolation - not a pretty solution, but if it works that would explain why 2003 did not have this issue. I can then tell the client that we can either use printer isolation or suffer with this issue, but not both.

  • Re: GP printer default lost when reconnecting to RDS Session

    Pretty advanced question for the forums Paul. I will try to answer this as best I can.

    GP is working by design. If GP is unable to find the default printer it will set the default printer in GP as the first local (xps, onenote, Etc.) printer from the machine that GP is being launched on. There is no resolution for this as GP is working as design. I would be curious to see if the printers from the workstation are available after the disconnect in Windows. If they are available in WIndows they will be available in GP the user may have to go into Printer Setup in GP and select the printer however.

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

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

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans