Skip to Content
0
Former Member
Dec 12, 2006 at 02:07 PM

Connecting 2004 thru 2005.

20 Views

Hi All,

Im not able to connect the 2004 Application using the 2005 SDK Using DIAPI.My code is

comp.Server = "server name";

comp.DbUserName ="sa";

comp.DbPassword = "sa";

comp.UserName = "manager";

comp.Password = " manager";

int ConRet = comp.Connect();

Here i have used the Dbusername and password since 2005 uses the same.My requirement is to connect both 2004 and 2005A using the 2005 SDK.

What i have to do to reach this requirement.

When i connect to 2005 its working fine.But when i connect 2004 using this 2005 im getting error as "Connection to sbo common has failed".

One more question is ther any possibility to find whether the user has installed 2004 or 2005 using the SDK.please any one of u help to solve this problem.Im struggling with this.

regards,

Ranjani Sampath