Twitter iPhone pliant OnePlus 11 PS5 Disney+ Orange Livebox Windows 11

HELP.!! web config et asp.net et donetnuke

1 réponse
Avatar
galopeur
j'ai un intranet en dotnetnuke, avec une base sql.Dans cet intranet je
veux inclure des pages asp permettant d'effectuer des requêtes soit
sur des bases "access, sql, ou as400 ".lorsque je lance ma page asp
qui contient ma requetesur un as400 j'ai une erreur m'empechant de la
charger.si je supprime le web.config du root, alors mon appli se
lance( mais pas le dotneuke bien-sur)
j'ai inclus le key="cnas400" de ma connexion pour mon l'appli dans le
web.config."root".
je vous fait un copier:coller pour que vous essayez de trouver ce qui
cloche, avec l'erreur de chargement de l'appli.

============================le web.config du root ( une
partie)=================


<configuration>

<!-- register local configuration handlers -->

<configSections>

<sectionGroup name="dotnetnuke">

<section name="data"
type="DotNetNuke.Framework.Providers.ProviderConfigurationHandler,
DotNetNuke" />

<section name="logging"
type="DotNetNuke.Framework.Providers.ProviderConfigurationHandler,
DotNetNuke" />

<section name="scheduling"
type="DotNetNuke.Framework.Providers.ProviderConfigurationHandler,
DotNetNuke" />

<section name="htmlEditor"
type="DotNetNuke.Framework.Providers.ProviderConfigurationHandler,
DotNetNuke" />

<section name="searchIndex"
type="DotNetNuke.Framework.Providers.ProviderConfigurationHandler,
DotNetNuke" />

<section name="searchDataStore"
type="DotNetNuke.Framework.Providers.ProviderConfigurationHandler,
DotNetNuke" />

<section name="friendlyUrl"
type="DotNetNuke.Framework.Providers.ProviderConfigurationHandler,
DotNetNuke" />

</sectionGroup>

<sectionGroup name="system.web">

<section name="membership"
type="Microsoft.ScalableHosting.Configuration.MembershipConfigHandler,
MemberRole, Version=1.0.0.0, Culture=neutral,
PublicKeyToken=b7c773fb104e7562" />

<section name="roleManager"
type="Microsoft.ScalableHosting.Configuration.RolesConfigHandler,
MemberRole, Version=1.0.0.0, Culture=neutral,
PublicKeyToken=b7c773fb104e7562" />

<section name="profile"
type="Microsoft.ScalableHosting.Configuration.ProfileConfigHandler,
MemberRole, Version=1.0.0.0, Culture=neutral,
PublicKeyToken=b7c773fb104e7562" />

<section name="anonymousIdentification"
type="Microsoft.ScalableHosting.Configuration.AnonymousIdConfigHandler,
MemberRole, Version=1.0.0.0, Culture=neutral,
PublicKeyToken=b7c773fb104e7562" />

</sectionGroup>

</configSections>

<!-- the old connectionString setting has been deprecated and replaced
with the data provider section below -->

<appSettings>

<add key="cnas400" value="PROVIDER=IBMDA400; DATA
SOURCE='10.**.**.25';USER ID='*****';PASSWORD='*****';DEFAULT
COLLECTION=AZROYDTA" />


<add key="SiteSqlServer"
value="Server=PATRICK\SERVERSQL;Database=DoNetNuke;uid=**;pwd=******;"
/>

<add key="MachineValidationKey"
value="F9D1A2D3E1D3E2F7B3D9F90FF3965ABDAC304902" />

<add key="MachineDecryptionKey"
value="F9D1A2D3E1D3E2F7B3D9F90FF3965ABDAC304902F8D923AC" />

<add key="MachineValidationMode" value="SHA1" />

<add key="InstallTemplate" value="DotNetNuke.install.resources" />

</appSettings>

<system.web>

<!-- HttpModules for Common Functionality -->

<httpModules>

<add name="UrlRewrite" type="DotNetNuke.HttpModules.UrlRewriteModule,
DotNetNuke.HttpModules.UrlRewrite" />

