How to run ASP file on VS 2010
- Create a new folder
- Open Visual Studio
- Choose "File" -> "Open web site"
- Go to the recently created folder
- Then right click -> Add New item
- Select "HTML File"
- Rename the file as .ASP
- Create a new web site or virtual directory in IIS and point to the folder
1. Open 'Add/Remove Windows Components' found in 'Add/Remove Programs' in the 'Control Panel'.
2. Place a tick in the check box for 'Internet Information Services (IIS)' leaving all the default installation settings intact.
3. Right click "My Computer" -> "Manage" -> Expand "Services and Applications" -> Expand "Internet Information Services" -> right click on "default website".
4. To add a new virtual directory right click on 'Default Website' and select 'New', followed by 'Virtual Directory', from the drop down list.
9. Finally, browse the website from by browsing the .asp file in Computer management or browser.