Solved

Dll reference in BIN directory - not sure why it works

Posted on 2006-11-27
2
215 Views
Last Modified: 2010-04-23
I have a DAL, BAL and the UI.
In my DAL and BAL, i have a reference to IBM.Data.DB2.iSeries dll.
I also use SQLClient.
I use this code for my DAL (changed it to VB.Net): http://aspalliance.com/837_Implementing_a_Data_Access_Layer_in_C
Users can choose either between IBM connection or SQL connection.
I copied the entire code to another server.
I brought up the site and chose "SQL" connection but got an error about the IBM dll.
*** I copied the IBM.Data.Db2.iSeries.dll to the BIN directory of the UI folder and it works..., i didnt get the IBM error... ***

Why is that? When I chose SQL, why was it looking for the IBM dll?? So now when we give the application to a client who has SQL2000, we have to give them the IBM dll as well??
0
Comment
Question by:Camillia
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
2 Comments
 
LVL 6

Accepted Solution

by:
riyazthad earned 500 total points
ID: 18021415
You dont have to copy manually IBM.Dll to Bin folder. If you are refering to project by 'Add Reference' option it will copy automatically to bin folder. There by you can avoid any errors while installation. so better to refere IBM.dll by using 'Add Reference'.

I hope this makes clear.
0
 
LVL 6

Expert Comment

by:riyazthad
ID: 18021431
It will create automatically only if you could build sucessfully. Forgot to mention that.
0

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Well, all of us have seen the multiple EXCEL.EXE's in task manager that won't die even if you call the .close, .dispose methods. Try this method to kill any excels in memory. You can copy the kill function to create a check function and replace the …
Microsoft Reports are based on a report definition, which is an XML file that describes data and layout for the report, with a different extension. You can create a client-side report definition language (*.rdlc) file with Visual Studio, and build g…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question