473,325 Members | 2,872 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,325 software developers and data experts.

References

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!!!!
Apr 6 '07 #1
1 1238
Hi Jim,

On Fri, 06 Apr 2007 23:52:00 +0200, JimHeavey <Ji*******@discussions.microsoft.comwrote:
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/

--
Happy coding!
Morten Wennevik [C# MVP]
Apr 7 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

17
by: Tom | last post by:
The motivation for references seems clear: stop people from using nasty pointers when all they really want is a reference to an object. But C++ references are so inadequate that I'm still using...
22
by: xmp333 | last post by:
Hi All, I am trying to hide my JavaScript source. The method I chose was to keep all the important source in a password protected folder, and then use a SRC="folder/script.js" to include it...
33
by: JKop | last post by:
I understand variables/objects and pointer variables perfectly: int X = 5; int* pX = &X; *pX = 4; int** ppX = &pX:
2
by: S. van Beek | last post by:
Dear reader, For removing a reference in the VBA reference form I receive from Doug Steele the following code: ........... References.Remove refCurr
11
by: codebloatation | last post by:
I know how to use references but i DO not get WHY they exist other than to add to the language. Are they actually needed for anything?
14
by: el_sid | last post by:
Our developers have experienced a problem with updating Web References in Visual Studio.NET 2003. Normally, when a web service class (.asmx) is created, updating the Web Reference will...
30
by: jeremygetsmail | last post by:
I've got an adp (Metrix.adp) with a reference to another adp (InteractSQL.adp). InteractSQL sits on a server, and is refered to by all of the clients (Metrix), which sit on the client machines...
3
by: DonJefe | last post by:
Does anyone have experience using project->project references in large solutions? What are the plus/minuses that you have found? Currently, we are using the binary assembly references for our...
9
by: igor.kulkin | last post by:
References is a relatively basic feature of C++ language. It might be a good thing to think of references as aliases to the variables. However it's good to think of references this way when you...
3
by: CenturionX | last post by:
Hello everybody: I'd like to know what references in my vba code are used or not. I work in a code made by another person previously, i founded to many references and i believe that someones...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.