How to run ASP file on VS 2010
2012-09-21 10:21
435 查看
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.
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.
相关文章推荐
- How to compile and run a simple java file in jenkins on Windows
- How to enable an ASP.Net application to run on a SharePoint virtual server
- How to run arduino uno blink demo on Fedora 24?
- Tip/Trick: How to Run a Root “/” Site with the Local Web Server using VS 2005 SP1
- How to Enable Office Web Apps on SharePoint 2010
- How to Install and Run Network Simulator (NS2) v2.35 on Ubuntu 10.04
- VS 2010 - error LNK1123: failure during conversion to COFF: file invalid or corrupt
- How to run test cases in a specified file?
- How to build and run ARM Linux on QEMU from scratch
- how to prevent hadoop job to fail on corrupted input file
- How to run Android apps in tablet mode on your phone
- How to install VS 2005 and MSDN for VS 2005 on XP without SP2
- Configuring IIS to Run 32-bit ASP.NET Applications on 64-bit Windows (IIS 6.0)
- How to open a large text file on Linux
- How to run test cases on android-ndk
- HOW TO: Upload a File to a Web Server in ASP.NET by Using Visual Basic .NET
- svn : how to set the executable bit on a file?
- How to run 32 bit .NET Windows apps on 64 bit Windows (including with IEExec)
- How to deploy the ASP.NET MVC 3 website into the IIS7 on Windows server 2008
- How to successfully edit readonly file in VS?