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.
When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:
You may also want to review the installation or upgrading documentation.
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.
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)'.
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)
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,
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.
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.
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.
I am glad I could help and glad you prevailed in the end and got it working.