DNNCommunity / DNN.ActiveDirectory

Active Directory authentication for DNN
MIT License
26 stars 22 forks source link

Auto authenticate not work as manual login #53

Closed tinboen closed 5 years ago

tinboen commented 5 years ago

In my intranet DNN 8.0.4 website, I used MS report RDLC format to export PDF output. The PDF is generated if I login Windows Domain manually, but if my intranet auto LDAP authenticated me, the report RDLC will not create PDF with the error System Security Permissions SecurityPermission. Is there any way possible solution? (ex. force user login to active directory, how to set report RDLC generate PDF without security permission, etc.). When I try to click at login, the DNN auto authenticated me, and I can't logout. The Window login dialog display after I restart the website.

tinboen commented 5 years ago

Reasons:

  1. Enable Integrated Windows Authentication in IE from company.
  2. To generate MS Report RDLC format at server side, the website required manual Windows Authentication login, otherwise, the report will not generated. Solution:
    • Use Crystal Reports to generate at server side with Enable Integrated Windows Authentication in IE