Configuring IIS for Apollo ASP
Symptoms: 0x8000FFFF
The solution is to assign the proper security rights to directory that holds your data files.
The most common problem in getting Apollo ASP to work, is not with
Apollo ASP itself, but rather in configuring your IIS web server with the
proper rights to allow data access. Basically, you must set the proper "web"
rights to the directory containing your data files.
Option 1
IIS (v6.x/7.x)
- Run File Explorer
- Right click the folder where your DBF files are located
- select Properties
- select Security
- click Edit
- click Add
- enter "Everyone"
- click OK
- select Everyone and click "Full Control" checkbox
- click OK
IIS (before v6)
- Run IIS
- Select your web site
- Right-click/properties on the directory that holds your data files
- Select "Directory" Tab (default tab) and check "[x] Read" and
"[x] Write" rights
- Select "Directory Security" Tab
- In the "Anonymous Access and Authentication" section, press
the Edit button
- Check "[x] Allow Anonymous Access" and press the Edit button
- Add "Guest" (this is not the same as "Internet Guest Account")
-OR- Add any Internet account that belongs to the "Guests" group.
Usually has a prefix "IUSR_xxx"
- In this same dialog:
IIS 5: Check [X] Allow IIS to Control
Password IIS 4: Uncheck [X] Enable Automatic Password Synchronization
Option 2
If you are still unable to see data, try the following:
- Run Explorer
- Select the data directory
- Right-click/properties
- NT: Select "Security" Tab and press the "Permissions"
Win2000: Press the "Advanced" button and select the "Permission" tab
(default first tab)
- Add "Everyone" to the list of permissions and set the rights
of "Everyone" to "Full Control" or allow "Read" and "Write".
Other configuration issues:
- Make sure the DBF data files exist on the web server
- Make sure the files themselves are not marked as "read only".
- Confirm that you are accessing the correct data folder by checking the location of your web site root directory. Use this code to get the full path:
path = Request.ServerVariables("APPL_PHYSICAL_PATH")
response.write( path )
- Confirm that the file and directory attributes are not set to "Ready for Archive"
|