Solved

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

Posted on 2009-07-13
7
1,576 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
Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

 
LVL 34

Accepted Solution

by:
Dave_Dietz earned 500 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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

INTRODUCTION The purpose of this document is to demonstrate the Installation and configuration of the Data Protection Manager product. Note that this demonstration was prepared on the basis of Windows OS is 2008 R2 and DPM 2010. DATA PROTECTI…
Know what services you can and cannot, should and should not combine on your server.
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…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…
Suggested Courses

626 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