Parser error in poll module

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

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.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
9/19/2008 8:05:21 PM
Gravatar
Total Posts 33
www.jaosobne.cz
Windows Server 2008 R2
Microsoft SQL Server 2008
MojoPortal 2.3.6.2

Parser error in poll module

Hi, I just upgraded MP to the newest version, but I have poll on one of my websites homepage. This causes an error. When I access the site on any other page (nice URL) which does not contain the poll, everything works. I had to remove the poll module through the administration, but I would like to have it back.

Could this one be fixed or worked around? Thank you.

Server Error in '/' Application.
--------------------------------------------------------------------------------

Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

Parser Error Message: The type 'PollFeature.UI.PollModule' is ambiguous: it could come from assembly 'D:\www\mojoportal\bin\PollFeature.UI.DLL' or from assembly 'D:\www\mojoportal\bin\mojoPortal.Features.UI.DLL'. Please specify the assembly explicitly in the type name.

Source Error:


Line 1: <%@ Control Language="C#" AutoEventWireup="false" Codebehind="PollModule.ascx.cs"
Line 2: Inherits="PollFeature.UI.PollModule" EnableViewState="true" %>
Line 3: <mp:CornerRounderTop id="ctop1" runat="server" />
 

Source File: /Poll/PollModule.ascx Line: 1


--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.3053; ASP.NET Version:2.0.50727.3053

9/20/2008 4:58:08 AM
Gravatar
Total Posts 18439

Re: Parser error in poll module

Hi,

Sorry, my plan was to cover this in the release announcement last night. I worked on the announcement for about an hour and then I did some strange key combination and ended up on a different page and FCKeditor lost my work. It was a long day and I was tired so I put off re-doing the release announcement until this morning.

In any case, the error is because Poll and Survey were combined into a new set of dlls. You need to delete the following dlls from your /bin folder:
PollFeature.UI.dll
PollFeature.Business.dll
PollFeature.Data.dll
SurveyFeature.UI.dll
SurveyFeature.Business.dll
SurveyFeature.Data.dll

Then just touch your Web.config file to recycel the app.

The above features are now in:
mojoPortal.Feature.UI.dll
mojoPortal.Features.Business.dll
mojoPortal.Features.Data.dll

Best,

Joe

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