Basically, DbResourceProvider based on the IImplicitResourceProvider and IResourceProvider interfaces - both interfaces are in the System.Web for a specific reason: they are specific to ASP.NET. They are NOT intended for use in nonASP.NET scripts (e.g. Windows Service, WinForms, etc.)!
A way to do something similar for nonASP.NET scripts is to implement your own IResourceReader and use it in a class derived from the ResourceManager - you can find an example with source code here .
Yahia source share