Mojoportal source code run time 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.
10/4/2011 2:43:14 PM
Gravatar
Total Posts 2

Mojoportal source code run time error

hi joe,

I get latest mojoportal source from repository through Hg and open main Mpjoportal project in VS2010. I changed User.config and Web.config for Postgresql and commented other DB specifics Configuration.After building successfully main project with associated 29 Projects i m having error

{
              // hate to trap System.Exception but SqlCeException doe snot inherit from DbException as it should
             if (DatabaseHelper.DBPlatform() != "SqlCe") { throw ex; }
              log.Error(ex);
           }

while i have commented connectionstring setting for SQLCe .even then it is getting SQLCe null connectionstring error

i am unable to build latest source code of mojoportal for Postgresql.

please help

regards

 

10/4/2011 2:57:31 PM
Gravatar
Total Posts 18439

Re: Mojoportal source code run time error

Hi,

Web.config and user.config doesn't control which data layer is used, we have different connection strings there for each data layer and each data layer uses its own connection string but that does not control which data layer is used.

Which data layer is used depends on project references from the business layer, we have build profiles that automatically set the correct references then when you rebuild the solution the correct version of the data dlls is used.

See the screen shot in the Packaging and Deployment article.

Hope that helps,

Joe

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