Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Web Config File in IIS7 Windows 2008 Needs A look at.

Posted on 2009-07-13
7
Medium Priority
?
1,579 Views
Last Modified: 2012-05-07
I am having trouble with my server.  I am Pretty new with IIS .
Could someone that deals with this stuff all the time look at this file,
Attached is my web.config file from my Root Dir.  Can you tell me if it looks normal, and how many of the web.config pages should I have in my root Dir  folder and above?

Regards and thank you,
Selvol

web config IIs7 winblows 2008 ASP
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
 
    <system.webServer>
        <defaultDocument>
            <files>
                <clear />
                <add value="Default.asp" />
                <add value="Default.htm" />
                <add value="index.htm" />
                <add value="index.html" />
                <add value="iisstart.htm" />
                <add value="default.aspx" />
                <add value="index.php" />
            </files>
        </defaultDocument>
        <directoryBrowse enabled="false" showFlags="Date, Time, Size, Extension" />
        <asp appAllowDebugging="false" codePage="1252" enableParentPaths="true" exceptionCatchEnable="true" scriptErrorSentToBrowser="false" bufferingOn="true">
            <limits bufferingLimit="4194304" />
            <comPlus appServiceFlags="EnableSxS" sxsName="True" executeInMta="true" />
            <session allowSessionState="true" />
        </asp>
        <cgi createProcessAsUser="true" timeout="00:15:00" />
        <caching>
            <profiles>
                <remove extension=".asp" />
                <add extension=".asp" policy="CacheUntilChange" kernelCachePolicy="CacheUntilChange" duration="00:00:30" />
            </profiles>
         </caching>
 
    </system.webServer>
    <system.web>
        <compilation maxBatchGeneratedFileSize="1000" maxBatchSize="1000" />
        <globalization enableClientBasedCulture="true" />
        <identity impersonate="false" />
    </system.web>
</configuration>

Open in new window

0
Comment
Question by:selvol
[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
  • 5
7 Comments
 
LVL 1

Expert Comment

by:dhlevine
ID: 24841012
Hello -

What specifically is wrong with your server?
0
 
LVL 17

Author Comment

by:selvol
ID: 24841438
I have experienced some of my error pages not showing. CGI, running very HEAVY on the resourceds, A question about why its running in "ASP Classic" Mode.  Basically someone and of course not me, changing some  settings in en effort to do what I am not sure at the moment. There has been some performance issues.

 OS: Windows Server 2008 Web  Processor: 2.8GHz e7400   Ram: 4 GB

SElvol
0
 
LVL 17

Author Comment

by:selvol
ID: 24841452
0
10 Questions to Ask when Buying Backup Software

Choosing the right backup solution for your organization can be a daunting task. To make the selection process easier, ask solution providers these 10 key questions.

 
LVL 34

Accepted Solution

by:
Dave_Dietz earned 2000 total points
ID: 24842345
Your file looks normal.

In IIS 7.0 all of the configuration is held in .config files - ther eis no Metabase anymore.

At the very least there should be an applicationhost.config at c:\windows\system32\inetsrv\config\applicationhost.config.

It would not be out of range to see a web.config file in each directory of each website, although unless you are doing a lot of custom configuration I would expect more along a web.config at the root of the site and another at each application root with perhaps a couple extras sprinkled around.

CGI is typically resource heavy which is why CGI use is generally discouraged with IIS.  If you can use applciations that are FASTCGI compliant you can use the FASTCGI interface in IIS 7 (also installable under IIS 6) and get *much* better performance - order of magnitude or better improvement generally.

Classic mode vs. Integrated will be in the Applicationhost.config file but effectively it means the difference between .Net being used as a request handler accessed by making a request that includes one of its mapped extensions (Classic) vs. .Net being available from the front of the pipeline to the end of the pipeline (Integrated).  Is there a reason your are particularly concerned with this setting?

Dave Dietz
0
 
LVL 17

Author Comment

by:selvol
ID: 24843702
Thank you I am will close this when I get back....

Regards,

Selvol
0
 
LVL 17

Author Comment

by:selvol
ID: 24843740
0
 
LVL 17

Author Closing Comment

by:selvol
ID: 31602845
THank you............
0

Featured Post

Survive A High-Traffic Event with Percona

Your application or website rely on your database to deliver information about products and services to your customers. You can’t afford to have your database lose performance, lose availability or become unresponsive – even for just a few minutes.

Question has a verified solution.

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

Issue: One Windows 2008 R2 64bit server on the network unable to connect to a buffalo Device (Linkstation) with firmware version 1.56. There are a total of four servers on the network this being one of them. Troubleshooting Steps: Connect via h…
A phishing scam that claims a recipient’s credit card details have been “suspended” is the latest trend in spoof emails.
This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…

722 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