« Previous Next »

Thread: SERVER ERROR MESSAGE 401.2 USING WINDOW VISTA HOME PREMIUM , IIS7...PLEASE HELP!!

Last post 11-14-2007 12:05 AM by steve schofield. 3 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (4 items)

Sort Posts:

  • 11-09-2007, 10:12 PM

    • tyrone88
    • Not Ranked
    • Joined on 11-09-2007, 5:35 PM
    • Posts 2

    SERVER ERROR MESSAGE 401.2 USING WINDOW VISTA HOME PREMIUM , IIS7...PLEASE HELP!!

    Server Error in '/nhzgroup' Application.

    Access is denied.

    Description: An error occurred while accessing the resources required to serve this request. The server may not be configured for access to the requested URL.

    Error message 401.2.: Unauthorized: Logon failed due to server configuration.  Verify that you have permission to view this directory or page based on the credentials you supplied and the authentication methods enabled on the Web server.  Contact the Web server's administrator for additional assistance.


    Version Information: Microsoft .NET Framework Version:2.0.50727.312; ASP.NET Version:2.0.50727.833

    My Web Config--->

    <?xml version="1.0" encoding="utf-8"?>
    <configuration>
      <connectionStrings>
        <add name="nhzConnectionString" connectionString="Provider=Microsoft.Jet.OLEDB.4.0;Data Source=&quot;|DataDirectory|\nhz.mdb&quot;"
          providerName="System.Data.OleDb" />
        <add name="nhzConnectionString2" connectionString="Provider=Microsoft.Jet.OLEDB.4.0;Data Source=&quot;|DataDirectory|\nhz.mdb&quot;"
          providerName="System.Data.OleDb" />
      </connectionStrings>
      <appSettings>
        <add key="ConnectionString" value="Provider=Microsoft.Jet.OLEDB.4.0; Data Source=|DataDirectory|nhz.mdb;"/>
      </appSettings>
      <system.web>
        <trace enabled="true" />
        <compilation debug="true" />
        <roleManager enabled="true" />
        <authentication mode="Windows">
          <forms name=".nypLogin" loginUrl="Default.aspx"
       protection="All" timeout="60" />
        </authentication>
        <machineKey validationKey="AutoGenerate"
       decryptionKey="AutoGenerate" validation="SHA1"/>
        <authorization>
          <deny users="?" />
        </authorization>
        <pages validateRequest="false" />
      </system.web>
    </configuration>

     

  • 11-12-2007, 1:30 PM In reply to

    Re: SERVER ERROR MESSAGE 401.2 USING WINDOW VISTA HOME PREMIUM , IIS7...PLEASE HELP!!

    Did you verify permissions as suggested?

    Jeff

    Look for Wrox's new book Professional IIS 7 in your local bookstore, or order now at Amazon.com
  • 11-12-2007, 9:19 PM In reply to

    • tyrone88
    • Not Ranked
    • Joined on 11-09-2007, 5:35 PM
    • Posts 2

    Re: SERVER ERROR MESSAGE 401.2 USING WINDOW VISTA HOME PREMIUM , IIS7...PLEASE HELP!!

    how can i verify permissions?thanks alot

  • 11-14-2007, 12:05 AM In reply to

    Re: SERVER ERROR MESSAGE 401.2 USING WINDOW VISTA HOME PREMIUM , IIS7...PLEASE HELP!!

    Process Monitor (aka filemon) can help troubleshoot permissions.  You can run an elevated explorer window to view permissions.

    http://www.microsoft.com/technet/sysinternals/fileanddiskutilities.mspx?wt.svl=featured

    Steve Schofield
    Windows Server MVP - IIS
    http://weblogs.asp.net/steveschofield


    http://www.IISLogs.com
    Log archival solution
    Install, Configure, Forget
Page 1 of 1 (4 items)
Microsoft Communities