Installation on a shared server

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.
11/14/2009 5:12:53 PM
Gravatar
Total Posts 6

Installation on a shared server

I am installing on EasyCGI server (Windows 2008, IIS 7.0, MySQL 5.0.45) in a shared hosting environment. After creating the database it gives me the following error. I have reloaded the setup folder to make sure it uploaded correctly, but still get the same problem. I don't know what is causing this and what should I do next to solve it. Would really appreciate any help. Thanks.

Anil.

---------------------

Probing system...

File system permissions ok.

MySQL database connection ok.

database permissions are sufficient to alter schema.

database initial schema already exists.

database core schema is up to date.

0 site(s) found.

Creating site with default settings... - 00:00:00.8892228

An Error Occurred:Method not found: 'Int32 mojoPortal.Data.DBSiteSettings.Create(System.Guid, System.String, System.String, System.String, System.String, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, System.String, System.String, System.String, System.String, Boolean, Boolean, Boolean, System.String, Int32, System.String, System.String, System.String, Boolean, Boolean, Boolean, System.String, System.String, Boolean, System.String, System.String, System.String, System.String, System.String, System.String, System.String, System.String, Boolean, Boolean, System.String, System.String, System.String, System.String, System.String, System.String)'.

Source:mojoPortal.Business

Stack Trace at mojoPortal.Business.SiteSettings.Create() at mojoPortal.Business.SiteSettings.Save() at mojoPortal.Web.mojoSetup.CreateNewSite() at mojoPortal.Web.UI.Pages.SetupHome.CreateSiteAndAdminUser() at mojoPortal.Web.UI.Pages.SetupHome.RunSetup() at mojoPortal.Web.UI.Pages.SetupHome.Page_Load(Object sender, EventArgs e) at System.Web.UI.Control.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

11/15/2009 7:41:53 AM
Gravatar
Total Posts 18439

Re: Installation on a shared server

I think the only way this eror can happen is if you have the wrong version of MySql Data layer installed, like you have the new version of mojoPortal with the previous version of MySql Data layer for mojoPortal.

Hope it helps,

Joe

11/16/2009 10:34:43 AM
Gravatar
Total Posts 6

Re: Installation on a shared server

Joe,

I downloaded the latest files from CodePlex. I replaced the dlls in the mssql deployment files with the MySQL datalayer dlls. Created an empty database and set the connection string in user.config and web.config. The database built correctly but it runs into problem while creating site. I also checked with the hosting company to make sure they have given proper write rights to the data folder.

I presume since these are the latest files, I should not have that Issue.

I also double checked that I had replaced all the dlls for MySQL. I also placed a fresh copy of mojoPortal.Business.dll to make sure that I have the correct dll.

Is there anyway to manually build site since that seems to be the issue here?

Thanks for your help.

Anil

11/16/2009 1:25:22 PM
Gravatar
Total Posts 18439

Re: Installation on a shared server

I just tested a clean install using the mojoportal-2-3-2-9-mssql-depploymentfiles.zip and the mojoportal-2-3-2-9-mysqldatalayer-GPL.zip and it worked fine.

I suggest you upload all the files again not just the dlls.

Best,

Joe

11/16/2009 5:25:55 PM
Gravatar
Total Posts 6

Re: Installation on a shared server

Joe, thanks for your help. I have the portal running on shared server at EasyCGI.

The problem was, as you had identified accurately, that I was running incompatible versions of the portal and the data layer. It just happened to be that I downloaded the two zip files on different days. In between you upgraded the files. So I had incompatible version of the datalayer.

I want to thank you for your help in diagnosing this. It was an interesting and frustrating experience.

Anil

11/17/2009 7:39:26 AM
Gravatar
Total Posts 18439

Re: Installation on a shared server

Hi Anil,

I am glad I could help and glad you prevailed in the end and got it working.

Best,

Joe

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