Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error Umbraco Membership Provider

Tags:

umbraco

I just uploaded my Umbraco website to my server, but I'm getting the following error when trying to access it:

Configuration Error

Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately. 

Parser Error Message: Exception has been thrown by the target of an invocation.

Source Error: 


Line 143:      <providers>
Line 144:        <clear />
Line 145:        <add name="UmbracoMembershipProvider" type="Umbraco.Web.Security.Providers.MembersMembershipProvider, Umbraco" minRequiredNonalphanumericCharacters="0" minRequiredPasswordLength="8" useLegacyEncoding="true" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" defaultMemberTypeAlias="Member" passwordFormat="Hashed" />
Line 146:        <add name="UsersMembershipProvider" type="Umbraco.Web.Security.Providers.UsersMembershipProvider, Umbraco" minRequiredNonalphanumericCharacters="0" minRequiredPasswordLength="8" useLegacyEncoding="true" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" passwordFormat="Hashed" />
Line 147:      </providers>

And there's no other information about the error. Anybody knows how to deal with this?

Thank you very much!

like image 320
Joao Guimaraes Avatar asked Nov 18 '25 07:11

Joao Guimaraes


1 Answers

I got this error because I accidentally removed global.asax and packages.config from my Visual Studio solution. I restored these files from recycle bin and everything was fine again (think it was missing global.asax that was the culprit).

like image 156
Philip Johnson Avatar answered Nov 21 '25 08:11

Philip Johnson



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!