Wednesday, 15 August 2012

System.Data.OleDb.OleDbException: Not a valid password. in MS Access database ASP.NET/C# Web app -



I'm stucked within a brain-crunching problem. Developed an ASP.NET / C # web app with MS Access 2007 database. DB is in the same server (Windows Server 2008 R2), which I developed the app. It has a simple gridview to show search results when it runs on a local host then it works perfectly and is not giving any error. When it is deployed on the server in IIS, it starts giving the following error while searching the gridview.

  Server error '/' No valid passwords in the application Description: An uncontrolled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where the code originated from it. Exception Description: System.Data.OleDb.OleDbException: Not a valid password. Source error: An unrestricted exception was encountered during the execution of the current web request. The information about the origin and location of the exception can be identified using the exception stack trace below. Stack Trace: [Oledboksepshn (0x80040e4d): Not a valid password.] Sistmkdetakoldibikoledibiconveninanlkkclatr (Oledibikyunekshn string Contret, Oledbokvekshn connection) +337 Sistmkdetakoldibi. Olebey BB Connection Factine Create Connection (DBCNation Option Objects, Object Pool GroupProvirInfo, DbConnectionPool Pool, DbConnection Proprietary Object) +86 System.Data. Provider Base.DbConnectionFactory.CreateNonPooledConnection (DbConnection Proprietary Connection, DbConnectionPoolGroup Pool Group) +31 System.Data.ProviderBase.DbConnectionFactory.GetConnection (DbConnection OwningConnection) +76 System.Data.ProviderBase.DbConnectionClosed.OpenConnection (DBcnection External Connection, DBC Connection Factory Connection Factor ) +126 System.Data.Oldibi Olendi Connection Open () +43 System.Data. Communication. Dibeedataadaptrkfilinanl (DataSet dataset, Datatebl [] Detaatbl, Introstraks Artikord, Intros Maksrekshns string Shertebl, IDB Command command, Kmmandbavyr behavior) +123 Sistmkdetaksng. Dibeedeta Adaptrkfil (Detas et datasets Int32 startRecord, Int32 maxRecords, string srcTable, IDbCommand order, CommandBehavior behavior) 319 System.Data.Common.DbDataAdapter.Fill (datasets datasets string srcTable) +92 System.Web.UI.WebControls.SqlDataSourceView .ExecuteSelect (DatasourceActorgement Arguments) +1618 System. Web.u.data Sourceviewview Select (Datasource Integrated Aggregates Arguments, Datasource SoftwareClock Callback) +21 Systems Web. UI. WebControl.DataBound Control. Performance Selection () +143System. Web. UI. Vebkantrolkbibesdatabaund control Kdetaind (74 System.Web.UI.WebControls.GridView.DataBind (4 System.Web.UI.WebControls.BaseDataBoundControl.EnsureDataBound ())) +66 System.Web.UI.WebControls.GridView.OnPreRender ( EventArgs e) +26 System.Web.UI.Control.PreRenderRecursiveInternal (103 System.Web.UI.Control.PreRenderRecursiveInternal () 175 System.Web.UI.Control.PreRenderRecursiveInternal ()) 175 System.Web.UI.Control.PreRenderRecursiveInternal () +175 system Web. UI. Control Prerender Riskivi I nternal () 175 System.Web.UI.Page.ProcessRequestMain (Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) 2496 is causing the error, while it runs on localhost  

Try for 3 days and try a lot of solutions on the internet, but there is no progress PLS help.

"itemprop =" lesson ">

This related issue.You must update the web.config identity tag with valid username. / Password or change Group Policy. Please see the links below for more details.

More useful.


No comments:

Post a Comment