locked
Visual studio 2010 web app deployed on windows server 2012 R2 - Printing option not working RRS feed

  • Question

  • User87169510 posted

    Hi,

    I deployed visual studio 2010 application on windows server 2012 R2 printing option working  on visual studio development server with assignment of port, but if i change local iis server then printing option give following error.

    Message : The type initializer for '#GLf.#MLf' threw an exception.

    InnerException :  "No printers are installed"

    Line1 : Dim PrnRender As New DataDynamics.Reports.Rendering.Graphics.PrintDocumentRenderingExtension

    Line2 : Dim PrnSettings As NameValueCollection = PrnRender.GetSupportedSettings.GetSettings()

    Error occur from Line2.

    please any help will appreciable.

    Thanks and Regards,

    Deeptech

    Friday, January 15, 2016 10:50 AM

Answers

  • User-166373564 posted

    Hi,

    InnerException :  "No printers are installed"

    You can check the following items:

    • Make sure there is a default printer configured for the server
    • Make sure the identity under which the web application is running has permission to access the printer.

    Regards,

    Angie

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, January 19, 2016 9:42 AM