HomeHomeGetting StartedGetting StartedInstalling DotN...Installing DotN...Urgent (expert) help required deploying DNN to production serverUrgent (expert) help required deploying DNN to production server
Previous
 
Next
New Post
10/21/2008 9:14 AM
 

Hi guys,

I've done many deployments of DNN over the years in all sorts of strange configurations - but this one has me stumped at the moment.

My web server runs a MS Commerce server site on the 'default' web.  Due to the nature of this deployment, I have no ability to play around with either the machine.config or the root web.config (I do however have copies of both at my disposal)

I have deployed my DNN site in a virtual directory (in a separate app pool) which works fine if i reference it by an IP address assigned to the virtual directory (which has been fine for testing) but in the real world I must deploy the DNN site to www.domain.com/blah/dnn  (for example)

Now - if I just deploy the standards web.config in the dnn directory - it of course complains about the many missing modules etc. 

I've tried copying the modules in question to the 'bin' directory - and 'removing' them from web.config in my dnn domain this throws up further error after error...

I tried 'clearing' the modules from the web.config - which results in the DNN site being browsable, but then it is not possible to 'login' - it does however allow a user to register - and it actually 'works' in that it sends the confirmation email etc.

So - close but no cigar.

anyone got any suggestions as to any module that i specifically need to 're-include' (beyond the standard dnn ones in web.config) after using the clear function to get authentication to work?

 

Many thanks!

Ben

 
New Post
10/22/2008 3:07 AM
 

Hi,

I've also moved many DNN installations and set them up in different domains etc. Usually what I do is create a backup of the db, and restore it on the new server.  I also copy the entire dnn folder from inetpub to the new server.  But the magic trick is to create an HTTP alias exactly the way you would like it to appear in the new domain on the old installation BEFORE moving it.  Once moved, I delete the old http alias from the portal alias table in the db, then I setup the iis on the new server to point to the newly copied dnn folder (using virtual directory).  So far this has worked for me eveytime.

 
New Post
10/22/2008 6:17 AM
 

Thanks for taking the time to reply Julian, but you've totally missed the nature of the problem...

I have no issue 'moving' a DNN site / database etc.

The problem is to do with inheritance (standard IIS behavior) of modules and configuration within the web.config

I've got COMMERCE SERVER installed on the 'default' web - which is essential to the running of my company primary website.

I'm setting up a DNN portal, to serve a specific purpose for a 'community' aspect of our business

www.company.com/community

where community is my DNN portal

the problem is that settings in the default web.config (and machine.config for that matter) are inherited by my 'sub-web'  because of the many assemblies as a part of the commerce server site - first - dnn would not run at all.

I spent many hours 'trying' to explicitly 'remove' all assemblies/modules/handlers from the web.config for the DNN application - but with no success.

eventually - taking the sledgehammer approach - I have used the tag - < clear /> within the httpModules section which has NEARLY got the site working.

Ie - the site is browsable however a couple of significant issues remain.

1.  Images are not rendered

2. (and more significantly) Sign in is not possible.  I can see from my SQL logs, that it performs the validation of the user account - however it seems that IIS is not effectively creating a session for the validated user.

 

I'm really starting to tear my hair out over this - and cant believe that ultimately i dont just have to 'add' a couple of httpModules or something to resolve it in web.config.

 

ANYONE?  (ps - this is not a question for people who don't really understand the workings of assemblies/web.config/IIS etc)

thanks! - free beer for whoever solves this one...

 
New Post
10/22/2008 5:59 PM
 

I would move your commerce server site to mycompany.com/commerce and your dnn site stays at mycompany.com/community.

In the default website remove the web.config file.

 
New Post
10/22/2008 6:39 PM
 

I'm not very familiar with commerce sever... but if you can create a new website instead of a virtual directory then you will not have any problems with web.config clashes.

JK.


You know your website is cool, so why not let your users help you by spreading the word on social networking sites - get the DotNetNuke Social Bookmarks Module with 57 different ways to add social bookmarks to your site ... or download the FREE demo right now
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DotN...Installing DotN...Urgent (expert) help required deploying DNN to production serverUrgent (expert) help required deploying DNN to production server


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, please observe the following posting guidelines:

1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

Attend A Webinar
Free Demo Site
Download DotNetNuke Professional Edition Trial
Have Someone Contact Me
Have Someone Contact Me

Like Us on Facebook Join our Network on LinkedIn Follow DNN Corporate on Twitter Follow DNN on Twitter

Advertisers

DotNetNuke Scoop!

Sponsors

DotNetNuke Corporation

DotNetNuke Corp. is the steward of the DotNetNuke open source project, the most widely adopted Web Content Management Platform for building web sites and web applications on Microsoft. Organizations use DotNetNuke to quickly develop and deploy interactive and dynamic web sites, intranets, extranets and web applications. The DotNetNuke platform is available in a free Community and subscription-based Professional and Enterprise Editions with an Elite Support option. DotNetNuke Corp. also operates the DotNetNuke Store where users purchase third party apps for the platform.