Error creating control (ModuleTitleControl)

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.
3/7/2012 7:05:21 PM
Gravatar
Total Posts 28

Error creating control (ModuleTitleControl)

Hi,

When designing new module, I'm getting the following error.

Error creating control - pnlOuterWrap

Unable to create type 'portal:ModuleTitleControl'. Could not load file or assembly 'mojoPortal.Business, version=1.0.4409.17154

I'm running latest version 2.3.8.1

In the bin, the version of mojoPortal.Business.dll is 1.0.4407.26819

Just curious where does the other version come from? How to fix this error?

I get around it that I comment the moduleTitleControl in the designer and when I'm done I uncomment it.

 

Thanks

Peter

3/8/2012 7:35:27 AM
Gravatar
Total Posts 18439

Re: Error creating control (ModuleTitleControl)

Hi Peter,

You are using the pre-compiled deployment files which are intended for production deployment and not really intended for use in VS.

After the innitial release of version 2.3.8.1 several bug reports came in and these bugs were fixed and the release was patched by updating only the changed dlls. That is why there may be some version differences but it doe snot affect production deployments.

Possibly you could solve it by changing your dll references in VS to "Specific Version" = false in the reference properties.

But in general I recommend for people doing custom development to work with the source code rather than the pre-compiled deployment packages.

See also:

Hope that helps,

Joe

3/8/2012 5:19:33 PM
Gravatar
Total Posts 28

Re: Error creating control (ModuleTitleControl)

Thanks Joe,

Ok, problem solved. Yes I did use the precompiled version. Now I use the source code instead.

Regards,

Peter

 

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