Tracy,
This is completely from memory here so I can be wrong.
Take a look at your IIS virtual directories. At least with the 2004
Infragistics samples the install created a bunch of separate virtual
directories configured as applications for each of the examples. So make
sure you've got corresponding <aspnetmount> and <alias> sections for each
directory/application.
I suspect that there needs to be an application configured mapping to the
source of .../ig_Samples20052/webgrid

Regards,
Todd Hicks


-----Original Message-----
Wrom: TCXLYRWTQTIPWIGYOKSTTZRCLBDXRQBGJSNBOHMKHJY
Sent: Monday, July 11, 2005 8:48 AM
To: cli-users@httpd.apache.org
Subject: [cli-users] Configuration error is web.config 

Hi,

I am trying to get the Infragistics ASP.NET samples that run fine under IIS
to run under Apache. When I try to execute a page, I get this error:



Configuration Error 

Description: An error occurred during the processing of a configuration file
required to service this request. Please review the specific error details
below and modify your configuration file appropriately. 

Parser Error Message: It is an error to use a section registered as
allowDefinition='MachineToApplication' beyond application level. This error
can be caused by a virtual directory not being configured as an application
in IIS.

Source Error: 




Line 59:          
"Passport" and "None"
Line 60:     -->
Line
61:     <authentication mode="Windows"
/> 
Line 62: 
Line 63:     <!--  APPLICATION-LEVEL TRACE
LOGGING

Source File: D:\Program Files\Infragistics\NetAdvantage 2005 Volume
2\ASP.NET\Samples\WebGrid\cs\SamplesBrowser\web.config     Line: 61 

The address of the page I am trying to display is

../ig_Samples20052/webgrid/vb/SamplesBrowser/unboundmode/WebForm1.aspx

I am able to display this page fine:

../ig_Samples20052/leftnav.aspx

What am I doing wrong?

Here is what I added to my httpd.conf file:

LoadModule aspdotnet_module modules/mod_aspdotnet.so

# Use the asp.net handler for all common ASP.NET file types
AddHandler asp.net asax ascx ashx asmx aspx axd config cs csproj licx rem
resources resx soap vb vbproj vsdisco webinfo 

<IfModule mod_aspdotnet.cpp>

    # Mount the Infragistics example application
    AspNetMount /ig_Samples20052 "D:/Program Files/Infragistics/NetAdvantage
2005 Volume 2/ASP.NET/Samples"
    AspNetMount /ig_common
"C:/Inetpub/wwwroot/aspnet_client/infragistics"

    # Map all requests for /ig_Samples20052 to the Infragistics application
files
    Alias /ig_Samples20052 "D:/Program Files/Infragistics/NetAdvantage 2005
Volume 2/ASP.NET/Samples"
    Alias /ig_common       "C:/Inetpub/wwwroot/aspnet_client/infragistics"

    # Allow asp.net scripts to be executed in the Infragistics example
    <Directory "D:/Program Files/Infragistics/NetAdvantage 2005 Volume
2/ASP.NET/Samples">
        Options FollowSymlinks ExecCGI
        Order allow,deny
        Allow from all
        DirectoryIndex Default.htm Default.aspx
    </Directory>

    <Directory "C:/Inetpub/wwwroot/aspnet_client/infragistics">
        Options FollowSymlinks
        Order allow,deny
        Allow from all
    </Directory>

    # For all virtual ASP.NET webs, we need the aspnet_client files to serve
the client-side helper scripts.
    AliasMatch /aspnet_client/system_web/(\d+)_(\d+)_(\d+)_(\d+)/(.*)
"C:/Windows/Microsoft.NET/Framework/v$1.$2.$3/ASP.NETClientFiles/$4"
    
    <Directory "C:/Windows/Microsoft.NET/Framework/v*/ASP.NETClientFiles">
        Options FollowSymlinks
        Order allow,deny
        Allow from all
    </Directory>

</IfModule>

Here is the web.config file:

<?xml version="1.0" encoding="utf-8" ?>
<configuration>
            <!-- 
    The following code block can be used to change the Infragistics image
and script directories in a centralized location.
    -->
    <!--    
    <configSections>
            <section name="infragistics.web"
type="System.Configuration.SingleTagSectionHandler,System,
Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/>
    </configSections>
    <infragistics.web imageDirectory="~/images"
javaScriptDirectory="~/scripts"/>
        -->

        <!--
        The following AppSetting is used by the sample browser in cases
where a registry key could not be set
        -->
        <!--
    <appSettings>
    <add key="IGDataLocation" value="C:\Program
Files\Infragistics\NetAdvantage 2005 Volume 2\ASP.NET\Samples\Data\" /> 
    </appSettings>
    -->
  <system.web>

    <!--  DYNAMIC DEBUG COMPILATION
          Set compilation debug="true" to enable ASPX debugging.  Otherwise,
setting this value to
          false will improve runtime performance of this application. 
          Set compilation debug="true" to insert debugging symbols (.pdb
information)
          into the compiled page. Because this creates a larger file that
executes
          more slowly, you should set this value to true only when debugging
and to
          false at all other times. For more information, refer to the
documentation about
          debugging ASP .NET files.
    -->
    <compilation 
         defaultLanguage="c#"
         debug="true"
    >
      <assemblies>
         <add assembly="Infragistics.WebUI.Shared.v5.2,
Version=5.2.20052.27, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" />
                 
      </assemblies>
                          
   </compilation>

    <!--  CUSTOM ERROR MESSAGES
          Set customError mode values to control the display of
user-friendly 
          error messages to users instead of error details (including a
stack trace):

          "On" Always display custom (friendly) messages  
          "Off" Always display detailed ASP.NET error information.
          "RemoteOnly" Display custom (friendly) messages only to users not
running 
          on the local Web server. This setting is recommended for security
purposes, so 
          that you do not display application detail information to remote
clients.
    -->
    <customErrors 
    mode="RemoteOnly" 
    /> 

    <!--  AUTHENTICATION 
          This section sets the authentication policies of the application.
Possible modes are "Windows", "Forms", 
          "Passport" and "None"
    -->
    <authentication mode="Windows" /> 

    <!--  APPLICATION-LEVEL TRACE LOGGING
          Application-level tracing enables trace log output for every page
within an application. 
          Set trace enabled="true" to enable application trace logging.  If
pageOutput="true", the
          trace information will be displayed at the bottom of each page.
Otherwise, you can view the 
          application trace log by browsing the "trace.axd" page from your
web application
          root. 
    -->
    <trace
        enabled="false"
        requestLimit="10"
        pageOutput="false"
        traceMode="SortByTime"
                  localOnly="true"
    />

    <!--  SESSION STATE SETTINGS
          By default ASP .NET uses cookies to identify which requests belong
to a particular session. 
          If cookies are not available, a session can be tracked by adding a
session identifier to the URL. 
          To disable cookies, set sessionState cookieless="true".
    -->
    <sessionState 
            mode="InProc"
            stateConnectionString="tcpip=127.0.0.1:42424"
            sqlConnectionString="data source=127.0.0.1;user id=sa;password="
            cookieless="false" 
            timeout="20" 
    />

    <!--  GLOBALIZATION
          This section sets the globalization settings of the application. 
    -->
    <globalization 
            requestEncoding="utf-8" 
            responseEncoding="utf-8" 
   />
   
 </system.web>
 
 <runtime>
         <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
        <dependentAssembly>
            <assemblyIdentity name="Infragistics.WebUI.Shared.v5.2"
                              publicKeyToken="7dd5c3163f2cd0cb"
                              />
            <bindingRedirect oldVersion="5.2.20052.0-5.2.20052.27"
                             newVersion="5.2.20052.27"/>
        </dependentAssembly>
        <dependentAssembly>
                 <assemblyIdentity name="Infragistics.WebUI.Design.v5.2"
                              publicKeyToken="7dd5c3163f2cd0cb"
                              />
            <bindingRedirect oldVersion="5.2.20052.0-5.2.20052.27"
                             newVersion="5.2.20052.27"/>
        </dependentAssembly>
        <dependentAssembly>
                 <assemblyIdentity
name="Infragistics.WebUI.UltraWebCalcManager.v5.2"
                              publicKeyToken="7dd5c3163f2cd0cb"
                              />
            <bindingRedirect oldVersion="5.2.20052.0-5.2.20052.27"
                             newVersion="5.2.20052.27"/>
        </dependentAssembly>
        <dependentAssembly>
                 <assemblyIdentity
