Description:
While adding additional files to a package a 404 error occurs.
CAUSE
One of the sub-directories has a file that is set as a default content page like: Default.aspx, Default.htm, Default.asp, index.htm, or iisstart.htm.
When accessing that directory those pages are served up instaed of a listing of the directory.
RESOLUTION
Change to a UNC share. Those files are not going to be downloaded to clients if using download from source since IIS will treat them as webpages and not downloadable content.
RESOLUTION 2
- Open IIS manager and browse to the root of the package.
- Highlight the directory.
- Double-click "Default Document"
- On the right-hand side under "Actions" click "Disable"
or - Click on the specific page that the package contains and click "Remove" on the right hand side under "Actions"
- Click Ok.