<add name="Exception" type="DotNetNuke.HttpModules.ExceptionModule,
DotNetNuke.HttpModules.Exception" />

<add name="UsersOnline"
type="DotNetNuke.HttpModules.UsersOnlineModule,
DotNetNuke.HttpModules.UsersOnline" />

<add name="Profile" type="Microsoft.ScalableHosting.Profile.ProfileModule,
MemberRole, Version=1.0.0.0, Culture=neutral,
PublicKeyToken=b7c773fb104e7562" />

<add name="AnonymousIdentification"
type="Microsoft.ScalableHosting.Security.AnonymousIdentificationModule,
MemberRole, Version=1.0.0.0, Culture=neutral,
PublicKeyToken=b7c773fb104e7562" />

<add name="RoleManager"
type="Microsoft.ScalableHosting.Security.RoleManagerModule,
MemberRole, Version=1.0.0.0, Culture=neutral,
PublicKeyToken=b7c773fb104e7562" />

<add name="DNNMembership"
type="DotNetNuke.HttpModules.DNNMembershipModule,
DotNetNuke.HttpModules.DNNMembership" />

<add name="Personalization"
type="DotNetNuke.HttpModules.PersonalizationModule,
DotNetNuke.HttpModules.Personalization" />

</httpModules>


<!-- This is for FTB 3.0 support -->

<httpHandlers>

<add verb="GET" path="FtbWebResource.axd"
type="FreeTextBoxControls.AssemblyResourceHandler, FreeTextBox" />

</httpHandlers>


<!-- set code access security trust level - this is generally set in
the machine.config

<trust level="Medium" />

-->

<!-- set debugmode to false for running application -->

<compilation debug="false" />

<!-- permits errors to be displayed for remote clients -->

<customErrors mode="RemoteOnly" />

<!-- Forms or Windows authentication -->

<authentication mode="Forms">

<forms name=".DOTNETNUKE" protection="All" timeout="60" />

</authentication>

<!--

<identity impersonate="true"/>

<authentication mode="Windows">

</authentication>

-->

<!-- allow large file uploads -->

<httpRuntime useFullyQualifiedRedirectUrl="true"
maxRequestLength="8192" />

<!-- GLOBALIZATION

This section sets the globalization settings of the application.

Utf-8 is not supported on Netscape 4.x

If you need netscape compatiblity leave iso-8859-1.

UTF-8 is recommended for complex languages

-->

<globalization culture="en-US" uiCulture="en" requestEncoding="UTF-8"
responseEncoding="UTF-8"

fileEncoding="UTF-8" />

<!--<globalization culture="en-US" uiCulture="en"
fileEncoding="iso-8859-1" requestEncoding="iso-8859-1"
responseEncoding="iso-8859-1"/>-->

<!-- page level options -->

<pages validateRequest="false" enableViewStateMac="true" />


===================== l'erreur est la suivante, lors du lancement de
mon appli en asp====================================



Server Error in '/as400' Application.
--------------------------------------------------------------------------------

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: Le fichier ou l'assembly nommé
DotNetNuke.HttpModules.UrlRewrite ou l'une de ses dépendances, est
introuvable.

Source Error:

Line 32: <!-- HttpModules for Common Functionality --> Line 33:
<httpModules> Line 34: <add name="UrlRewrite"
type="DotNetNuke.HttpModules.UrlRewriteModule,
DotNetNuke.HttpModules.UrlRewrite" /> Line 35: <add name="Exception"
type="DotNetNuke.HttpModules.ExceptionModule,
DotNetNuke.HttpModules.Exception" /> Line 36: <add name="UsersOnline"
type="DotNetNuke.HttpModules.UsersOnlineModule,
DotNetNuke.HttpModules.UsersOnline" />


Source File: C:\Inetpub\wwwroot\web.config Line: 34

Assembly Load Trace: The following information can be helpful to
determine why the assembly 'DotNetNuke.HttpModules.UrlRewrite' could
not be loaded.

