Solved

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

Posted on 2013-01-11
6
1,038 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
Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

 
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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
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.

930 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now