ASP Inline Corporate Calendar Documentation
By: Aaron B. http://www.aaronoutpost.com
Copyright© 2003-2005 _-Squire-_ Creations All Rights Reserved.

Back to Main

Installation


  1. Files must be run through an ASP enabled web server or on ASP enabled web space. (check with your hosting company).

  2. If the files in the Calendar folder where not installed into the web directory then they need to be uploaded.

    Example: e:/home/yourwebsite/htdocs/Calendar/

  3. Once the files have been uploaded, try to access the calendar via http browser.

    DO NOT ADD EVENTS OR REMINDERS YET, MUST CONFIGURE CALENDAR FIRST

    Example: In Internet Explorer go to address
    http://www.yourwebsite.com/Calendar/

    WORKS: If the Calendar Loads then continue to Configuring Calendar.

    ERROR: If you receive an error message then continue to step 4.

  4. If you receive an error message then more then likely you need to change the database connection in the inc_common.asp file.

    Open inc_common.asp in an editor such as notepad, Microsoft FrontPage, Arachnophilia, etc..

    Find this line of code near the top:
    '----------------------------------------------------------
    ' CREATE A DATABASE CONNECTION
    '----------------------------------------------------------
    '----------------------------------------------------------

Below this you will find several database connection options.

How to switch which driver to use
The Apostrophe Mark declares a comment. You will notice only one Connection driver below does not have an Apostrophe Mark before it. It is the Driver that is being used. Place an Apostrophe Mark before it to and take it away for the driver that you wish to use.

Below you will notice the connection that is used by default. This is for a OLEDB Jet 4.0 Access 2000/2002 connection which is used by most servers. The first strConnCal does not contain an apostrophe mark in front of it. It is the one in use. The second uses the same connection but allows you to enter the physical address of the calendar database. This allows you to place the database in a separate location and rename the file to increase security. You will also use this database connection if you include the mini calendar into your existing website.

'For Access 2000/2002
strConnCal = "Provider=Microsoft.Jet.OLEDB.4.0; JET OLEDB:database; Data Source=" & Server.MapPath("admin/calendar.mdb")

'strConnCal = "Provider=Microsoft.Jet.OLEDB.4.0; JET OLEDB:database; Data Source=C:\inetpub\wwwroot\Calendar\admin\calendar.mdb"