Solved

Data-Bound Controls Server Installation Requirements

Posted on 2002-03-17
5
132 Views
Last Modified: 2013-12-23
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....
0
Comment
Question by:kabg
5 Comments
 
LVL 19

Accepted Solution

by:
DreamMaster earned 50 total points
ID: 6876266
Whatever you do...do not install anything but the database on the database server, that's the whole idea of N-tier applications...to keep them seperated.

So what you'd need on the webserver is the dll's needed to connect to the database. The script_library of Visual Interdev is likely to contain the needed DLL's for database connectivity..

Hope this helps,
Max.
0
 

Expert Comment

by:merlinb
ID: 7437675
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.
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

When setting up new project requests for our site, one of the most powerful tools our team has available to use is Axure (http://www.axure.com/). It’s a tool for creating software and web prototypes that can function and interact as if it were the a…
Introduction In this tutorial, I'll explain how to create an animated progress meter in a wireframe prototype developed using Axure RP 7.0 - a leading prototyping tool for designing web sites and software. (For more information about Axure and gett…
The purpose of this video is to demonstrate how to reset a WordPress password if you are locked out and cannot reset the password. A typical use would be if you cannot access the email to which WordPress would send the password recovery email to…
The purpose of this video is to demonstrate how to prevent comment spam on a WordPress Website. This will be demonstrated using a Windows 8 PC. Plugin Akismet will be used. Go to your WordPress login page. This will look like the following: myw…

759 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now