Adding Shell Module in Web.Config

Topics: Web Client Software Factory, UIP Application Block discussion, User Forum
Jun 13, 2007 at 10:20 AM
I am facing problems in adding Shell module in Web.Config. It compiles successfully. Following is the error which i get every time i run the application.

Server Error in '/WebUI' 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: The entry 'Shell' has already been added.

Source Error:


Line 28: <compositeWeb>
Line 29: <modules>
Line 30: <module name="Shell" assemblyName="GlobalBank.Commercial.EBanking.Modules.Shell" />
Line 31: </modules>
Line 32: </compositeWeb>


Source File: E:\Ishfaq\Study\WCSF\RI1 on ahmad-saeed\Source\Infrastructure\WebUI\web.config Line: 30


--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42
Developer
Jun 13, 2007 at 8:20 PM
Hi,

You are adding twice the Shell Module to the Web.Config.
Please, verify in all web.config files if the shell module already exists.

BTW, you are using the WCSF Reference Implementation. The RI already has the Shell module declared in the root web.config.

Let me know if this helps,

Ezequiel Jadib
http://staff.southworks.net/blogs/ejadib
Jun 14, 2007 at 5:43 AM
Following are the four entries which i am able to find in the complete application. I get this error in every application having entry for shell module.

<compositeWeb>
<modules>
<module name="Shell" assemblyName="GlobalBank.Commercial.EBanking.Modules.Shell" virtualPath="~/"/>
</modules>
</compositeWeb>

<modules>
<module name="Reports" assemblyName="GlobalBank.Commercial.EBanking.Modules.Reports" virtualPath="~/Reports">
<dependencies>
<dependency module="Shell"/>
</dependencies>
</module>
</modules>

<modules>
<module name="EFT" assemblyName="GlobalBank.Commercial.EBanking.Modules.EFT" virtualPath="~/EFT">
<dependencies>
<dependency module="Shell"/>
</dependencies>
</module>
</modules>


<modules>
<module name="Admin" assemblyName="GlobalBank.Commercial.EBanking.Modules.Admin" virtualPath="~/Admin">
<dependencies>
<dependency module="Shell"/>
</dependencies>
</module>
</modules>


Regards:
Ishfaq
May 2, 2009 at 7:40 AM

Hi,

I am also facing same problem when we creating a new project with WCSF.

If anybody have an idea please share with me.

I am waiting for a solution.

Regards
Hanumantha Rao.