mojoPortal 2.3.5.8 .NET 4.0 website upgrade

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.
1/4/2011 4:43:59 AM
zan
Gravatar
Total Posts 5

mojoPortal 2.3.5.8 .NET 4.0 website upgrade

Hello,

I've just upgraded a website to 2.3.5.8. When I run it from Visual Studio 2010 I get the following compilation error:

The base class includes the field 'pnlWrapper', but its type (mojoPortal.Web.UI.ModuleContainer) is not compatible with the type of control (System.Web.UI.WebControls.Panel).

The problem occurs in LinkModule/Links.ascx. Anyone knows the reason?
Thanks in advance
 

1/4/2011 5:12:26 AM
Gravatar
Total Posts 550

Re: mojoPortal 2.3.5.8 .NET 4.0 website upgrade

Hi,

Do you get code from repository? For  running you local website from code, you can get latest version of code from repository and compile it in VS.NET  2010 , after build successfully you have to visit setup/default.aspx

Hope Helps

Asad

1/4/2011 6:57:09 AM
Gravatar
Total Posts 18439

Re: mojoPortal 2.3.5.8 .NET 4.0 website upgrade

Hi,

The problem is caused because the LinkModule was renamed to List, but you still have the old files so when VS tries to compile those old files it causes these errors. You can solve it by deleting the folder named LinkModule, it is not needed anymore since the files are now in the List folder.

But as Asad said, really if working in VS we recommend using the mojoPortal source code. You are basically opening the pre-compiled deployment files in VS so it opens it as a Web Site Project type and it treats all files as part of the project whereas in the source code our web project is really a Web Application project type not a Web Site project type, it has a .csproj file that tells it what files are in the project.

Hope it helps,

Joe

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