The default Web Server is http://localhost:1840/projectfolder/
But if try design one website at root, then all the URL have been broken.
Fix it:
1. add
Tools–>External Tools–>Add
2. config
title:webserver
command:C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\WebDev.WebServer.EXE
Arguments: /port:8080 /path:$(ProjectDir)\
3.Start Web server
Tools–>webserver
4.Project
Start option
use custom server: http://localhost:8080/
aspx file error
Server Application Unavailable
The web application you are attempting to access on this web server is currently unavailable. Please hit the “Refresh” button in your web browser to retry your request.
fix it:
1. add asp.net user right
* IUSER_MACHINENAME (Internet Guest Account)
* ASPNET (ASP.NET Machine Account)
With Read & Execute, List Folder Contents and Read permissions.
2. re-install the ASP.NET portion
1. Open command prompt to C:\windows\microsoft.net\framework\v2.0.50727
2. run the following command: aspnet_regiis.exe -u
3. run the following command: aspnet_regiis.exe -i
reference: http://stackoverflow.com/questions/233478?sort=votes