Hi Guys,
Have an error that i cant seem to resolve and hoping someone can help me out. Basically i have added a whole new category to Nop Commerce in the name of Organisations, just got round to designing the aspx's and ascx's and now having this error when attempting to display a data grid with all the organisations listed. The error is listed below any help would be much appreciated :)
Server Error in '/' Application.
--------------------------------------------------------------------------------
Default provider not found. C:\SITProjects\SITPrecurementPortal\NopCommerceStore\web.config. Line number: 301
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.Configuration.ConfigurationErrorsException: Default provider not found. C:\SITProjects\SITPrecurementPortal\NopCommerceStore\web.config. Line number: 301
Source Error:
Line 129: {
Line 130: s_InitializeException = exception;
Line 131: throw;
Line 132: }
Line 133: s_Initialized = true;
Source File: C:\SITProjects\SITPrecurementPortal\Libraries\Nop.DataAccess\DBProviderManager.cs Line: 131
Stack Trace:
[ConfigurationErrorsException: Default provider not found. C:\SITProjects\SITPrecurementPortal\NopCommerceStore\web.config. Line number: 301]
NopSolutions.NopCommerce.DataAccess.DBProviderManager`1.Initialize() in C:\SITProjects\SITPrecurementPortal\Libraries\Nop.DataAccess\DBProviderManager.cs:131
NopSolutions.NopCommerce.DataAccess.DBProviderManager`1.get_Provider() in C:\SITProjects\SITPrecurementPortal\Libraries\Nop.DataAccess\DBProviderManager.cs:165
SITSolutions.SITCommerce.BusinessLogic.OrganisationManagement.OrganisationManager.GetAllOrganisations(Boolean Active) in C:\SITProjects\SITPrecurementPortal\SITLibraries\SIT.BusinessLogic\SITorganisation\OrganisationManager.cs:125
NopSolutions.NopCommerce.Web.Administration.Modules.SITOrganisations.GetOrganisations() in C:\SITProjects\SITPrecurementPortal\NopCommerceStore\Administration\Modules\SITOrganisations.ascx.cs:31
NopSolutions.NopCommerce.Web.Administration.Modules.SITOrganisations.BindGrid() in C:\SITProjects\SITPrecurementPortal\NopCommerceStore\Administration\Modules\SITOrganisations.ascx.cs:36
NopSolutions.NopCommerce.Web.Administration.Modules.SITOrganisations.Page_Load(Object sender, EventArgs e) in C:\SITProjects\SITPrecurementPortal\NopCommerceStore\Administration\Modules\SITOrganisations.ascx.cs:26
System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
System.Web.UI.Control.OnLoad(EventArgs e) +99
System.Web.UI.Control.LoadRecursive() +50
System.Web.UI.Control.LoadRecursive() +141
System.Web.UI.Control.LoadRecursive() +141
System.Web.UI.Control.LoadRecursive() +141
System.Web.UI.Control.LoadRecursive() +141
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +6741
System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +242
System.Web.UI.Page.ProcessRequest() +80
System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) +21
System.Web.UI.Page.ProcessRequest(HttpContext context) +49
ASP.administration_sitorganisations_aspx.ProcessRequest(HttpContext context) in c:\Users\User\AppData\Local\Temp\Temporary ASP.NET Files\root\371cc2c3\bf7412cb\App_Web_mp8zl2kh.6.cs:0
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +181
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75