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

x
?
Solved

Data-Bound Controls Server Installation Requirements

Posted on 2002-03-17
5
Medium Priority
?
144 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
2 Comments
 
LVL 19

Accepted Solution

by:
DreamMaster earned 200 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This article provides a case study on how our local youth baseball league deployed a new website, including the platform selection, implementation and benefits to the league.
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 make a WordPress Site faster and smaller in size by cleaning up the database. This will be demonstrated using a Windows 8 PC. Plugin WP Optimize will be used. Go to your WordPress login page. T…
The purpose of this video is to demonstrate how to set up an RSS Feed on a WordPress Website. This will be demonstrated using a Windows 8 PC. Feedburner will be used for this demonstration. Go to your WordPress login page. This will look like the…
Suggested Courses

824 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