Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...How to post my local DNN4 to host serverHow to post my local DNN4 to host server
Previous
 
Next
New Post
11/12/2006 11:36 AM
 
Hi.
I have developed my DNN 4.3.5 site locally.  I used the "Publish" function in VS2005 and published it without problem to "http://localhost/mysite".  It works without problems in this instance.  (I use the publish function because it compiles all of my code that I don't want to leave available online.  Is there another way?)
Ok so the next thing to do is to get it out there to the masses so I clicked the sponsors link and bought some space on WebHostForASP.NET.  Using their Automatic install I can set up a clean instance of DNN that works no problem.
So here's the big question...
??What's the next step??
I'm now into day 4 of trying everything I can think of.  Is there a tried and tested way of deploying your local work?  Most errors I've had were in and around the database, can't find it, can't log in etc even though the support guys were/are working well with me on the problem.  I can even view/edit the db using Management Studio Express untility but dispite all my efforts in and around web.config and I stress again the dev version and the deployed version work just fine locally.

How do you do it?  Any help at all for my aching brain here would be much appreciated.

Other notes:
The VS Publish function creates a lot of new classes in the bin folder, is there something about them needed to be registered on the host?
Should I use the VS Publish function to publish to the host?  (Tried and it didn't work - Did I do something wrong?)
Should I do a clean install and then over write the new server files with my local files and sync the databases.

If you do any of this at least I'll know what to keep working at.

Any help at all guys, especially if you've worked with the same host.

Ray.
Dublin, Ireland.




 
New Post
11/14/2006 11:45 PM
 

If you have a nice clean install of DNN on your remote web host, and have developed a portal locally that you want to deploy there, then investigate exporting a portal to a template, and tell it to include content. Host | Portals area

The result will be two (or three?) files which you upload to the server in the portal root directory. Then you can create a portal there from the template.

All modules and database-held content will be there. A second step is to upload files from your portal/PortalID (where PortalID is a number) to the proper Portal/PortalID on the host.

Now if you are lucky and the PortalIDs match on both ends, you should be done. If they don't match, than any where you have references to files on the file system (images, docs, etc) you will have to re-set on a module-by-module basis, because the PortalID is of course a part of the path. (If there is a way around this part, I'd love to hear it!)


pmgerholdt
 
New Post
11/16/2006 5:46 PM
 

This is just what I was looking for. Installing DNN on works new server tomorrow and will hopefully be uploading my newly developed portal using the above method. Thanks pmichael.

As payback maybe I can help with a workaround for "references to files on the file system". I am quite new to DNN, so I'm not sure if this is a solution that may cause problems as I haven't fully tested it yet, as currently I am developing locally.

I've been considering the issue of file links as I realised a while back that my images were hard linked in the text/html module to the root of my local site as shown below:

/DotNetNuke/portal/0/TutorialPages/HTML/Images/HelloWorld_Code.jpg

It was only when I was investigating uploading of my portal to the server that I realised that I didn't need:

/DotNetNuke/portal/0/

I tried, about 3 hours ago, to play around with the path and quickly discovered that either of the following works just as well:

./TutorialPages/HTML/Images/HelloWorld_Code.jpg
   
or

TutorialPages/HTML/Images/HelloWorld_Code.jpg

I am hoping that this means I now need to fix all the links on my development server but when I upload the portal I shouldn't need to fix anything on the server.

The only issue with this so far is that the image does not show up when editing the contents of the text/html module, but I think I can live with this. [From now on I will insert the image and then once happy with the content I will shorten the path before updating the module].

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...How to post my local DNN4 to host serverHow to post my local DNN4 to host server


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, 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 DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out