Reputation: 39
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!
Upvotes: 3
Views: 1464
Reputation: 1081
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).
Upvotes: 5
Reputation: 96
Just check the domain service settings, I am not clear about all the settings step but first of all you must set the target to 4.0(or on current) from the settings.
Reference - Error in "web.config" file when i load page in online
Upvotes: 1