Cadzow Knowledgebase

Contact Us

Site Search

Remote Support

Print Friendly

Cadzow 2000 Weblink/Content Manager Setup

Cadzow 2000 Weblink is a series of ASP.NET (.aspx) scripts which interact with the main Cadzow 2000 store. Thus the web-server side of Cadzow 2000 and the client-side application share the same data source, whether it be an Access .MDB (Jet) or SQL Server database.

The Cadzow 2000 Weblink system therefore consists of:

  • Various resource files (.dll, .aspx, ,html, .css, graphic files etc) which are replaced whenever an update is released;

  • A number of site-specific configuration files; and

  • The Cadzow 2000 data file.

Installing Cadzow 2000 Weblink

  1. CHECK YOUR SYSTEM: Check the system requirements.

  2. CREATE THE APPLICATION FOLDER: A path under the webroot can be a physical folder or a pointer to another location.

    If you intend to store the Cadzow 2000 Weblink files on the web server, simply create a folder using Windows Explorer under your webroot where appropriate. If you are storing the files on another server, use Internet Services Manager to create a virtual directory.

    The folder/virtual directory name becomes the default address for the entire site, so it should be short and meaningful. For example,

    Then, turn the folder into an Application using the Properties of the folder and choosing Create under Application Settings. (Set Application Protection as required.)

  3. SET PERMISSIONS: If using the virtual directory wizard, the virtual directory only requires Read and Run Scripts permissions. Execute, Write and Browse should be turned off. If using the properties of the folder once created, the permissions required are Read and Execute Permissions: Scripts Only.

    Other file system permissions required are:

    1. If the database is a Microsoft Access .MDB file, the ASPNET account (or the account being impersonated) needs full control (read/create/write/delete) of the temporary files folder under C:\Documents and Settings\<ServerName>\ASPNET\Local Settings\TEMP. (See for further information.)

    2. The IIS anonymous user and the ASPNET account require full control (read/create/write/delete) access to the “system” TEMP directory (usually %SystemRoot%\TEMP; for example, C:\WINDOWS\TEMP).

  4. INSTALL FILES: The Cadzow 2000 Weblink files are contained in a self-extracting package. The download location is:

    The default extract location is c:\Inetpub\wwwroot\Cadzow. The path may be changed to suit the location of the instance of Cadzow 2000 Weblink on your web server. In the default instance, the folder used for external access to the system is “Cadzow”. If your system is configured as, say “Knowledgebase”, then the location to extract the files to is c:\Inetpub\wwwroot\Knowledgebase. Alternatively, if your configuration is more complex, with redirected virtual folders etc, simply extract the files into the appropriate location.

  5. SET THE DEFAULT DOCUMENT: By default, the Cadzow 2000 Weblink path to the home page is of the form:

    where “100” is the id of the “home page” article. However, the system has a provision for a default article where the article is missing or invalid, in which case the path to the home page could be:

    However, if you set “details.aspx” as one of the default documents, then the default home page simply becomes

Configuring Site

Each site has a number of unique settings and these are stored in web.config, which is usually located in the same folder as the main Cadzow 2000 Weblink files (although in some circumstances there may be multiple web.config files). The settings which require end-user modification are between <appSettings> and </appSettings>:

  • Data Source: The location and login details for the database, relative to the webserver.

    SQL Server (Named Pipes, Integrated Authentication) example:

    <add key="connString" value="Provider=SQLOLEDB; Data Source=DBServer; Initial Catalog=CadzowDB; Integrated Security=SSPI;" />

    SQL Server (TCP/IP, Integrated Authentication) example:

    <add key="connString" value="Provider=SQLOLEDB; Data Source=DBServer,1433; Network Library=dbmssocn; Initial Catalog=CadzowDB; Integrated Security=SSPI;" />

    SQL Server (TCP/IP, SQL Server Authentication) example:

    <add key="connString" value="Provider=SQLOLEDB; Data Source=DBServer,1433; Network Library=dbmssocn; Initial Catalog=CadzowDB; User Id=User; Password=pass;" />

    (Note SQL Server must be configured to use both Windows and SQL Server authentication if using this method.)

    Microsoft Access example:

    <add key="connString" value "Provider=Microsoft.Jet.OLEDB.4.0; Data Source=c:\cadzow\success7\clients\smith\smith7.mdb" />

  • User Database: In some instances, the list of users is stored separately from the main Cadzow 2000 database file. This is mainly when the Cadzow 2000 database is not accessed live from Cadzow 2000 Weblink, but a copy is used instead, and the live database is somewhere else. However, the users database needs to be live, so the files are split. Consult with Cadzow about the need to use this setting. (If not specified, the user database is taken from connString as above.)

    <add key="connStringWeb" value="Provider=Microsoft.Jet.OLEDB.4.0; Data Source=C:\Cadzow\SUCCESS7\clients\smith\smithusers.mdb" />

  • System Log: In some instances, the system log is stored separately from the main Cadzow 2000 database file. Consult with Cadzow about the need to use this setting. This is only supported when using SQL Server. (If not specified, the system log is taken from connString as above.)

    <add key="connStringLog" value="Provider=SQLOLEDB; Data Source=DBServer,1433; Network Library=dbmssocn; Initial Catalog=CadzowDB2; User Id=User; Password=pass;" />

  • Graphics Files: Cadzow 2000 Content Manager and Weblink support a short-hand syntax for embedding images in webpages, and this setting tells Weblink where the graphics are stored. This could be another server or the same server. This setting needs to be relative to the client's browser.


    Another webserver:

    <add key="CustomLocation" value="" />

    The current webserver:

    <add key="CustomLocation" value="" />

    A different folder on the current webserver:

    <add key="CustomLocation" value="../../Images/" />

    A UNC path:

    <add key="CustomLocation" value="\\webserver01\webroot\images\" />

    NB. A UNC path would only be suitable in an intranet environment.

  • Site Name: A cosmetic identifier, for example:

    <add key="HostingName" value="Main Departmental Webserver" />

  • SMTP Host: Mail host used to send emails, for example:

    <add key="SmtpServer" value="" />

    If you want to use secured SMTP, use the following additional commands:

    <add key="UseSecured" value="-1"/>
    <add key="UseSecuredUserName" value="username"/>
    <add key="UseSecuredPassword" value="password"/>
    <add key="UseSecuredPort" value="port"/>

  • Email Enabled: Whether to send system-generated emails, for example:

    <add key="SendEmails" value="0" />

    System emails include successful and unsuccessful logins. Error reports are automatically emailed to Cadzow to notify us of script problems on your site.

  • Icon File: The location of an icon file to be used by the browser.

    <add key="ShortcutIcon" value="" />

    (Note most browsers will use a file called favicon.ico if it exists in the current directory. This setting can be used to specify an alternate file on another website.)

    Also, the Apple iPhone will use a file called apple-touch-icon.png if it exists in the root. It must be 45×45 pixels.

  • Comments: Comments may be added using the following notation:

    <!-- Comment -->

    NB. Only use letters and numbers. Do not use special characters such as hyphens (-) or slashes (/).

Permissions and Security

In many circumstances the server hosting the database (whether .MDB or SQL Server) is different from the web server, although it is not always the case. Thus the web server needs to access the data on another server or vice-versa.

Database is stored locally on the webserver

In this configuration, the .MDB file is stored on the physical web server, either under the webroot (for example, .\DATA) or outside the webroot (for example, C:\DATA). If the web server is granting access to anonymous web clients, then the database directory needs read/write permissions for the anonymous user account (usually IUSR_<webservername>). If integrated Windows security is used, relevant users would be granted permissions using NTFS ACLs.

This directory would then be shared to be accessible to the Cadzow 2000 users on the LAN, with appropriate permissions granted, and the Cadzow 2000 startup file (GO.BAT) would specify this location.

This technique has the advantage that it requires a bit less configuration in terms of permissions and also means that the web server application can run completely by itself. If the web server is compromised, in principle the attacker does not have a pathway to other servers (depending on the nature of the compromise).

Database is stored on another server

In this configuration, the .MDB is stored on another server, and the web server needs permissions on that server to gain access. If the web server is granting permissions to anonymous web clients (via IUSR_<webservername>), the server containing the database also needs a user account called IUSR_<webservername> with the same password, or IIS needs to use a domain account as the anonymous account.

The advantage here is that the load of accessing the database is performed by a dedicated file server rather than the web server, although conversely the web server needs to pull more data from the network to serve requests for content. However, it also means that if the web server is compromised it may give an attacker an immediate pathway to files on another server.

Ultimately the choice about which method to use will depend on what is convenient for your location, and there may be network traffic considerations also, eg. if you expect to have a small number of LAN users and many anonymous web users, the database is best located locally to the web server. If the other way around, the database is best on a high-throughput file server.

Database is stored on SQL Server

If using SQL Server, the web server can connect via SQL Authentication, whereby the username and password are included in the connection string (note there are security considerations with this method), or via Integrated Authentication, whereby the “anonymous” user is configured to have access to the database on the SQL Server server. Because each computer gets its own “IUSR_<webservername>” account, the latter method usually means creating a new local account on the SQL Server server with the same name and password so the credentials can be passed straight through from the webserver to the database. This user is then given appropriate permissions to the database. This method can be fiddly, but has the advantage that credentials are not stored in plain text in the web server configuration files.

Installing Updates

Updates are simply new packages. Follow “4. Install Files” above.

Copyright © 1996-2018 Cadzow TECH Pty. Ltd. All rights reserved.
Information and prices contained in this website may change without notice. Terms of use.

Question/comment about this page? Please email