Login

Username

Password





Register   Reset password

This is a read-only archive of the forum.

# hilmyh 5/14/2006 8:39 PM
Hi,
I am just learning to use Cuyahoga. I have created the first website OK, but the second website gives a configuration error -
The module 'UrlHandlerModule' is already in the application and cannot be added again

I have looked through all the forum posts but I cannot find any reference to it. The url to the site is : www.cara-cerna.com/risik/. Hope somebody can help.

Thanks and regards.
# martijnb 5/15/2006 2:31 PM
This is probably caused by having the second web site as a sub site in the main website. You cannot nest Cuyahoga websites because the handlers/httpmodules get into each others way (as you have noticed).

# hilmyh 5/16/2006 9:30 AM
Thanks martijn for your reply, but I'm still having problems with the second site.
martijnbThis is probably caused by having the second web site as a sub site in the main website. You cannot nest Cuyahoga websites because the handlers/httpmodules get into each others way (as you have noticed).

I don't quite get what you mean by me creating a sub-site in the main site. Cuyahoga is installed in wwwroot. I create a virtual directory wwwroot\risik and point it to wwwroot. The second site url I point to http://www.cara-cerna.com/risik. I am using a web host for this site (exabytes.com) with HELM site administrator, if that rings a bell.

I tried the same thing on my localhost and it works fine.

# martijnb 5/16/2006 3:17 PM
I just browsed your site and noticed that there is a site on the root of http://www.cara-cerna.com/. You mentioned that you also defined a second site at www.cara-cerna.com/risik. That is exactly what I meant by adding a subsite. The httpmodule is already active on the root web site, so the httpmodule (although physically the same) at the subsite (/risik) conflicts with it.

A quick solution is to also create a virtual directory for the site that resides at the root and maybe add a redirect from the root to that virtual directory.
# hilmyh 5/17/2006 9:49 PM
OK. I think I know what you mean now.
martijnbA quick solution is to also create a virtual directory for the site that resides at the root and maybe add a redirect from the root to that virtual directory.
As I mentioned earlier, we are using a web host, so there are some restrictions in what we can do. However, we have found another workaround: We created an alias to the root site and use that alias as the url for the second website. So the url is now http://www.risik.cara-cerna.com.

Thanks again.

Hilmy
# martijnb 5/18/2006 10:04 AM
Ah yes, that's a nice workaround.