System.ArgumentNullException in ArticlesProvider
I am getting the following error in the ArticlesProvider.cs
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.ArgumentNullException: Value cannot be null.
Parameter name: type
1. static public ArticlesProvider Instance
2. {
3. get
4. {
5. if (_instance == null)
6. _instance = (ArticlesProvider)Activator.Type.GetType(Globals.S ettings.Articles.ProviderType));
7. return _instance;
8. }
9. }
The line 6 is highlighted. Could anyone tell me what the source of the problem maybe because I don't understand it at all!
|