=== Pre-bind state information === LOG: DisplayName =
DotNetNuke.HttpModules.UrlRewrite (Partial) LOG: Appbase =
file:///C:/Inetpub/wwwroot/as400 LOG: Initial PrivatePath = bin
Calling assembly : (Unknown). === LOG: Policy not being applied to
reference at this time (private, custom, partial, or location-based
assembly bind). LOG: Post-policy reference:
DotNetNuke.HttpModules.UrlRewrite LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/as400/6f168f75/e03d62a7/DotNetNuke.HttpModules.UrlRewrite.DLL.
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/as400/6f168f75/e03d62a7/DotNetNuke.HttpModules.UrlRewrite/DotNetNuke.HttpModules.UrlRewrite.DLL.
LOG: Attempting download of new URL
file:///C:/Inetpub/wwwroot/as400/bin/DotNetNuke.HttpModules.UrlRewrite.DLL.
LOG: Attempting download of new URL
file:///C:/Inetpub/wwwroot/as400/bin/DotNetNuke.HttpModules.UrlRewrite/DotNetNuke.HttpModules.UrlRewrite.DLL.
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/as400/6f168f75/e03d62a7/DotNetNuke.HttpModules.UrlRewrite.EXE.
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/as400/6f168f75/e03d62a7/DotNetNuke.HttpModules.UrlRewrite/DotNetNuke.HttpModules.UrlRewrite.EXE.
LOG: Attempting download of new URL
file:///C:/Inetpub/wwwroot/as400/bin/DotNetNuke.HttpModules.UrlRewrite.EXE.
LOG: Attempting download of new URL
file:///C:/Inetpub/wwwroot/as400/bin/DotNetNuke.HttpModules.UrlRewrite/DotNetNuke.HttpModules.UrlRewrite.EXE.





--------------------------------------------------------------------------------

Version Information: Microsoft .NET Framework Version:1.1.4322.2032;
ASP.NET Version:1.1.4322.2032




MERCI DE VOTRE AIDE

1 réponse

Avatar
Paul Bacelar
"galopeur" wrote in message
news:
j'ai un intranet en dotnetnuke, avec une base sql.Dans cet intranet je
veux inclure des pages asp permettant d'effectuer des requêtes soit
sur des bases "access, sql, ou as400 ".lorsque je lance ma page asp
qui contient ma requetesur un as400 j'ai une erreur m'empechant de la
charger.si je supprime le web.config du root, alors mon appli se
lance( mais pas le dotneuke bien-sur)
j'ai inclus le key="cnas400" de ma connexion pour mon l'appli dans le
web.config."root".
je vous fait un copier:coller pour que vous essayez de trouver ce qui
cloche, avec l'erreur de chargement de l'appli.

============================le web.config du root ( une
partie)================ >

<configuration>

<!-- register local configuration handlers -->

<configSections>

<sectionGroup name="dotnetnuke">

<section name="data"
type="DotNetNuke.Framework.Providers.ProviderConfigurationHandler,
DotNetNuke" />

<section name="logging"
type="DotNetNuke.Framework.Providers.ProviderConfigurationHandler,
DotNetNuke" />

<section name="scheduling"
type="DotNetNuke.Framework.Providers.ProviderConfigurationHandler,
DotNetNuke" />

<section name="htmlEditor"
type="DotNetNuke.Framework.Providers.ProviderConfigurationHandler,
DotNetNuke" />

<section name="searchIndex"
type="DotNetNuke.Framework.Providers.ProviderConfigurationHandler,
DotNetNuke" />

<section name="searchDataStore"
type="DotNetNuke.Framework.Providers.ProviderConfigurationHandler,
DotNetNuke" />

<section name="friendlyUrl"
type="DotNetNuke.Framework.Providers.ProviderConfigurationHandler,
DotNetNuke" />

</sectionGroup>

<sectionGroup name="system.web">

<section name="membership"
type="Microsoft.ScalableHosting.Configuration.MembershipConfigHandler,
MemberRole, Version=1.0.0.0, Culture=neutral,
PublicKeyToken·c773fb104e7562" />

<section name="roleManager"
type="Microsoft.ScalableHosting.Configuration.RolesConfigHandler,
MemberRole, Version=1.0.0.0, Culture=neutral,
PublicKeyToken·c773fb104e7562" />

