[SOLVED] Possible bug in the SDK.

Posts   
 
    
wayne avatar
wayne
User
Posts: 611
Joined: 07-Apr-2004
# Posted on: 14-Jul-2004 14:56:11   

Hi FB

obzekt discovered a possible bug in the SDK.

obzekt wrote:

The LGP I'm using has been created by another developer and initially held his SQL credentials which are different than mine. When I open the LGP though, I refresh the catalog providing my own credentials and save the LGP expecting the connection string to be totally overwritten, but is not.

As your exception handling exposed, ProjectDefinition.ConnectionString is still providing the old string to your TP which fails. It seems like a bug in the LLBLGen SDK.

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39903
Joined: 17-Aug-2003
# Posted on: 14-Jul-2004 16:34:51   

The SDK is not yet updated with the very latest driver sourcecode, however should have the latest taskperformer stuff.

The connection string is stored in the project object, which should be readable by your code and hasn't anything to do with the SDK or the sourcecode in the SDK (you reference the shipped assemblies simple_smile )

Frans Bouma | Lead developer LLBLGen Pro
wayne avatar
wayne
User
Posts: 611
Joined: 07-Apr-2004
# Posted on: 14-Jul-2004 16:54:46   

(you reference the shipped assemblies Regular Smiley)

OK...Then there is a possible bug in the shipped assemblieswink

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39903
Joined: 17-Aug-2003
# Posted on: 14-Jul-2004 17:13:38   

wayne wrote:

(you reference the shipped assemblies Regular Smiley)

OK...Then there is a possible bug in the shipped assemblieswink

True, see thread in general stuck_out_tongue_winking_eye

(in short: connection string wasn't set to new value if connection parameters were changed. Normally you won't run into this, however with your taskperformer you will)

Frans Bouma | Lead developer LLBLGen Pro