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

x
?
Solved

How do I reset Default Web Site to default logging after being set to ODBC System DSN?

Posted on 2010-11-23
3
Medium Priority
?
412 Views
Last Modified: 2012-05-10
How do I reset Default Web Site to default logging after being set to ODBC System DSN?  Looking for a way of removing and or reset logging to defaults by using appcmd.exe or .Net by editing applicationhost.config file.  Whenever I change to use another System DSN or reset logging to default, does not work.  Leaves remnants of prior ODBC logging in applicationhosts.config file.  How do I reset website logging to defaults or rest in applicationhost.config file?
0
Comment
Question by:bcoturbo
[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
  • 3
3 Comments
 
LVL 42

Expert Comment

by:sedgwick
ID: 34276940
how do u change it to ODBC System DSN?
0
 
LVL 42

Expert Comment

by:sedgwick
ID: 34276943
i meant to which logging the default web set is changed?
the default is W3C as far as i know...
0
 
LVL 42

Accepted Solution

by:
sedgwick earned 2000 total points
ID: 34276948
to reset the logging to its default (W3C and daily scheduled) you can use the appcmd.exe:

appcmd.exe set config -section:system.applicationHost/log /centralLogFileMode:"CentralW3C" /commit:apphost

appcmd.exe set config -section:system.applicationHost/log /centralW3CLogFile.period:"Daily" /commit:apphost
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

What is an ISAPI filter?   •      It's an assembly (.dll file) that can add or change the way IIS works.   •      They can be enabled globally for your web server or on a site-by-site basis.   When the IIS server receives a request, enabling the ISAPI fi…
For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…

704 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