I create a dll that connect to database to query some table and return some value (integer), i have test run the code in windows form and no problem found. But i compile it and import the dll to my project, it come out error message. The error message very general. Is dll unable to connect sql database?