Migrating to SQLCE4.0 CTP

This is an open forum for any mojoPortal topics that don't fall into the other categories.

This thread is closed to new posts. You must sign in to post in the forums.
8/24/2010 5:15:42 AM
Gravatar
Total Posts 12

Migrating to SQLCE4.0 CTP

Hi Joe,

I have decided to migrate by mojoportal SQL version to SQLCE. The application is already hosted and running. I am ok with the DB part, I need your help in migrating the application. Does the below points suffice for my requirement

1. From the existing hosted mojoportal SQL version, it is ok to delete only the bin folder and upload the new bin folder for sqlce

2. Add the sdf file into app_data folder

3. Update the web.config file

Or shud I delete the existing application and upload the new application for sqlce4.0

8/24/2010 7:50:29 AM
Gravatar
Total Posts 18439

Re: Migrating to SQLCE4.0 CTP

If your SQL installation is under .NET 4 and using the latest version of mojoPortal 2.3.5.1 your plan is sound assuming the SQL CE database is correctly produced by the downgrade tool.

If you are running an older version you should upgrade first to mojoportal-2-3-5-1-msql-net40-deploymentfiles.zip - hosting must be .NET 4

Then you really only need to replace the mojoPortal.Data.dll and mojoPortal.Features.Data.dll with the versions from mojoportal-2-3-5-1-sqlce-net40-deploymentfies.zip

Then you need to put the name of the .sdf file in this setting

<add key="SqlCeApp_Data_FileName" value="mojodb.sdf" />

However if you get errors in a downgraded database I can't really help you unless you can produce the same error in a SQL CE database created by mojoPortal. I cannot be sure that a downgrade tool will leave the SQL CE database in a correct condition. If it works great, but your mileage may vary.

Note also that if you need to use the WebStore feature, that is not supported in the SQL CE version of mojoPortal and there are no immediate plans to implement support. For ecommerce I recommend stay with SQL Server.

Best,

Joe

8/24/2010 10:12:53 AM
Gravatar
Total Posts 12

Re: Migrating to SQLCE4.0 CTP

Hi Joe,

The main reason for my migration decision is that, my site is a low traffic site. I believe that migrating to SQLCE will improve the performance because it doesn't need to fetch from SQL Server. Please correct me if I am wrong.

Does SQLCE can handle large amount of data? I don't expect in millions but atleast for thousands?

I have downgraded my site to SQLCE 4.0 Successfully. Thanks for you support.

Regards,

Syed

8/24/2010 10:26:44 AM
Gravatar
Total Posts 18439

Re: Migrating to SQLCE4.0 CTP

Hi Syed,

I think you are mistaken, you will always get better performance with SQL Server than with SQL CE. SQL CE may be able to handle your low traffic site but if you expect it to perform better than SQL Server, that is unrealistic. SQL Server is far more robust.

The only advantages of SQL CE is easy deployment and backup. It does perform better than SQLite, but SQL Server can handle way more traffic and will perform better.

Best,

Joe

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