No error message available, result code: DB_SEC_E_AUTH_FAILED(0x80040E4D).

No error message available, result code: DB_SEC_E_AUTH_FAILED(0x80040E4D).

No error message available, result code: DB_SEC_E_AUTH_FAILED(0x80040E4D).
No error message available, result code: DB_SEC_E_AUTH_FAILED(0x80040E4D).


Problem
:

No error message available, result code: DB_SEC_E_AUTH_FAILED(0x80040E4D).

Cause :

Your VB .Net project ConnectionString is invalid. There is something wrong in your code (i,.e : Provider Name, Database  Path, Database Name) but not before compiling. For Example if you change the database folder at Run-time.

Solution :

Store your ConnectionString in Settings (Project Properties->Settings). This will also keep you safe from ConnectionString Injections.


 Here are some online Visual Basic lessons and courses :

Popular posts from this blog

Visual Basic Online Courses DataGridView Add Edit Delete

VB .NET WebView2 WinForms tips

VB .NET Google Drive Api Source Code Example

VB NET Check internet connection

Visual Basic 2010 Working With DataBase Full Project Example

Visual Basic 2010 Math Functions