Don't miss out Virtual Happy Hour this Friday (April 26).

Try our conversational search powered by Generative AI!

Error with Episerver.Security.ProviderCapabilityAttribute in v11

Vote:
 

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=11.2.1.0, Culture=neutral, PublicKeyToken=8fe83dea738b45b7'.

Did anyone face this issue ?

#186045
Dec 11, 2017 10:57
Vote:
 

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. 

#186048
Dec 11, 2017 11:16
Vote:
 

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.

#186049
Dec 11, 2017 11:24
Vote:
 

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? 

#186052
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.