- Type "cmd" at the start menu
- A command window for C:\Windows\system32\cmd.exe will spawn
- Type ipconfig at the prompt
- Get the IPv4 address. (Note: this may change from day to day depending upon your work environment)
- Put something like: localhost 10.236.19.28 in your hosts file at C:\Windows\System32\drivers\etc as applicable.
- Open Internet Information Services (IIS) 7 Manager (if you don’t have it, get it here: http://www.microsoft.com/download/en/details.aspx?id=2299)
- Right-click at the "Sites" folder at the upper left (under the first expandable menu) and select Add Web Site...
- The "Add Web Site" dialog box appears. Give:
- any name desired for "Site name"
- the path to your UI project at "Physical path"
- localhost at "Host name"
- After completing the "Add Web Site" dialog box, go to "Application Pools" at the upper right of the ISS Manager.
- Associate version 4 of the .NET Framework with localhost
- Run Visual Studio 2010 as Administrator
- Select File > Open > Web Site... and then select "Local IIS"
- You should see a line item for your web site, so select it and then press the "Open" button
- You may be prompted with: "The ASP.NET 4.0 Web extension is not enabled on the Web server. http://localhost is targeting ASP.NET 4.0. Do you want to enable ASP.NET 4.0 on the Web server?" to which you should answer "Yes"
- At this point I abandoned the process...
Wednesday, August 10, 2011
I'll revisit this later...
I got partway through a flawed set up of IIS for a Visual Studio project before I realized I was going down the wrong path.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment