Click here to Skip to main content
15,893,487 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have created a web application where a user can upload files from the UI. The web app saves the file to a file system and saves the file name and path to a database table. I am using the Casini dev web server but I need to turn my C:\UPLOADED_FILES\ directory into a virtual directory so I can open the files through the web app. I have performed the following steps to set this up:

1. Select "New Site" > "Site From Folder" from the main menu in WebMatrix
2. Select C:\UPLOADED_FILES\ from "Browse For Folder" dialog
3. WebMatrix displays "The Site UPLOADED_FILES has started successfully" in the status bar

However, when I right-click a file in the directory structure in the left panel and select "Launch in Browser" the following message is displayed "IIS 7.5 Express Detailed Error - 404.20 - Not Found".

What's the problem here? Am I missing a step?
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900