name="Infragistics.WebUI.UltraWebGrid.v5.2"
                              publicKeyToken="7dd5c3163f2cd0cb"
                              />
            <bindingRedirect oldVersion="5.2.20052.0-5.2.20052.27"
                             newVersion="5.2.20052.27"/>
        </dependentAssembly>
        <dependentAssembly>
                 <assemblyIdentity
name="Infragistics.WebUI.UltraWebGrid.ExcelExport.v5.2"
                              publicKeyToken="7dd5c3163f2cd0cb"
                              />
            <bindingRedirect oldVersion="5.2.20052.0-5.2.20052.27"
                             newVersion="5.2.20052.27"/>
        </dependentAssembly>
        <dependentAssembly>
                 <assemblyIdentity name="Infragistics.WebUI.WebCombo.v5.2"
                              publicKeyToken="7dd5c3163f2cd0cb"
                              />
            <bindingRedirect oldVersion="5.2.20052.0-5.2.20052.27"
                             newVersion="5.2.20052.27"/>
        </dependentAssembly>
         <dependentAssembly>
                 <assemblyIdentity name="Infragistics.WebUI.WebNavBar.v5.2"
                              publicKeyToken="7dd5c3163f2cd0cb"
                              />
            <bindingRedirect oldVersion="5.2.20052.0-5.2.20052.27"
                             newVersion="5.2.20052.27"/>
         </dependentAssembly>
        <dependentAssembly>
            <assemblyIdentity name="Infragistics.WebUI.UltraWebToolbar.v5.2"
                              publicKeyToken="7dd5c3163f2cd0cb"
                              />
            <bindingRedirect oldVersion="5.2.20052.0-5.2.20052.27"
                             newVersion="5.2.20052.27"/>
         </dependentAssembly>         
        <dependentAssembly>
            <assemblyIdentity
name="Infragistics.WebUI.UltraWebNavigator.v5.2"
                              publicKeyToken="7dd5c3163f2cd0cb"
                              />
            <bindingRedirect oldVersion="5.2.20052.0-5.2.20052.27"
                             newVersion="5.2.20052.27"/>
        </dependentAssembly>
                 <dependentAssembly>
            <assemblyIdentity name="Infragistics.WebUI.WebDateChooser.v5.2"
                              publicKeyToken="7dd5c3163f2cd0cb"
                              />
            <bindingRedirect oldVersion="5.2.20052.0-5.2.20052.27"
                             newVersion="5.2.20052.27"/>
        </dependentAssembly>
        <dependentAssembly>
            <assemblyIdentity name="Infragistics.WebUI.WebDataInput.v5.2"
                              publicKeyToken="7dd5c3163f2cd0cb"
                              />
            <bindingRedirect oldVersion="5.2.20052.0-5.2.20052.27"
                             newVersion="5.2.20052.27"/>
         </dependentAssembly>
        <dependentAssembly>
            <assemblyIdentity name="Infragistics.WebUI.UltraWebTab.v5.2"
                              publicKeyToken="7dd5c3163f2cd0cb"
                              />
            <bindingRedirect oldVersion="5.2.20052.0-5.2.20052.27"
                             newVersion="5.2.20052.27"/>
         </dependentAssembly>         
        <dependentAssembly>
            <assemblyIdentity name="Infragistics.WebUI.UltraWebListbar.v5.2"
                              publicKeyToken="7dd5c3163f2cd0cb"
                              />
            <bindingRedirect oldVersion="5.2.20052.0-5.2.20052.27"
                             newVersion="5.2.20052.27"/>
         </dependentAssembly>         
        <dependentAssembly>
            <assemblyIdentity name="Infragistics.WebUI.Misc.v5.2"
                              publicKeyToken="7dd5c3163f2cd0cb"
                              />
            <bindingRedirect oldVersion="5.2.20052.0-5.2.20052.27"
                             newVersion="5.2.20052.27"/>
         </dependentAssembly>  

<!--Chart Section Begin-->

<dependentAssembly>
<assemblyIdentity name="Infragistics.WebUI.UltraWebChart.v5.2"
publicKeyToken="7dd5c3163f2cd0cb" />
<bindingRedirect oldVersion="5.2.20052.0-5.2.20052.27"
newVersion="5.2.20052.27"/>
</dependentAssembly>


<!--Chart Section End-->


         </assemblyBinding>
 </runtime> 

</configuration>


The address

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to