I messed up the upgrade to the latest version.

Post here for help with installing or upgrading mojoPortal pre-compiled release packages. When posting in this forum, please provide all relevant details. You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

Post here for help with installation of mojoPortal pre-compiled release packages

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.

You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

This thread is closed to new posts. You must sign in to post in the forums.
1/13/2010 2:21:24 PM
YSN
Gravatar
Total Posts 5

I messed up the upgrade to the latest version.

I backed up my database files.

I copied the new version to a blank folder and ended up createing a brand new mojoportal site on server. Then stupidly deleted my old site.

Now when i create my new site it goes to a new database.

My question is can i chnage the config file to point to the old database files or do i have to re do my sites from scratch. I have seven website id's on the on database?

1/13/2010 3:27:07 PM
YSN
Gravatar
Total Posts 5

Re: I messed up the upgrade to the latest version.

I am using Windows server 2003 rc2, MS. SQL, upgrading from 2.3.3.2 to 2.3.3.4.

Sorry,

thanx

1/13/2010 4:18:07 PM
Nux
Gravatar
Total Posts 183

Re: I messed up the upgrade to the latest version.

Hey,

first, take a backup from your database ;)

And yes, I guess you can point to the old database, BUT you will have to run /setup/default.aspx to be sure that the db structure is updated to the latests version.

But take those backups ...

Stef

1/13/2010 4:36:18 PM
YSN
Gravatar
Total Posts 5

Re: I messed up the upgrade to the latest version.

Thanks stef.    I just ran the setup aftet changing the userconfig to point to the old database.

Site 1. is coming up fine.

i am geting mydomain.....Error.htm?aspxerrorpath=/Default.aspx on all the old sites.

 

Any thoughts?

1/13/2010 4:45:54 PM
YSN
Gravatar
Total Posts 5

Re: I messed up the upgrade to the latest version.

from the log file.  Am i dead in the water? I was using one site/database with 8 sites total

using allow multiple sites set to true and related sites set to true.

error from log reads.

2010-01-13 17:04:32,015 ERROR mojoPortal.Web.mojoBasePage - 127.0.0.1-en-US - /ysn2/Admin/SiteSettings.aspx?SiteID=7
System.IO.DirectoryNotFoundException: Could not find a part of the path 'c:\inetpub\wwwroot\ysn2\Data\Sites\7\systemfiles\sitesettingscachedependecy.config'.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
at System.IO.StreamWriter.CreateFile(String path, Boolean append)
at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize)
at System.IO.StreamWriter..ctor(String path, Boolean append)
at System.IO.File.CreateText(String path)
at mojoPortal.Business.WebHelpers.CacheHelper.TouchCacheFile(String pathToCacheFile)
at mojoPortal.Business.WebHelpers.CacheHelper.TouchSiteSettingsCacheDependencyFile(Int32 siteId)
at mojoPortal.Web.AdminUI.SiteSettingsPage.btnSave_Click(Object sender, EventArgs e)
at System.Web.UI.WebControls.Button.OnClick(EventArgs e)
at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)
at System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

You must sign in to post in the forums. This thread is closed to new posts.