Forum Discussion

malikirfan28's avatar
malikirfan28
Helper II
8 years ago
Solved

Report Server Custom Authentication

Hello Everyone, I am newbie in Power BI Report Server and tried to configure it for custom/form authentication as explained in this article https://github.com/Microsoft/Reporting-Services/tree/mast...
  • malikirfan28's avatar
    malikirfan28
    8 years ago

    Thank you v-qiuyu-msft for comments. It seems I had wrong URL in CodeGroup membership. When I changed URL from

    C:\Program Files\Microsoft Power BI Report Server\PBIRS\PowerBI\Microsoft.Samples.ReportingServices.CustomSecurity.dll

    to C:\Program Files\Microsoft Power BI Report Server\PBIRS\ReportServer\bin\Microsoft.Samples.ReportingServices.CustomSecurity.dll, it seems the permission problem has resolved and I can register new user.

     

    However when login goes successfull and navigate to ReportServer Web Portal URL, it shows HTTP 500 Internal Server ERROR. Is there any way to investigate and find-out root cause of it?

     

    Thanks once again,

    M. Irfan

     

  • malikirfan28's avatar
    8 years ago

    Thanks pbx This link help me to find out the exact problem. So for rest of the community here is the reason of HTTP 500 error

     

    When we added "machineKey" in <RSPATH>\ReportServer\web.config path, everytime when pbix service restarted it remove this key.  The step mentined here need to be updated v-qiuyu-msft. Best solution is to add machinekey in "machine.config" file inside <system.web> and then restart machine

    32-bit

    %windir%\Microsoft.NET\Framework\[version]\config\machine.config

    64-bit

    %windir%\Microsoft.NET\Framework64\[version]\config\machine.config 

     Note: This entry may create conflicts/problem for other application running on same machine so be careful.

     

    Hope this will help. Thank you.