Server Error in '/' Application.

An OLE DB Provider was not specified in the ConnectionString.  An example would be, 'Provider=SQLOLEDB;'.

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.ArgumentException: An OLE DB Provider was not specified in the ConnectionString.  An example would be, 'Provider=SQLOLEDB;'.

Source Error:


Line 15: public partial class feedback : System.Web.UI.Page
Line 16: {
Line 17:     private OleDbConnection conn = new OleDbConnection(ConfigurationManager.ConnectionStrings["APS"].ConnectionString);
Line 18: 
Line 19:     protected void Page_Load(object sender, EventArgs e)

Source File: c:\inetpub\vhosts\bcjaps.net.in\httpdocs\feedback.aspx.cs    Line: 17

Stack Trace:


[ArgumentException: An OLE DB Provider was not specified in the ConnectionString.  An example would be, 'Provider=SQLOLEDB;'.]
   System.Data.OleDb.OleDbConnectionString.ValidateProvider(String progid) +1526013
   System.Data.OleDb.OleDbConnectionString.ValidateConnectionString(String connectionString) +559
   System.Data.OleDb.OleDbConnectionString..ctor(String connectionString, Boolean validate) +533
   System.Data.OleDb.OleDbConnectionFactory.CreateConnectionOptions(String connectionString, DbConnectionOptions previous) +50
   System.Data.ProviderBase.DbConnectionFactory.GetConnectionPoolGroup(DbConnectionPoolKey key, DbConnectionPoolGroupOptions poolOptions, DbConnectionOptions& userConnectionOptions) +214
   System.Data.OleDb.OleDbConnection.ConnectionString_Set(DbConnectionPoolKey key) +75
   System.Data.OleDb.OleDbConnection..ctor(String connectionString) +61
   feedback..ctor() in c:\inetpub\vhosts\bcjaps.net.in\httpdocs\feedback.aspx.cs:17
   ASP.feedback_aspx..ctor() in c:\inetpub\vhosts\bcjaps.net.in\tmp\root\9b80c015\8fa4cda8\App_Web_1epntwlu.4.cs:0
   __ASP.FastObjectFactory_app_web_1epntwlu.Create_ASP_feedback_aspx() in c:\inetpub\vhosts\bcjaps.net.in\tmp\root\9b80c015\8fa4cda8\App_Web_1epntwlu.8.cs:0
   System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp) +132
   System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) +44
   System.Web.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +375
   System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +195
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +128


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.4087.0