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 2010 Working With DataBase Full Project Example

VB NET Check internet connection

VB .NET DropBox Api Source Code Example

Visual Basic .Net - Button Sound / Music Play

VB .NET WebView2 WinForms tips

Visual Basic Online Courses DataGridView Add Edit Delete