<section name="profile"
type="Microsoft.ScalableHosting.Configuration.ProfileConfigHandler,
MemberRole, Version=1.0.0.0, Culture=neutral,
PublicKeyToken·c773fb104e7562" />

<section name="anonymousIdentification"
type="Microsoft.ScalableHosting.Configuration.AnonymousIdConfigHandler,
MemberRole, Version=1.0.0.0, Culture=neutral,
PublicKeyToken·c773fb104e7562" />

</sectionGroup>

</configSections>

<!-- the old connectionString setting has been deprecated and replaced
with the data provider section below -->

<appSettings>

<add key="cnas400" value="PROVIDER=IBMDA400; DATA
SOURCE='10.**.**.25';USER ID='*****';PASSWORD='*****';DEFAULT
COLLECTION=AZROYDTA" />


<add key="SiteSqlServer"
value="Server=PATRICKSERVERSQL;Database=DoNetNuke;uid=**;pwd=******;"
/>

<add key="MachineValidationKey"
value="F9D1A2D3E1D3E2F7B3D9F90FF3965ABDAC304902" />

<add key="MachineDecryptionKey"
value="F9D1A2D3E1D3E2F7B3D9F90FF3965ABDAC304902F8D923AC" />

<add key="MachineValidationMode" value="SHA1" />

<add key="InstallTemplate" value="DotNetNuke.install.resources" />

</appSettings>

<system.web>

<!-- HttpModules for Common Functionality -->

<httpModules>

<add name="UrlRewrite" type="DotNetNuke.HttpModules.UrlRewriteModule,
DotNetNuke.HttpModules.UrlRewrite" />

<add name="Exception" type="DotNetNuke.HttpModules.ExceptionModule,
DotNetNuke.HttpModules.Exception" />

<add name="UsersOnline"
type="DotNetNuke.HttpModules.UsersOnlineModule,
DotNetNuke.HttpModules.UsersOnline" />

<add name="Profile" type="Microsoft.ScalableHosting.Profile.ProfileModule,
MemberRole, Version=1.0.0.0, Culture=neutral,
PublicKeyToken·c773fb104e7562" />

<add name="AnonymousIdentification"
type="Microsoft.ScalableHosting.Security.AnonymousIdentificationModule,
MemberRole, Version=1.0.0.0, Culture=neutral,
PublicKeyToken·c773fb104e7562" />

<add name="RoleManager"
type="Microsoft.ScalableHosting.Security.RoleManagerModule,
MemberRole, Version=1.0.0.0, Culture=neutral,
PublicKeyToken·c773fb104e7562" />

<add name="DNNMembership"
type="DotNetNuke.HttpModules.DNNMembershipModule,
DotNetNuke.HttpModules.DNNMembership" />

<add name="Personalization"
type="DotNetNuke.HttpModules.PersonalizationModule,
DotNetNuke.HttpModules.Personalization" />

</httpModules>


<!-- This is for FTB 3.0 support -->

<httpHandlers>

<add verb="GET" path="FtbWebResource.axd"
type="FreeTextBoxControls.AssemblyResourceHandler, FreeTextBox" />

</httpHandlers>


<!-- set code access security trust level - this is generally set in
the machine.config

<trust level="Medium" />

-->

<!-- set debugmode to false for running application -->

<compilation debug="false" />

<!-- permits errors to be displayed for remote clients -->

<customErrors mode="RemoteOnly" />

<!-- Forms or Windows authentication -->

<authentication mode="Forms">

<forms name=".DOTNETNUKE" protection="All" timeout="60" />

</authentication>

<!--

<identity impersonate="true"/>

<authentication mode="Windows">

</authentication>

-->

<!-- allow large file uploads -->

<httpRuntime useFullyQualifiedRedirectUrl="true"
maxRequestLength="8192" />

<!-- GLOBALIZATION

This section sets the globalization settings of the application.

Utf-8 is not supported on Netscape 4.x

If you need netscape compatiblity leave iso-8859-1.

