FREB Not Working?

The saga continues...now my freb files are not being sent to the correct directory for some of my sites.  In fact I can't find them at all.  I have Failed Request Tracing enabled and a custom directory indicated.  Everywhere I look it seems fine.  Would appreciate a "don't forget to do ..." advice if anyone has any.
Bob SchneiderCo-OwnerAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Scott Fell, EE MVEDeveloper & EE ModeratorCommented:
I don't use this feature enough.  When you enabled it you should be able to designate where they go.  The default is inetpub\logs

http://www.iis.net/learn/troubleshoot/using-failed-request-tracing/troubleshooting-failed-requests-using-tracing-in-iis-85
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Scott Fell, EE MVEDeveloper & EE ModeratorCommented:
Mine are at (server 2012, iss 8)  C:\inetpub\logs\FailedReqLogFiles\
0
Bob SchneiderCo-OwnerAuthor Commented:
Right I put each site's logs in it's own file: (C:\inetpub\logs\FailedReqLogFiles\etraxc for instance).  It works for some but not all.  Is it related to a custom error page setting?  I'm a little perplexed.
0
Making Bulk Changes to Active Directory

Watch this video to see how easy it is to make mass changes to Active Directory from an external text file without using complicated scripts.

Big MontySenior Web Developer / CEO of ExchangeTree.org Commented:
It works for some but not all

did you make sure you enabled it when you were logged in as an admin?

did you enable it at the site level and not the server level?


**edit - changed first line from code block to quote block
0
Bob SchneiderCo-OwnerAuthor Commented:
Yes, and yes...
0
Big MontySenior Web Developer / CEO of ExchangeTree.org Commented:
the 2nd yes, you set it at the site level OR the server level?
0
Bob SchneiderCo-OwnerAuthor Commented:
I set the features and roles in the server but set the parameters for each failed request log at the site level.  Should I do something at the default website level?
0
Big MontySenior Web Developer / CEO of ExchangeTree.org Commented:
you can try, but I don't think it'll resolve the issue...

the custom folder you set up for the logs, do they have read/write permissions for whatever accounts you use to run your websites (this would only be relevant if you were using a unique user for each of your sites)?
0
Scott Fell, EE MVEDeveloper & EE ModeratorCommented:
The iis_iusrs account has write and special permissions
0
Bob SchneiderCo-OwnerAuthor Commented:
I don't think it a permissions thing because when we were trying to get the server running on Sunday the FREB was working.  Only after I redid the sites without the old web.config file did the FREB not work.

Could this be related to the web.config issue?  Should there be a section in that file indicating failed request tracing?
0
Big MontySenior Web Developer / CEO of ExchangeTree.org Commented:
it may, do you have a tracing section in your web.config, something like the example below taken from here?

<tracing>
   <traceFailedRequests>
      <add path="*.aspx">
         <traceAreas>
            <add provider="ASPNET" areas="Infrastructure,Module,Page,AppServices" verbosity="Warning" />
         </traceAreas>
         <failureDefinitions statusCodes="404" />
      </add>
   </traceFailedRequests>
</tracing>

Open in new window

0
Bob SchneiderCo-OwnerAuthor Commented:
No its not there.  Can it be created manually or is there a way to get the system to create it?
0
Bob SchneiderCo-OwnerAuthor Commented:
Or is there something I did not do to cause that????
0
Big MontySenior Web Developer / CEO of ExchangeTree.org Commented:
You can put it in manually. Try doing that and see if that helps
0
Bob SchneiderCo-OwnerAuthor Commented:
ok would I have to modify your snippet at all for a classic asp page that wanted to send all 500 errors to C:\inetpub\logs\FailedReqLogFiles\site_fldr
0
Big MontySenior Web Developer / CEO of ExchangeTree.org Commented:
As a test follow the instructions in the link to see if you can get the trace to work with a 404 error. Once that is working we'll work on the 500 messages
0
Bob SchneiderCo-OwnerAuthor Commented:
Here is what i put in there...no love.  Let me know if it is incorrect.

<?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" />
            </files>
        </defaultDocument>
        <httpErrors>
            <remove statusCode="404" subStatusCode="-1" />
            <remove statusCode="500" subStatusCode="-1" />
            <error statusCode="500" prefixLanguageFilePath="" path="/500err.asp" responseMode="ExecuteURL" />
            <error statusCode="404" prefixLanguageFilePath="" path="/404err.asp" responseMode="ExecuteURL" />
        </httpErrors>
      <tracing>
        <traceFailedRequests>
          <add path="C:\inetpub\logs\FailedReqLogFiles\gopherstateevents">
            <traceAreas>
              <add provider="ASPNET" areas="Infrastructure,Module,Page,AppServices" verbosity="Warning" />
            </traceAreas>
            <failureDefinitions statusCodes="404" />
          </add>
        </traceFailedRequests>
      </tracing>
    </system.webServer>
</configuration>

Open in new window

0
Bob SchneiderCo-OwnerAuthor Commented:
Thanks for your help.  Finally got them working.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft IIS Web Server

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.