Solved

Data-Bound Controls Server Installation Requirements

Posted on 2002-03-17
5
134 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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Turn A Profile Picture Into A Cartoon Using Photoshop And Illustrator This tutorial will teach you how to make a cartoon style image out of a regular picture. I have tried to keep the tutorial as simple as possible. I used Adobe CS4 for this tuto…
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 exclude a particular blog category from the main blog page. This is can be used when a category already has its own tab, or you simply want certain types of posts not to show up on the main blog. …
The purpose of this video is to demonstrate how to Import and export files in WordPress. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Click on Too…

813 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

10 Experts available now in Live!

Get 1:1 Help Now