Removal of setup folder

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/6/2009 4:54:47 PM
Gravatar
Total Posts 72

Removal of setup folder

Hi there,

Once mojoPortal has been installed, can the ~/setup directory be removed?

We have limited disk space so would like to keep only what is necessary for mojoPortal to run.

Thanks,

Ben

11/6/2009 5:07:47 PM
Gravatar
Total Posts 18439

Re: Removal of setup folder

Hi Ben,

Yes, after installation you could delete that folder, the only problem would be that if you later bought one of my add on products they rely on the /Setup/Default.aspx page to install them, so maybe delete all but that one or have a backup in case. Otherwise on upgrades you will get the /Setup folder again anyway, so its not a big issue.

Also if disk space is a concern, there are additional ways to slim down the disk usage listed on our FAQ page.

Hope it helps,

Joe

11/6/2009 5:20:52 PM
Gravatar
Total Posts 72

Re: Removal of setup folder

Thanks Joe that really helps.

I am just trying to configure for MySQL in medium trust. In a hosted environment I am getting the following error:

MySql.Data.MySqlClient.MySqlException: Unable to connect to any of the specified MySQL hosts. at MySql.Data.MySqlClient.NativeDriver.Open() at MySql.Data.MySqlClient.Driver.Create(MySqlConnectionStringBuilder settings) at MySql.Data.MySqlClient.MySqlPool.CreateNewPooledConnection() at MySql.Data.MySqlClient.MySqlPool.GetPooledConnection() at MySql.Data.MySqlClient.MySqlPool.TryToGetDriver() at MySql.Data.MySqlClient.MySqlPool.GetConnection() at MySql.Data.MySqlClient.MySqlConnection.Open() at mojoPortal.Data.DBPortal.DatabaseHelperGetConnectionError(String overrideConnectionInfo)

Does this sound like the MySQL connector is not in the GAC? I don't have access to the server directly and it's unlikely my provider would do this for me.

Thanks (again)

Ben

11/6/2009 5:26:58 PM
Gravatar
Total Posts 18439

Re: Removal of setup folder

Hi,

No, that sounds like a DNS issue, it can't find the MySql server. Make sure there are no typos in your connection string or verify it with your host.

Hope it helps,

Joe

11/6/2009 5:30:46 PM
Gravatar
Total Posts 72

Re: Removal of setup folder

Thanks - I did wonder as it fails to connect immediately.

Will check with my host and revert.

Many thanks

Ben

[update]

P.S. Just to confirm - MySQL 5.x is supported?

11/6/2009 5:32:51 PM
Gravatar
Total Posts 18439

Re: Removal of setup folder

If it was a medium trust issue it would manifest as a security exception. The error you have is very common if it can't find the server.

Best,

Joe

11/6/2009 5:34:42 PM
Gravatar
Total Posts 18439

Re: Removal of setup folder

yes, MySql 5.x is supported assuming you are not using some very old version of mojoPortal, you did not mention your version of mojoPortal.

11/6/2009 5:44:10 PM
Gravatar
Total Posts 72

Re: Removal of setup folder

Apologies Joe, I should have said - I am using the latest release of mojoPortal.

Just to let you know I now have it sorted.

The problem was that I had updated user.config but had not touched web.config to pick up the changes.

Added a carriage return in web.config, re ran setup/default.aspx and result - mojoPortal running on MySQL in medium trust.

Thank you for your help

Ben

11/6/2009 5:51:20 PM
Gravatar
Total Posts 18439

Re: Removal of setup folder

Cool! You are one of only a few that I know of running mojoPortal in medium trust with MySql.

Glad to know it's working for you.

Best,

Joe

11/7/2009 1:22:42 PM
Gravatar
Total Posts 18439

Re: Removal of setup folder

Sorry, I gave you bad information, you should not delete the /Setup folder because you should not delete the /Setup/ProviderConfig folder, however you can safely delete the /Setup/applications folder after installation and that is where the bulk of files is, so that will free up the most space.

Best,

Joe

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