Install Error.

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
6/9/2013 7:38:08 AM
Gravatar
Total Posts 11

Install Error.

Hi All,

Long back I had setup a sample site with source code version mojoportal2.3.7.0 using mysql db on windows 7. Today i did not want to update the code, so I downloaded mojoportal2.3.9.7 in a fresh folder and create a new database in MySQL(Version 5.5.16).

I changed the user.config setting and also removed the references to MSSQL and updated MySQL references. Now when I run the project, it gives me an error  mp_sitehosts table does not exist. When I checked the db, the table was missing.

When I looked up the forum I could see some old posts, where 5.1 version of MySQL had similar issues. Is there any easy approach to solve this problem.

Thanks,
Bali

 

6/9/2013 10:06:25 AM
Gravatar
Total Posts 18439

Re: Install Error.

You made a mistake when you changed references, you should not do that. If you get the latest code form the repository using TortoiseHG all you do is choose the correct build profile (either Debug - MySql or Release - MySql) from the build menu before building the solution. If you did that you should not try to fix it but get the code again instead.

After rebuilding the entire solution you just need to launch the web and visit /Setup/Default.aspx to run the database scripts

If you are using pre-compiled release files there are also no references to change you just replace the data dlls with the ones for MySql

​Hope that helps,

Joe

6/15/2013 8:30:23 AM
Gravatar
Total Posts 11

Re: Install Error.

Joe,

Thanks it works.

Thanks,
Bali

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