Obi1-Cannabis Posted July 17, 2013 Share Posted July 17, 2013 I'm trying to figure this out for a few day now, i have custom membership and role providers for my project and it works perfectly on my dev machine, but on production it throws the following error for the web.config 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 24: <providers>Line 25: <clear />Line 26: <add name="FeelSafeRoleProvider" type="FeelSafe.Helpers.FeelSafeRoleProvider, FeelSafe" connectionStringName="FeelSafeEntities" />Line 27: </providers>Line 28: </roleManager> Source File: (...)web.config Line: 26 I've read about people having simmilar issues because they hadn't named their connectionstrings but that's not the case here... any toughts on what's going on here? if you need any more info just ask and i'll provide. thanks for any help Link to comment Share on other sites More sharing options...
justsomeguy Posted July 17, 2013 Share Posted July 17, 2013 If that's the source of the error, then it sounds like one of the things listed in the add element might not exist on the other machine. That could be the connection string or the role provider class or object. Link to comment Share on other sites More sharing options...
Obi1-Cannabis Posted July 18, 2013 Author Share Posted July 18, 2013 hey, thanks for the reply justsomeguy! i already found the problem the MySql Connector installed in the production server was a very old version. It's solved. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now