Monday, November 10, 2008

Nested application does not authenticate correctly with parent application.

If you have a sub application which is nested in your main site in asp.net and the forms autentication is not working.  Check that the nested application web.config does not have a mochine key setting.

Wednesday, November 5, 2008

URLUrlRewritingNet.UrlRewriter.dll and IIS7

URL Rewriter here can take some configuration for IIS 7 and Vista.

http://urlrewriter.net/index.php/support

To configure correctly please read this entry in this blog:

http://www.improve.dk/blog/2006/12/11/making-url-rewriting-on-iis7-work-like-iis6

Sunday, November 2, 2008

You must be a member of the Administrators group on the local computer to access the IIS metabase. Therefore, you cannot create or open a local IIS Web site. If you have Read, Write, and Modify permissions for the folder where the files are located, you can create a file system Web site that points to the folder in order to edit the files.

Problem
Open Visual Studio 2005 and open website via IIS the following message is shown:

"You must be a member of the Administrators group on the local computer to access the IIS metabase. Therefore, you cannot create or open a local IIS Web site. If you have Read, Write, and Modify permissions for the folder where the files are located, you can create a file system Web site that points to the folder in order to edit the files."

Solution
I then remembered an IIS 6 option under the Windows Features install dialog under Internet Information Services and found the following option that allows VS 2005 to play with IIS 7....IIS Metabase and IIS 6 configuration compatibility.  Here are the steps:
  1. Open Control Panel
  2. Open Programs
  3. Open Windows Features
  4. Expand Internet Information Services
  5. Expand Web Management Tools
  6. Expand IIS 6 Management Compatibility
  7. Check IIS Metabase and IIS 6 configuration compatibility
  8. Click OK
http://blogs.msdn.com/jorman/archive/2006/06/06/vista-iis-7-local-iis-web-site-error.aspx