Mobile app version of vmapp.org
Login or Join
Ann8826881

: How to avoid DotNetNuke with another ASP.NET application conflicts Web have the following scenario: A generic web developed using DotNetNuke A b2b web application developed using ASP.NET + Silverlight

@Ann8826881

Posted in: #AspNet #Iis7

Web have the following scenario:


A generic web developed using
DotNetNuke
A b2b web application developed using
ASP.NET + Silverlight


What we want to do is the following:


When a client goes to myCompanyDomain.com the web that
the client access is the Dotnetnuke
Web.
When a client goes to myCompanyDomain.com/b2b the web
loaded is the B2B web.


The problem is that when we install the DotNetNuke application into the main directory of our web server the Web.Config configuration file is inherited by any application installed in a subdirectory, causing the B2B application to fail.

In order to have a working installation we have to install the DotNetNuke web in a subdirectory and the B2B web in another, but this make impossible to access the DotNetNuke web directly from MyCompanyDomain.com
How can we install the applications and configure the IIS to have the wanted behavior?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Ann8826881

1 Comments

Sorted by latest first Latest Oldest Best

 

@Deb1703797

The first thing to verify is that the 'B2B' application was defined in IIS as an application (not just a virtual directory). It sounds like the issue you are having is with web.config inheritance. Have a look at the following article which may provide some helpful tips on what you can do with the B2B application to break inheritance:
www.aspdotnetfaq.com/Faq/how-to-disable-web-config-inheritance-for-child-applications-in-subfolders-in-asp-net.aspx
Info on MSDN: msdn.microsoft.com/en-us/library/ms178685.aspx
An easy approach might of course be to install each of DotNetNuke and your B2B app in sub folders, then put a 301 redirect on the root of your myCompanyDomain.com. Not the most ideal, but would certainly be quick to put in place. I would recommend looking at correcting the web.config inheritance.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme