ToQueryText error

Posts   
 
    
Gareth
User
Posts: 24
Joined: 09-Apr-2004
# Posted on: 04-May-2004 13:20:22   

Any ideas guys,

 DatabaseSpecificCreator object not set. Cannot create query part. 
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

Exception Details: System.ApplicationException: DatabaseSpecificCreator object not set. Cannot create query part.

Source Error: 


Line 127:
Line 128:        int uniqueMarker = 0;
Line 129:        Response.Write(filter.ToQueryText(ref uniqueMarker));

Thanks.

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39590
Joined: 17-Aug-2003
# Posted on: 04-May-2004 13:36:17   

set the filter's DatabaseSpecificCreator property to an instance of SqlServerSpecificCreator if you use SqlServer, or OracleSpecificCreator if you use Oracle. These classes can be found in the DQE assemblies and are used for creation of db specific objects like parameter objects.

Frans Bouma | Lead developer LLBLGen Pro
Gareth
User
Posts: 24
Joined: 09-Apr-2004
# Posted on: 04-May-2004 17:41:36   

thanks got that fixed.