How to install DUclassified Version 2.0
---------------------------------------------
UPDATED 03/27/02

- Users can upload their images (you, the site admin, need to set WRITE access to the folder IMAGES. If not users won't be able to upload the images)

- Ad owners can delete their ads, besides edit

-----------------------------------------------

1. Upload all files to your Web server. If your server assigns Read and Write access to any directory, then place DUclassified anywhere you want to. If your Web Server only assigns one directory Read and Write-able, place the database file DUclassified.mdb there. Or, if you already have a directory on the server where other database files are, you should place DUclassified there also. 

2. View the path to DUclassified.mdb inside connDUclassified.asp
   a. Open the folder Connection
   b. Open the ASP file called connDUclassified.asp
   c. Look at the path which reads:

   MM_connDUclassified_STRING = "DRIVER={Microsoft Access Driver (*.mdb)};DBQ="& Server.MapPath("DUclassified.mdb") 

   This is the DSNless path. This would work for most cases. You don't have to change anything. Just get online and open the page default.asp. If it does not work, or if you have the following error message, then go back to connDUclassified.asp and change the path to something else, follow the part 3 in this read me):

   Errors:
       Microsoft OLE DB Provider for ODBC Drivers error '80004005' [Microsoft][ODBC Microsoft Access Driver] '(unknown)' is not a valid path. Make sure that the path name is spelled correctly and that you are connected to the server on which the file resides 

        Microsoft OLE DB Provider for ODBC Drivers error '80004005' [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified /default.asp, line 5" 


3. Change the path to something else:

   Originally the path is (as shown above):

   MM_connDUclassified_STRING = "DRIVER={Microsoft Access Driver (*.mdb)};DBQ="& Server.MapPath("DUclassified.mdb") 

   Change it to:

   MM_connDUclassified_STRING = "Driver={Microsoft Access Driver (.mdb)};DBQ=C:\Websites\DUclassified\database\DUclassified.mdb" 


    where C: is the driver where your Web site is. It would be C or D or E or F depens on how the Site Admin sets up the IIS server. 
  
   For example, if the  Web sites in your server are placed in the drive C at the Inetpub/wwwroot, and your site name is mysite, and you place the whole DUclassified pages and database in a folder called classified, then the path is:

   MM_connDUclassified_STRING = "Driver={Microsoft Access Driver (.mdb)};DBQ=C:\Inetpub\wwwroot\mysite\classified\database\DUclassified.mdb" 

   Again, please remember that you should place the DUclassified.mdb at somewhere that is secured. Your server Admin usually sets a directory for you to place databases. If he does, you can not place your databases anywhere else. If so, move DUclassfied.mdb there and change to path pointing there, for instance:

   MM_connDUclassified_STRING = "Driver={Microsoft Access Driver (.mdb)};DBQ=C:\Inetpub\wwwroot\mysite\Secured_Database_Folder\DUclassified.mdb" 

   while DUclassified directory would be:
    mysite\classified\default.asp


---------------------------------------------



  
 