Try our conversational search powered by Generative AI!

Error with Episerver.Security.ProviderCapabilityAttribute in v11


Hi All,

We are in process of upgrading CMS to version11 and after upgrading assemblies, we are getting below error:

Could not load type 'EPiServer.Security.ProviderCapabilityAttribute' from assembly 'EPiServer.Framework, Version=, Culture=neutral, PublicKeyToken=8fe83dea738b45b7'.

Did anyone face this issue ?

Dec 11, 2017 10:57

This type was moved in EPiServer.Framework.AspNet in CMS 11. So it looks like you are using some 3rd parties assemblies which were not updated to support CMS 11. 

The only option is to wait until they support CMS11 and try again. 

Dec 11, 2017 11:16

We are not using any 3rd party assemblies and in our web.config file , we have declare section for "EPiServer.Framework.AspNet" and it should load type from there. But it is not working.

how do we know , by when they will start support CMS 11 when it is released and available in updates.

Dec 11, 2017 11:24

No, the definition in web.config is not enough. The only way to fix it is to rebuild the assembly which has reference to the type so it's updated with the new type assembly.

If you can be sure that you don't use any 3rd party assemblies, maybe try to empty bin folder and rebuild everything again? 

Dec 11, 2017 11:36
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.