Hello all,
I'm going to tell you what's happening.
SYSTEM
- Windows Vista Home Premium
- IIS 7
1. Firstly I created a new directory in the system;
2. Secondly I created a new web site under IIS 7;
- I left their default configurations such as:
- Application Poll: DefaultAppPool
- so on;
3. I got this error
HTTP Error 500.0 - Internal Server Error
Description: This
application is running in an application pool that uses the Integrated
.NET mode. This is the preferred mode for running ASP.NET applications
on the current and future version of IIS.
In this mode,
the application using client impersonation configured with <identity
impersonate="true" /> may not behave correctly. Client impersonation
is not available in early ASP.NET request processing stages and may
lead modules in those stages to execute with process identity instead.
You have the following options:
1) Disable client impersonation.
If your application design allows it, you can disable client
impersonation by setting <identity impersonate="false" /> in your
web.config file. This will make your application code execute with the
process identity.
NOTE: This option may require permissions on your application's
files and data to be changed to allow access to the process identity.\
2) Disable this error.
If
you do not have any modules executing within the BeginRequest and
AuthenticateRequest ASP.NET pipeline stages, or it is acceptable for
that code to execute under process identity, you can disable this error
by setting <validation validateIntegratedModeConfiguration="false"
/> in your application's configuration. Do this only after making
sure that the rest of your configuration is compatible with Integrated
.NET mode, as thiswill turn off the runtime validation for the
application.
3) Move this application to an application pool using the Classic .NET mode (PREFERRED).
You
can move the application to an application pool that uses the Classic
.NET mode by using the following from a command line window (the window
must be running as Administrator)
%systemroot%\system32\inetsrv\APPCMD.EXE set app "v2.oalexandrino.com/" /applicationPool:"Classic .NET AppPool"
Alternatively, you can use any other application pool on your system
that is running in the Classic .NET mode. You can also use the IIS
Administration tool to move this application to another application
pool.
............................
............................
............................
"
4 - I changed "Application Poll" to "Classic .NET AppPool"
- the previous issue has gone now! But.........
- I GOT this:
HTTP Error 401.2 - Unauthorized
Description: You are not authorized to view this page due to invalid authentication headers.
Error Code: 0x80070005
Notification: AuthenticateRequest
Module: IIS Web Core
Requested URL: http://localhost:80/
5. on the "AUTHENTICATION TAB"
I have just 3 options:
they are:
- Anonynous authentication;
- ASP.NET impersonation;
- Forms authentication;
I can't see windows Integrated authentication as I had at IIS 6 on my Windows 2003 server.
Thanks a lot!