Hi everyone. A programmers notebook started out as a place for me to post things that I find on the internet for myself. I guess you could say that these have proven to be beneficial to everyone. Enjoy!
Monday, January 31, 2011
When bad coding goes wrong
Tuesday, January 11, 2011
Visual Studio & Windows 7 IIS Configuration
Installing the ASP.NET component of IIS 7.0 in Windows Vista enables ASP.NET Web applications to run as local IIS Web sites. To enable Visual Studio to create and use local IIS Web sites, you must enable metabase compatibility. This lets Visual Studio interact with the IIS metabase and with the IIS 7.0 configuration store.
If IIS is enabled on your computer before you install the .NET Framework version 4, ASP.NET 4 is automatically registered with IIS. However, if IIS is not enabled on the computer when you install the .NET Framework, you must manually register ASP.NET with the appropriate version of IIS by running the ASP.NET IIS Registration tool. For more information, see ASP.NET IIS Registration Tool (Aspnet_regiis.exe).
Note |
---|
You must have administrative permissions to install IIS 7.0. |
To enable ASP.NET on Windows Vista for debugging
-
In , open Control Panel and then click Programs.
-
Under Programs and Features, click Turn Windows features on or off.
Note If Control Panel is set to display in Classic view, click Programs and Features, and
in then in the left pane, click Turn Windows features on or off.
The Windows Features dialog box is displayed.
Note If User Account Control (UAC) is enabled, it might display a message when
you try to access the Windows Features dialog box. Click Continue to access the
dialog box. For more information, see User Account Control.
-
Expand Internet Information Services.
-
Expand Web Management Tools, expand IIS 6 Management Compatibility, and then select the IIS 6 Metabase and IIS 6 configuration compatibility check box.
-
Expand World Wide Web Services, expand Application Development Features, and then select the ASP.NET check box.
Note The options that are required for Web application development will
automatically be selected.
-
Expand World Wide Web Services, expand Security, and then select the Windows Authentication check box.
To enable Visual Studio to debug applications, you must configure IIS 7.0 with the Windows Authentication module. By default, the module is not configured as part of IIS.
-
Click OK to start the IIS and ASP.NET installation process.
-
When the configuration process finishes, close Control Panel.