Directory Sizer 2 - dszConnection

Overview Architecture Download Register FAQ Support

The include file '../include/dszConnection.asp' was not found.

dszWeb/admin/dszConnectionA.asp and dszWeb/include/dszConnection.asp are created in the software source location when you install the database server. Then when you install the web they are copied over and then deleted from the source. Installing in the wrong order, from different sources, or installing the web twice can cause this problem.

To fix the problem:

  1. Download and run fixPasswords.exe on the database server, and enter new passwords for the web SQL logins.
  2. Download the following two files to a temporary location:

            dszConnection.txt
            dszConnectionA.txt
  3. Edit dszConnection.txt and change pwd=password1 to pwd=yournewuserpassword and change FOOBAR to the name of your database server.
  4. Edit dszConnectionA.txt and change pwd=password2 to pwd=yournewadminpassword and change FOOBAR to the name of your database server.
  5. Rename the files from .txt to .asp
  6. Put dszConnectionA.asp in the dszWeb\admin folder.
  7. Put dszConnection.asp in the dszWeb\include folder.

If the database and the web server are on the same machine, there is an alternative to hard coding sql passwords in files - you can use sql trusted login to access the database. To do this, edit both the dszConnectionA.asp and dszConnection.asp files, remove the single quote from the beginning of the third line, and insert one in front of the next line.


Directory Sizer, FranzO Software