References

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

My problem is that I am unable to connect to my DB2 Database in project B,
but am able to connect via Project A.

Problem #1. When I add a reference to my Web Application for the IBM Data
drivers, I navigate to the folder where they reside and select them. I
expect to see a folder for references, but none exists. Where did my
references go?

Problem/Question #2 - If VS Solution A has a Web Site AND a Project in
the same solution. The solution in this project contains all class which
will be used to connect to the Database. If Solution B, creates a reference
to VS Solution A Project, there should be no need for Solution B to have a
reference to those IBM Data Drivers. Isn't that correct? I can see the DLL
for Solution A Project in my solution B (which is in the BIN folder and not
the reference folder), but I see no reference to the IBM Data Drivers.
Should I?

Thanks in advance for your assistance!!!!
 
Hi Jim,

My problem is that I am unable to connect to my DB2 Database in project B,
but am able to connect via Project A.

Problem #1. When I add a reference to my Web Application for the IBM Data
drivers, I navigate to the folder where they reside and select them. I
expect to see a folder for references, but none exists. Where did my
references go?

They will be in the project properties under the References tab
Problem/Question #2 - If VS Solution A has a Web Site AND a Project in
the same solution. The solution in this project contains all class which
will be used to connect to the Database. If Solution B, creates a reference
to VS Solution A Project, there should be no need for Solution B to have a
reference to those IBM Data Drivers. Isn't that correct? I can see the DLL
for Solution A Project in my solution B (which is in the BIN folder and not
the reference folder), but I see no reference to the IBM Data Drivers.
Should I?

Thanks in advance for your assistance!!!!

If WebSite B has a referene to Project A, the dll for A will be found in the bin folder of WebSite B. If Project A refers to something those dlls will be copied along with the A dll to the WebSite B bin folder. There are exceptions to this, most notably if the dll being referred is located in GAC (Global Assembly Cache). If so, it won't be copied to the bin folder. The assembly will be located in %windir%/assembly/
 
Back
Top