Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Dll reference in BIN directory - not sure why it works

Posted on 2006-11-27
2
Medium Priority
?
223 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
  • 2
2 Comments
 
LVL 6

Accepted Solution

by:
riyazthad earned 2000 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

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

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

Since .Net 2.0, Visual Basic has made it easy to create a splash screen and set it via the "Splash Screen" drop down in the Project Properties.  A splash screen set in this manner is automatically created, displayed and closed by the framework itsel…
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…
this video summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
Suggested Courses

916 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