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
Solved

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

Posted on 2013-01-11
6
1,053 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
  • 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
How our DevOps Teams Maximize Uptime

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us. Read the use case whitepaper.

 
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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Get to know the ins and outs of building a web-based ERP system for your enterprise. Development timeline, technology, and costs outlined.
Color can increase conversions, create feelings of warmth or even incite people to get behind a cause. If you want your website to really impact site visitors, then it is vital to consider the impact color has on them.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
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.

860 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