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 ...Need Help with the movingNeed Help with the moving
Previous
 
Next
New Post
11/2/2006 3:15 PM
 
I thank you all for your patience and special thanks to imagemaker.  Your help with tell me to look in the sql manager and make sure the server itself would accept the mix auth worked and I successfully installed DNN 7 times now ;)

Now on to my next task.  As most of you probably know by now by my annoying post over and over, my company has a DNN test site that was set up by someone else that I took over for with no knowledge and no documentation.  It is set up as a child portal which makes setting up internal links especially hard.  I want to move it to a production server as the parent and only portal.  I tried to back up the DB and it cause many problems due to being a child portal.  How do I occomplish this task of moving a child portal to a production server and make it a parent portal without losing any of the data saved?
 
New Post
11/2/2006 4:03 PM
 

assuming you already did the necessary IIS setup for the new address:

  • backup child database and restore on target server database (if sql server is different)
  • add parent portal address as portal alias in host:: portals at the bottom of the portal's settings
  • access your portal using the new address

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
11/2/2006 4:37 PM
 
From what it looks like, the person I took over the job for did a real wierd number on this project.  This is what I got so far. 

1) When I tried to back up the child DB I find out that the child portal is using all the files as the parent does (IE web.config etc...)  All of the stuff like containers are seperated, but not the main stuff.  However it has its own default.aspx and skins.  How would I go about seperating the DB (that is if he truely used the parent DB for the child) and why would it be using all the files from the main portal?

2) I have all the files (the ones I think are the ones needed) copied over to its own dir, but tracking down the DB is the tough one.  When I used the DB from the parent one I got all kinds of trouble.

3) I assume the address would be the localhost or IP\DNN (DNN for the Virtual Drive) and the alias would be www.DNN.com (again the DNN would be the name of the site we use.). Do I have that correct?

4) IIS is ready to go as well as SQL Express advance.
 
New Post
11/2/2006 5:55 PM
 
  1. to separate two portals from one installation into two installations just duplicate folder and the database and delete the unnecessary portal in each instance, i.e. parent in first and child in the other.
  2. see 1
  3. web site address in site settings in IIS is IP and domain as host header, in DNN only associate domain name as portal alias, no localhost anymore, no virtual directory
  4. great

I am still unsure, why you want to separate both portals into separate installations. DNN is built to host multiple portals in the same installations, they are automatically separated using the portal aliases, i.e. having two sites www.first.com and www.second.com, setup IIS to point both to your web, where DNN is installed, having one portal assigned www.first.com as alias and the other www.second.com. Only child portals use an additional folder with a redirection default.aspx inside.


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
11/3/2006 3:00 PM
 
OK I have tried backing up the DB and tring to move it without seperating the portals and I get this: 

Server Error in '/hypercube' Application.

Could not find stored procedure 'dbo.GetPortals'.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Data.SqlClient.SqlException: Could not find stored procedure 'dbo.GetPortals'.

Source Error:

Line 154:            Dim objFolderController As New Services.FileSystem.FolderController
Line 155: Dim objPortalController As New PortalController
Line 156: Dim arrPortals As ArrayList = objPortalController.GetPortals()
Line 157: Dim i As Integer
Line 158: For i = 0 To arrPortals.Count - 1

Source File: C:\Hyper.com\App_Code\Global.asax.vb    Line: 156

Stack Trace:

[SqlException (0x80131904): Could not find stored procedure 'dbo.GetPortals'.]
System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) +857354
System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) +734966
System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) +188
System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) +1838
System.Data.SqlClient.SqlDataReader.ConsumeMetaData() +31
System.Data.SqlClient.SqlDataReader.get_MetaData() +62
System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) +297
System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async) +886
System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result) +132
System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) +32
System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) +122
System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior) +62
Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteReader(SqlConnection connection, SqlTransaction transaction, CommandType commandType, String commandText, SqlParameter[] commandParameters, SqlConnectionOwnership connectionOwnership) +499
Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteReader(String connectionString, CommandType commandType, String commandText, SqlParameter[] commandParameters) +201
Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteReader(String connectionString, CommandType commandType, String commandText) +40
Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteReader(String connectionString, String spName, Object[] parameterValues) +262
DotNetNuke.Data.SqlDataProvider.GetPortals() +47
DotNetNuke.Entities.Portals.PortalController.GetPortals() +16
DotNetNuke.Common.Global.CacheMappedDirectory() in C:\Hyper.com\App_Code\Global.asax.vb:156
DotNetNuke.Common.Global.Application_Start(Object Sender, EventArgs E) in C:\Hyper.com\App_Code\Global.asax.vb:266


When I looked at the DB I didnt even see parent or child portal even mentioned when I opened it via the Studio manager.
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Need Help with the movingNeed Help with the moving


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