Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > Other ASP.NET > ASP.NET 1.x and 2.0 Application Design
|
ASP.NET 1.x and 2.0 Application Design Application design with ASP.NET 1.0, 1.1, and 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.x and 2.0 Application Design section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 11th, 2004, 12:00 AM
Registered User
 
Join Date: Mar 2004
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default ¡°/RTankManager_WebUI¡±Ó¦ÓóÌÐòÖеķþ ÎñÆ÷´íÎó¡£

I add a section in Web.config as follow:

<section name="ApplicationConfiguration" type="RTankManager.SystemFramework.ApplicationConf iguration, RTankManager.SystemFramework" />
<ApplicationConfiguration>

    <!--

        To enable tracing do the following:
            1. Set the SystemFramework.Tracing.Enabled value to "True"
            2. Be sure the file identified by SystemFramework.Tracing.TraceFile exists, if not create it
            3. Place an ACL on the file allowing full access to [machine name]\ASPNET
            4. Restart IIS

    -->
    <add key="SystemFramework.Tracing.Enabled" value="False" />

    <add key="SystemFramework.Tracing.TraceFile" value="C:\Documents and Settings\zhangmin\My Documents\Visual Studio Projects\RTankManager\RTankManager\.\RTankTrace.tx t" />

    <add key="SystemFramework.Tracing.TraceLevel" value="4" />
    <!-- This switch name. The trace level for this name can be set through
             environment variables or the registry -->
    <add key="SystemFramework.Tracing.SwitchName" value="RTankTraceSwitch" />

    <add key="SystemFramework.Tracing.SwitchDescription" value="Error and information tracing for Rtank" />
    <!-- Event log settings
    Note: The default Duwamish7 event source name is created in the local machine during setup. If you wish to log events to a different event source
             that event source must exist.
        -->
    <add key="SystemFramework.EventLog.Enabled" value="True" />
    <add key="SystemFramework.EventLog.Machine" value="." />
    <add key="SystemFramework.EventLog.SourceName" value="RTank" />
    <!-- Use the standard TraceLevel values:
             0 = Off
             1 = Error
             2 = Warning
             3 = Info
             4 = Verbose -->
    <add key="SystemFramework.EventLog.LogLevel" value="1" />
</ApplicationConfiguration>



when I call Fuction "System.Configuration.ConfigurationSettings.GetCon fig("ApplicationConfiguration")" in ApplicationConfiguration,
there is a error .Why?
 
Old March 11th, 2004, 04:00 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi there,

I think you're better off posting this question in one of the ASP.NET forums. This forum is for general feedback about this site, and not for technical questions.....

If you do repost your question, you may want to elaborate a bit about what you are trying to accomplish.

Cheers,

Imar


---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.









Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.