Forum Error - "Parameter '?ForumGuid' must be defined."

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.
2/11/2013 9:42:09 AM
Gravatar
Total Posts 3

Forum Error - "Parameter '?ForumGuid' must be defined."

OS: Win 7 64bit
Database: MySQL
Version: 2.3.9.5
.NET version: 4.0

mojoPortal deployed with MySQL and all pages, administration are working fine.

After I add a new forum to a page, when I click on "Add Forum" in the page, the Edit Forum page is shown with placeholder to input Title and Description.

When clicking on Create New Forum, below error is shown:

-------------------------------------------------------------------------------------------------------------------------------

Server Error in '/Docudesignerweb' Application.

Parameter '?ForumGuid' must be defined.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: MySql.Data.MySqlClient.MySqlException: Parameter '?ForumGuid' must be defined.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:

[MySqlException (0x80004005): Parameter '?ForumGuid' must be defined.] MySql.Data.MySqlClient.Statement.SerializeParameter(MySqlParameterCollection parameters, MySqlPacket packet, String parmName) +223 MySql.Data.MySqlClient.Statement.InternalBindParameters(String sql, MySqlParameterCollection parameters, MySqlPacket packet) +355 MySql.Data.MySqlClient.Statement.BindParameters() +63 MySql.Data.MySqlClient.Statement.Execute() +22 MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior) +1488 [MySqlException (0x80004005): Fatal error encountered during command execution.] MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior) +2233 MySql.Data.MySqlClient.MySqlCommand.ExecuteScalar() +38 MySql.Data.MySqlClient.MySqlHelper.ExecuteScalar(MySqlConnection connection, String commandText, MySqlParameter[] commandParameters) +167 MySql.Data.MySqlClient.MySqlHelper.ExecuteScalar(String connectionString, String commandText, MySqlParameter[] commandParameters) +111 mojoPortal.Data.DBForums.Create(Guid forumGuid, Int32 moduleId, Int32 userId, String title, String description, Boolean isModerated, Boolean isActive, Int32 sortOrder, Int32 postsPerPage, Int32 threadsPerPage, Boolean allowAnonymousPosts) +2210 mojoPortal.Business.Forum.Create() +521 mojoPortal.Web.ForumUI.ForumEdit.btnUpdate_Click(Object sender, EventArgs e) +393 System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +155 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3804

-------------------------------------------------------------------------------------------------------------------------------

 

2/11/2013 9:52:55 AM
Gravatar
Total Posts 3

Re: Forum Error - "Parameter '?ForumGuid' must be defined."

I found the source of the issue is most likely in MySQL layer when inserting into table mp_forums.

I manually created a record in mp_forums with appropriate values and I am able to see the new forum and add new posts.

But when I try creating an additional forum, the same error is shown.

 

2/11/2013 9:52:55 AM
Gravatar
Total Posts 18439

Re: Forum Error - "Parameter '?ForumGuid' must be defined."

Hi,

Thanks for the bug report. This is now fixed in the source code repository and I have patched the MySql Data layer release for version 2.3.9.5. If you download it again and replace the /bin/mojoPortal.Features.Data.dll it should solve this problem.

Thanks,

Joe

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