Solved

IIS 7 site not working- .NET issue (certsrv)

Posted on 2013-01-11
6
1,064 Views
Last Modified: 2013-01-19
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?
0
Comment
Question by:mark-199
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
6 Comments
 
LVL 13

Expert Comment

by:Yagya Shree
ID: 38766737
Please go to IIS Manager-Application pool
-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
0
 

Author Comment

by:mark-199
ID: 38767321
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.
0
 
LVL 13

Expert Comment

by:Yagya Shree
ID: 38767391
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
0
Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

 
LVL 13

Expert Comment

by:Yagya Shree
ID: 38771404
Did you manage to get an answer for your query?
0
 

Accepted Solution

by:
mark-199 earned 0 total points
ID: 38774278
I couldn't fix the issue in the end... it boiled down to the account not having sufficient permissions. We ended up assigning the computer account full permissions and were able to renew the certificate through the local certificate store on the CA.
I might start a new post with more specific error messages.
Thank you for your suggestions.
0
 

Author Closing Comment

by:mark-199
ID: 38796043
I had to implement a workaround.
0

Featured Post

Why Off-Site Backups Are The Only Way To Go

You are probably backing up your data—but how and where? Ransomware is on the rise and there are variants that specifically target backups. Read on to discover why off-site is the way to go.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
Although a lot of people devote their energy toward marketing for specific industries, there are some basic principles that can be applied to any sector imaginable. We’ll look at four steps to take and examine how those steps were put into action fo…
Viewers will get an overview of the benefits and risks of using Bitcoin to accept payments. What Bitcoin is: Legality: Risks: Benefits: Which businesses are best suited?: Other things you should know: How to get started:
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

710 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question