Link to home
Start Free TrialLog in
Avatar of kabg
kabg

asked on

Data-Bound Controls Server Installation Requirements

Hi!

To use Visual Interdev data-bound controls, what are the server-side installation requirements?

Does Visual Interdev need to be installed on either the web server or the database server? Or do certain libraries only need to be installed, like the Script_Library?, and if so, on the web server or the database server?

Any answers greatly appreciated....
ASKER CERTIFIED SOLUTION
Avatar of DreamMaster
DreamMaster

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of merlinb
merlinb

The web server and your pc will need the OLEDB/ADO/ODBC data access dll's loaded (and probably already are).  These facilities are installed via a single executable called MDAC.  There are various versions, that seem to co-exist quite hapily.  You will need to install ver 1.5 at least, though 1.6 is better.

Once installed, the web server and your pc can connect to a whole host of databases.  You can connect to these data sources using Visual Basic, C++ or via ASP in JavaScript or VBScript.  You may need to install various database-specific client libraries - so Oracle would provide DLLs for a client pc to communicate with the server, and the ODBC/OLEDB drivers would use these.

The DTC's in VI are handy, because they generate all of the required connection and recordset handling code for you, but you can copy-paste this code if you are unsure of DTC's.  You will NOT need any additional software on the server unless...

VI, and the DTC's support an optional thing called the DataEnvironment.  It is a way of centrally storing all SQL commands for use in your app.  It can be very useful and powerful - but it can be tricky to configure and update on the live server.  You WILL need to install the DataEnvironment dll's on the server - which is done by installing the VI Server Components (on disk 2 of the VI disk set). This is needed both on your PC and the Server ONLY if you want to use the DataEnvironment - but I recommend it!

The location of the database (on the web server or on a dedicated server) is irrelevent.  You would use a dedicated database server only if the performance or security needs demanded it.

The _ScriptLibrary in Visual Interdev contains Server-Side (.ASP) runtime files and Client-Side (.HTM) files.  These are chosen depending on the page options - DTC Scripting Platform - that you choose.  Have a look at these files - particalurly RECORDSET.ASP, to understand how the thing works.

At DESIGN TIME only, a whole host of ActiveX Controls are used to render the controls in the VI editor, and to provide the Property Setting dialogs for the various DTC's.  These are NOT USED at runtime at all.  They simply write the required JavaScript that later calls the routines contained in the _ScriptLibrary at runtime.