none
Getting error while using GetUserContextEx via Web Application RRS feed

  • Question

  • Hi,

    We have a web application developed in .NET Framework 2.0 which fetches details of AD objects from the DC using the secure32.dll. However, when the web application is deployed on a member server, the below error is thrown while fetching the details of the administrator:

    Inner Exception: GetUserNameEx 1317
    System.Exception: GetUserNameEx 1317

    When the web application is installed on the DC, the fetching operation is successful. Please suggest, as this is blocking us. Let me know if further information is required.

    Please note that we have two DCs with 2008R2 and 2012R2 OS and a member server with 2012R2 OS.

    Friday, September 7, 2018 5:21 AM

All replies

  • Hi Arnab_NITD,

    Thank you for posting here.

    Since your question is more related to Web, you could post a new thread in ASP.NET forum for suitable support.

    https://forums.asp.net/

    The CLR Forum discuss and ask questions about .NET Framework Base Classes (BCL) such as Collections, I/O, Regigistry, Globalization, Reflection. Also discuss all the other Microsoft libraries that are built on or extend the .NET Framework, including Managed Extensibility Framework (MEF), Charting Controls, CardSpace, Windows Identity Foundation (WIF), Point of Sale (POS), Transactions.

    Best Regards,

    Wendy


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Monday, September 17, 2018 3:24 AM