Solved

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

Posted on 2013-01-11
6
1,058 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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Because your company can’t afford for you to make SEO mistakes, you’ll want to ensure you’re taking the right steps each and every time you post a new piece of content. This list of optimization do’s and don’ts can help you become an SEO wizard.
FAQ pages provide a simple way for you to supply and for customers to find answers to the most common questions about your company. Here are six reasons why your company website should have a FAQ page
This tutorial walks through the best practices in adding a local business to Google Maps including how to properly search for duplicates, marker placement, and inputing business details. Login to your Google Account, then search for "Google Mapmaker…
The viewer will get a basic understanding of what section 508 compliance can entail, learn about skip navigation links, alt text, transcripts, and font size controls.

735 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