mark-199
asked on
IIS 7 site not working- .NET issue (certsrv)
I am trying to use the online Certificate Authority service to generate a certificate.
When I browse to http://127.0.0.1/CertSrv I recive the following error message:
Server Application Unavailable
The web application you are attempting to access on this web server is currently unavailable. Please hit the "Refresh" button in your web browser to retry your request.
Administrator Note: An error message detailing the cause of this specific request failure can be found in the application event log of the web server. Please review this log entry to discover what caused this error to occur.
This is what gets logged in the application > event viewer:
A request mapped to aspnet_isapi.dll was made within an application pool running in Integrated .NET mode. Aspnet_isapi.dll can only be used when running in Classic .NET mode. Please either specify preCondition="ISAPImode" on the handler mapping to make it run only in application pools running in Classic .NET mode, or move the application to another application pool running in Classic .NET mode in order to use this handler mapping.
Source: ASP.NET 4.0.30319.0
Event ID: 1324
How can I fix this?
When I browse to http://127.0.0.1/CertSrv I recive the following error message:
Server Application Unavailable
The web application you are attempting to access on this web server is currently unavailable. Please hit the "Refresh" button in your web browser to retry your request.
Administrator Note: An error message detailing the cause of this specific request failure can be found in the application event log of the web server. Please review this log entry to discover what caused this error to occur.
This is what gets logged in the application > event viewer:
A request mapped to aspnet_isapi.dll was made within an application pool running in Integrated .NET mode. Aspnet_isapi.dll can only be used when running in Classic .NET mode. Please either specify preCondition="ISAPImode" on the handler mapping to make it run only in application pools running in Classic .NET mode, or move the application to another application pool running in Classic .NET mode in order to use this handler mapping.
Source: ASP.NET 4.0.30319.0
Event ID: 1324
How can I fix this?
ASKER
I have now assigned .NET Classic mode to the certsrv site.
I was then able to access the website but got the following error:
'No certificate templates could be found. You do not have permission to request a certificate from this CA, or an error occured while accessing the Active Directory'.
Any further suggestions are appreciated.
I was then able to access the website but got the following error:
'No certificate templates could be found. You do not have permission to request a certificate from this CA, or an error occured while accessing the Active Directory'.
Any further suggestions are appreciated.
check this out
"No Certificate Templates Could Be Found" error message when a user requests certificate from CA Web enrollment pages
http://support.microsoft.com/kb/811418
"No Certificate Templates Could Be Found" error message when a user requests certificate from CA Web enrollment pages
http://support.microsoft.com/kb/811418
Did you manage to get an answer for your query?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I had to implement a workaround.
-Created a new application pool with Integrated .NET mode
-Assign the application pool to your website in IIS
-Try to get the certificate once again
ASP.NET Integration with IIS 7
http://www.iis.net/learn/application-frameworks/building-and-running-aspnet-applications/aspnet-integration-with-iis