UTF-8 is recommended for complex languages

-->

<globalization culture="en-US" uiCulture="en" requestEncoding="UTF-8"
responseEncoding="UTF-8"

fileEncoding="UTF-8" />

<!--<globalization culture="en-US" uiCulture="en"
fileEncoding="iso-8859-1" requestEncoding="iso-8859-1"
responseEncoding="iso-8859-1"/>-->

<!-- page level options -->

<pages validateRequest="false" enableViewStateMac="true" />


===================== l'erreur est la suivante, lors du lancement de
mon appli en asp=================================== >


Server Error in '/as400' Application.
--------------------------------------------------------------------------


------

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: Le fichier ou l'assembly nommé
DotNetNuke.HttpModules.UrlRewrite ou l'une de ses dépendances, est
introuvable.

Source Error:

Line 32: <!-- HttpModules for Common Functionality --> Line 33:
<httpModules> Line 34: <add name="UrlRewrite"
type="DotNetNuke.HttpModules.UrlRewriteModule,
DotNetNuke.HttpModules.UrlRewrite" /> Line 35: <add name="Exception"
type="DotNetNuke.HttpModules.ExceptionModule,
DotNetNuke.HttpModules.Exception" /> Line 36: <add name="UsersOnline"
type="DotNetNuke.HttpModules.UsersOnlineModule,
DotNetNuke.HttpModules.UsersOnline" />


Source File: C:Inetpubwwwrootweb.config Line: 34

Assembly Load Trace: The following information can be helpful to
determine why the assembly 'DotNetNuke.HttpModules.UrlRewrite' could
not be loaded.

=== Pre-bind state information === LOG: DisplayName > DotNetNuke.HttpModules.UrlRewrite (Partial) LOG: Appbase > file:///C:/Inetpub/wwwroot/as400 LOG: Initial PrivatePath = bin
Calling assembly : (Unknown). === LOG: Policy not being applied to
reference at this time (private, custom, partial, or location-based
assembly bind). LOG: Post-policy reference:
DotNetNuke.HttpModules.UrlRewrite LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/as400/6f168f75/e03d62a7/DotNetNuke.HttpModules.UrlRewrite.DLL.
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET



Files/as400/6f168f75/e03d62a7/DotNetNuke.HttpModules.UrlRewrite/DotNetNuke.H
ttpModules.UrlRewrite.DLL.
LOG: Attempting download of new URL



file:///C:/Inetpub/wwwroot/as400/bin/DotNetNuke.HttpModules.UrlRewrite.DLL.
LOG: Attempting download of new URL



file:///C:/Inetpub/wwwroot/as400/bin/DotNetNuke.HttpModules.UrlRewrite/DotNetNuke.HttpModules.UrlRewrite.DLL.
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/as400/6f168f75/e03d62a7/DotNetNuke.HttpModules.UrlRewrite.EXE.
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET



Files/as400/6f168f75/e03d62a7/DotNetNuke.HttpModules.UrlRewrite/DotNetNuke.H
ttpModules.UrlRewrite.EXE.
LOG: Attempting download of new URL



file:///C:/Inetpub/wwwroot/as400/bin/DotNetNuke.HttpModules.UrlRewrite.EXE.
LOG: Attempting download of new URL



file:///C:/Inetpub/wwwroot/as400/bin/DotNetNuke.HttpModules.UrlRewrite/DotNetNuke.HttpModules.UrlRewrite.EXE.





--------------------------------------------------------------------------


------

Version Information: Microsoft .NET Framework Version:1.1.4322.2032;
ASP.NET Version:1.1.4322.2032




MERCI DE VOTRE AIDE



L'erreur est vraisemblablement sur la ligne suivante:
<add name="UrlRewrite" type="DotNetNuke.HttpModules.UrlRewriteModule,
DotNetNuke.HttpModules.UrlRewrite" />


ASP.NET n'arrive pas à trouver l'assembly
"DotNetNuke.HttpModules.UrlRewrite" que cela soit dans un exe ou une dll
dans le site web ou dans le GAC du server.

--
Paul Bacelar