J
Jaydeep
Hello,
I am facing a strange problem. Problem accessing remote database from
ASP using COM+ server application having VB components (ActiveX DLL)
installed.
Tier 1 : ASP front End (IIS 5.0)
Tire 2 : COM objects
Tier 3 : SQL Server 2000 DB
Flow is : ASP talks with COM objects and COM objects talks with DB
Scenario 1
All Tier installed on single m/c.
Scenario 2
Tier1 and 2 are on one m/c and Tier 3 on another m/c in the same LAN
network
Scenario 3
Tier1 and 2 are on one m/c and Tier 3 on another m/c but connected over
internet or WAN
Scenario1 and Scenario 2 are working fine. But in Scenario 3, I am facing
problem of accessing remote DB.
Throwing error "Invalid procedure call or argument"
I am not able to find out whether problem is in
ASP, which accesses DB via COM objects OR
COM objects talking to DB.
While connecting to remote DB, in the connection string I am providing IP
address of DB Server in my COM object.
I am facing a strange problem. Problem accessing remote database from
ASP using COM+ server application having VB components (ActiveX DLL)
installed.
Tier 1 : ASP front End (IIS 5.0)
Tire 2 : COM objects
Tier 3 : SQL Server 2000 DB
Flow is : ASP talks with COM objects and COM objects talks with DB
Scenario 1
All Tier installed on single m/c.
Scenario 2
Tier1 and 2 are on one m/c and Tier 3 on another m/c in the same LAN
network
Scenario 3
Tier1 and 2 are on one m/c and Tier 3 on another m/c but connected over
internet or WAN
Scenario1 and Scenario 2 are working fine. But in Scenario 3, I am facing
problem of accessing remote DB.
Throwing error "Invalid procedure call or argument"
I am not able to find out whether problem is in
ASP, which accesses DB via COM objects OR
COM objects talking to DB.
While connecting to remote DB, in the connection string I am providing IP
address of DB Server in my COM object.