OVH Cloud OVH Cloud

Application C# .Net V2 et SPS

4 réponses
Avatar
Bertrand
Bonjour,

Nous avons une application développée en .NET V2 installée sur un server SPS
2003 SP1.
L'application est dans un chemin exclu par SPS.
On doit activer le module SessionState et on obtient l'erreur suivante :

Unable to find a helper module that supports ISessionIDModule
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about the error and where it originated in the code.

Exception Details: System.Web.HttpException: Unable to find a helper module
that supports ISessionIDModule

Source Error:


An unhandled exception was generated during the execution of the
current web request. Information regarding the origin and location of the
exception can be identified using the exception stack trace below.


Stack Trace:


[HttpException (0x80004005): Unable to find a helper module that supports
ISessionIDModule]

System.Web.SessionState.SessionStateModule.InitModuleFromConfig(HttpApplication
app, SessionStateSection config, Boolean configInit) +3472017
System.Web.SessionState.SessionStateModule.Init(HttpApplication app) +251
System.Web.HttpApplication.InitModules() +210
System.Web.HttpApplication.InitInternal(HttpContext context,
HttpApplicationState state, MethodInfo[] handlers) +1294
System.Web.HttpApplicationFactory.GetNormalApplicationInstance(HttpContext
context) +424
System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext
context) +100
System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +191






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

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

Une idée de solution?

Remarque : les applications .NET v1 installées de la même façon fonctionnent
correctement

Merci
Bertrand

4 réponses

Avatar
Frédéric Queudret [MS]
Bonjour,

Essayez d'ajouter le module HTTP suivant dans votre web.config:

<configuration>
<system.web>
<add type="System.Web.SessionState.SessionStateModule"
name="Session"/>
</httpModules>
</system.web>
</configuration>
Cdlt,
Frédéric.

"Bertrand" wrote in message
news:
Bonjour,

Nous avons une application développée en .NET V2 installée sur un server
SPS
2003 SP1.
L'application est dans un chemin exclu par SPS.
On doit activer le module SessionState et on obtient l'erreur suivante :

Unable to find a helper module that supports ISessionIDModule
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about the error and where it originated in the code.

Exception Details: System.Web.HttpException: Unable to find a helper
module
that supports ISessionIDModule

Source Error:


An unhandled exception was generated during the execution of the
current web request. Information regarding the origin and location of the
exception can be identified using the exception stack trace below.


Stack Trace:


[HttpException (0x80004005): Unable to find a helper module that supports
ISessionIDModule]

System.Web.SessionState.SessionStateModule.InitModuleFromConfig(HttpApplication
app, SessionStateSection config, Boolean configInit) +3472017
System.Web.SessionState.SessionStateModule.Init(HttpApplication app)
+251
System.Web.HttpApplication.InitModules() +210
System.Web.HttpApplication.InitInternal(HttpContext context,
HttpApplicationState state, MethodInfo[] handlers) +1294

System.Web.HttpApplicationFactory.GetNormalApplicationInstance(HttpContext
context) +424
System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext
context) +100
System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +191






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

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

Une idée de solution?

Remarque : les applications .NET v1 installées de la même façon
fonctionnent
correctement

Merci
Bertrand


Avatar
Bertrand
J'ai testé et ça ne marche pas mieux : auriez-vous une autre solution ?

Merci
"Frédéric Queudret [MS]" wrote:

Bonjour,

Essayez d'ajouter le module HTTP suivant dans votre web.config:

<configuration>
<system.web>
<add type="System.Web.SessionState.SessionStateModule"
name="Session"/>
</httpModules>
</system.web>
</configuration>
Cdlt,
Frédéric.

"Bertrand" wrote in message
news:
> Bonjour,
>
> Nous avons une application développée en .NET V2 installée sur un server
> SPS
> 2003 SP1.
> L'application est dans un chemin exclu par SPS.
> On doit activer le module SessionState et on obtient l'erreur suivante :
>
> Unable to find a helper module that supports ISessionIDModule
> Description: An unhandled exception occurred during the execution of the
> current web request. Please review the stack trace for more information
> about the error and where it originated in the code.
>
> Exception Details: System.Web.HttpException: Unable to find a helper
> module
> that supports ISessionIDModule
>
> Source Error:
>
>
> An unhandled exception was generated during the execution of the
> current web request. Information regarding the origin and location of the
> exception can be identified using the exception stack trace below.
>
>
> Stack Trace:
>
>
> [HttpException (0x80004005): Unable to find a helper module that supports
> ISessionIDModule]
>
> System.Web.SessionState.SessionStateModule.InitModuleFromConfig(HttpApplication
> app, SessionStateSection config, Boolean configInit) +3472017
> System.Web.SessionState.SessionStateModule.Init(HttpApplication app)
> +251
> System.Web.HttpApplication.InitModules() +210
> System.Web.HttpApplication.InitInternal(HttpContext context,
> HttpApplicationState state, MethodInfo[] handlers) +1294
>
> System.Web.HttpApplicationFactory.GetNormalApplicationInstance(HttpContext
> context) +424
> System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext
> context) +100
> System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +191
>
>
>
>
>
>
> --------------------------------------------------------------------------------
>
> Version Information: Microsoft .NET Framework Version:2.0.40607.16;
> ASP.NET
> Version:2.0.40607.16
>
> Une idée de solution?
>
> Remarque : les applications .NET v1 installées de la même façon
> fonctionnent
> correctement
>
> Merci
> Bertrand





