rsServerConfigurationError when trying to use custom uthentication for reporting service SSRS RRS feed

  • Question

  • Hi,

    I'm trying to use a custom authentication for the reporting service, so i don't need to login when opening the reports.

    I followed this link : https://medium.com/@Estradaci/ssrs-custom-identification-efbb1280e22d

    and i always get this error: The report server encountered a configuration error. (rsServerConfigurationError)/ 

    In the logFiles i get this error :

    extensionfactory!ReportServer_0-1!c8c!11/16/2020-08:58:33:: e ERROR: Exception caught instantiating Forms report server extension: System.Reflection.TargetInvocationException: Une exception a été levée par la cible d'un appel. ---> System.TypeInitializationException: Une exception a été levée par l'initialiseur de type pour 'Microsoft.Samples.ReportingServices.CustomSecurity.Authorization'. ---> System.Exception: Report name mismatch
       à Microsoft.Samples.ReportingServices.CustomSecurity.Authorization.InitializeMaps()
       à Microsoft.Samples.ReportingServices.CustomSecurity.Authorization..cctor()
       --- Fin de la trace de la pile d'exception interne ---
       à Microsoft.Samples.ReportingServices.CustomSecurity.Authorization..ctor()
       --- Fin de la trace de la pile d'exception interne ---
       à System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)
       à System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
       à System.Activator.CreateInstance(Type type, Boolean nonPublic)
       à System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark& stackMark)
       à System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
       à System.Reflection.Assembly.CreateInstance(String typeName, Boolean ignoreCase, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
       à Microsoft.ReportingServices.Diagnostics.ExtensionClassFactory.<>c__DisplayClass15_0.<CreateExtensionObject>b__0()
       à Microsoft.ReportingServices.Diagnostics.RevertImpersonationContext.<>c__DisplayClass1_0.<Run>b__0(Object state)
       à System.Security.SecurityContext.Run(SecurityContext securityContext, ContextCallback callback, Object state)
       à Microsoft.ReportingServices.Diagnostics.RevertImpersonationContext.Run(ContextBody callback)
       à Microsoft.ReportingServices.Diagnostics.ExtensionClassFactory.CreateExtensionObject(Extension extConfig, Boolean typeOnly).
    library!ReportServer_0-1!c8c!11/16/2020-08:58:33:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.ServerConfigurationErrorException: Could not load Authorization extension, Microsoft.ReportingServices.Diagnostics.Utilities.ServerConfigurationErrorException: Le serveur de rapports a rencontré une erreur de configuration. ;

    Any help and Thanks

    Monday, November 16, 2020 7:59 AM

All replies

  • Hi,

    Thank you for posting here.

    Since your question is more related to SSRS. Therefore, it will be more appropriate to ask your question in SSRS forum.

    Thank you for your understanding.

    Best Regards,

    Xingyu Zhao

    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.

    Tuesday, November 17, 2020 1:26 AM