If you don’t set the property CatalogNameToUse in class DataAccessAdapter correctly, using the DataAccessAdapter can result in an error:

System.NullReferenceException : Object reference not set to an instance of an object.
    at SD.LLBLGen.Pro.DQE.SqlServer.DynamicQueryEngine.GetNewCatalogName(String currentName)

Change the name to the correct “Database Name” solved the problem

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.