Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Somehow I managed to fix Mixed error pages in IIS 7.5 on my Windows 7 x64 dev box, which is also IIS 7.5. Or I should rather say "it works" instead of "I fixed it", since I don't really know what was wrong in the first place.

I copied my applicationHost.config and web.config to the production server, but it doesn't work there.

What other config file am I missing? How can I overwrite the entire IIS configuration on the production server with my own? Is there a complete list of files that includes the whole configuration?

share|improve this question
    
I'm confused. First you say it "works", then a sentence later you say it doesn't work. Why not just use the Windows component installer to remove IIS and reinstall it? What error messages are you getting specifically? –  GregD Oct 17 '11 at 14:08
    
@GregD : edited to make it more clear that it works on my dev box but not on the production box. –  Mauricio Scheffer Oct 17 '11 at 14:27
    
@GregD : reinstalling IIS is similar to "programming by coincidence". I'd rather understand what I'm doing and why, so I don't have to reinstall everything every time I have a problem. –  Mauricio Scheffer Oct 17 '11 at 14:28
    
@GregD : I described in the linked question what's wrong and what's the server response and how it differs from the expected response. What I'm asking here is a different question: how can I overwrite the entire IIS configuration on the production server with the one on my dev box? –  Mauricio Scheffer Oct 17 '11 at 14:30
    
You still didn't answer my question. What error message are you getting? Telling us "it doesn't work there" isn't really telling us anything. This could literally be HUNDREDS of things wrong and HUNDREDS of different ways of fixing it..It could be you don't have a correct versino of .NET installed...it could be a setting in IIS that needs to be turned off/on, it could be the sun isn't aligned properly. I think you'll get more help if you include more specifics as opposed to just saying "it doesn't work." –  GregD Oct 17 '11 at 15:35

1 Answer 1

Sometimes I solved this type of problems dropping and recreating ASP.NET application (if an ASP.NET app).

For the errors problem, i solved with:

  <system.webServer>    
    <httpErrors existingResponse="PassThrough" />  
  </system.webServer> 

in application web.config; but this can be made also on entire IIS.

share|improve this answer
    
Thanks, I'll try that! However this is an answer for my other question, not for this one. –  Mauricio Scheffer Oct 17 '11 at 15:01

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.