Printer mapping for ASPNET user

Last post 05-14-2008 4:27 AM by Benson Yu - MSFT. 1 replies.

Sort Posts:

  • Printer mapping for ASPNET user

    05-08-2008, 6:50 PM
    • Loading...
    • ibeme
    • Joined on 12-13-2007, 8:42 AM
    • Posts 16
    Hi,

     

    I'm trying to print from ASP.NET but I can't get any printers to map for the ASPNET user.

     

    I've done the following to try to get printers to map:

     

    1. Change Application Pool identity from Network Service to Local System2. Copy HKEY_CURRENT_USER\Printers\Connections (for valid user with printer mappings) to HKEY_USERS\.DEFAULT

    Still the printers aren't mapped though, unless I log onto the server myself and run it, in which case it is able to use the printer mappings for my login.

     

    This has resulted in ASPNET being able to see mapped printers on the server for another user when they are logged in or have a remote session going, but it won't map it's own printers. Does anyone know what else I need to do to get printers to map for ASPNET user?

     

    Thanks,

    ibeme

     

  • Re: Printer mapping for ASPNET user

    05-14-2008, 4:27 AM
    Answer

    Hi ibeme,

    I find this thread is duplicate with the following one, which I have replied. Please check the following thread at your convenience. We will focus on that thead and this one should be closed. Thanks.

    Printing to network printer on server
    http://forums.asp.net/t/1258311.aspx

    Sincerely,
    Benson Yu
    Microsoft Online Community Support

    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Page 1 of 1 (2 items)