Avatar
Frédéric Queudret [MS]
Vous pouvez essayer la ligne de commande suivante dans une console:
c:WINDOWSMicrosoft.NETFrameworkv1.1.4322aspnet_regiis.exe -i
P.S.: dans mon post précédent il manquait <httpModules> avant le <add...
mais je pense que vous l'avez vu.
Frédéric.

"Bertrand" wrote in message
news:
J'ai testé et ça ne marche pas mieux : auriez-vous une autre solution ?

Merci
"Frédéric Queudret [MS]" wrote:

Bonjour,

Essayez d'ajouter le module HTTP suivant dans votre web.config:

<configuration>
<system.web>
<add type="System.Web.SessionState.SessionStateModule"
name="Session"/>
</httpModules>
</system.web>
</configuration>
Cdlt,
Frédéric.

"Bertrand" wrote in message
news:
> Bonjour,
>
> Nous avons une application développée en .NET V2 installée sur un
> server
> SPS
> 2003 SP1.
> L'application est dans un chemin exclu par SPS.
> On doit activer le module SessionState et on obtient l'erreur suivante
> :
>
> Unable to find a helper module that supports ISessionIDModule
> Description: An unhandled exception occurred during the execution of
> the
> current web request. Please review the stack trace for more information
> about the error and where it originated in the code.
>
> Exception Details: System.Web.HttpException: Unable to find a helper
> module
> that supports ISessionIDModule
>
> Source Error:
>
>
> An unhandled exception was generated during the execution of the
> current web request. Information regarding the origin and location of
> the
> exception can be identified using the exception stack trace below.
>
>
> Stack Trace:
>
>
> [HttpException (0x80004005): Unable to find a helper module that
> supports
> ISessionIDModule]
>
> System.Web.SessionState.SessionStateModule.InitModuleFromConfig(HttpApplication
> app, SessionStateSection config, Boolean configInit) +3472017
> System.Web.SessionState.SessionStateModule.Init(HttpApplication app)
> +251
> System.Web.HttpApplication.InitModules() +210
> System.Web.HttpApplication.InitInternal(HttpContext context,
> HttpApplicationState state, MethodInfo[] handlers) +1294
>
> System.Web.HttpApplicationFactory.GetNormalApplicationInstance(HttpContext
> context) +424
> System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext
> context) +100
> System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr)
> +191
>
>
>
>
>
>
> --------------------------------------------------------------------------------
>
> Version Information: Microsoft .NET Framework Version:2.0.40607.16;
> ASP.NET
> Version:2.0.40607.16
>
> Une idée de solution?
>
> Remarque : les applications .NET v1 installées de la même façon
> fonctionnent
> correctement
>
> Merci
> Bertrand







Avatar
Stephane CORDONNIER [MVP]
La version ASP.NET installée sur le IIS de SharePoint est celle du Framework
1.1 et vu que l'application ASP.NET est en version 2.0, elle n'utilise pas
la bonne version du Framework.

Il faudrait donc pour l'application en question, refaire les mappages des
fichiers ASPX, ASMX... au niveau IIS pour pointer vers la bonne version du
Framework mais même avec cela, je ne sais pas si ça va marcher.

--
Stephane CORDONNIER
Microsoft MVP - France
http://www.sharepoint-france.com


"Bertrand" a écrit dans le message de
news:
Bonjour,

Nous avons une application développée en .NET V2 installée sur un server
SPS
2003 SP1.
L'application est dans un chemin exclu par SPS.
On doit activer le module SessionState et on obtient l'erreur suivante :

Unable to find a helper module that supports ISessionIDModule
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about the error and where it originated in the code.

Exception Details: System.Web.HttpException: Unable to find a helper
module
that supports ISessionIDModule

Source Error:


An unhandled exception was generated during the execution of the
current web request. Information regarding the origin and location of the
exception can be identified using the exception stack trace below.


Stack Trace:


[HttpException (0x80004005): Unable to find a helper module that supports
ISessionIDModule]

System.Web.SessionState.SessionStateModule.InitModuleFromConfig(HttpApplication
app, SessionStateSection config, Boolean configInit) +3472017
System.Web.SessionState.SessionStateModule.Init(HttpApplication app)
+251
System.Web.HttpApplication.InitModules() +210
System.Web.HttpApplication.InitInternal(HttpContext context,
HttpApplicationState state, MethodInfo[] handlers) +1294

System.Web.HttpApplicationFactory.GetNormalApplicationInstance(HttpContext
context) +424
System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext
context) +100
System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +191






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

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

Une idée de solution?

Remarque : les applications .NET v1 installées de la même façon
fonctionnent
correctement

Merci
Bertrand