|
ADODB.Connection Issue -
hi everyone ...
i use adodb.connection and sql db i connect to my db through adodb connection. then i activate my application role with: adoCon.execute "sp_setapprole 'myrole', 'myrolepwd'" first time i open the connection its work fine. then i close the connection its also work fine. then i open the connection again and its give me an error then i close the connection its work fine. then i try to open the connection again and its work fine. ps: considered i already check the connection state before i open and close the connection the conclusion is every second try to open the connection it always fail. can anyone here help me thanks in advanced. regards, Ferry
ADODB.Connection Issue - |