"Register" not working.

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.
1/28/2007 7:14:47 PM
Gravatar
Total Posts 22

Re: "Register" not working.

When anyone attempts to "register" on my site, they get the error page.  I can figure out why.  When I change the error settings, I get the following.  Any suggestions on how to correct?  This did work at one point.  I tried restarting both my app pools and my site, but to no avail.

  Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: An error occurred creating the configuration section handler for system.web/mojoProfile: Object reference not set to an instance of an object.

Source Error:

Line 423:		</profile>
Line 424:
Line 425:		<mojoProfile >
Line 426:			<!--
Line 427:				NOTE: this feature is not yet implemented

Server Error in '/' Application.

Configuration Error

 

1/28/2007 7:23:59 PM
Gravatar
Total Posts 18439

Re: "Register" not working.

Hi Craig,

Are you using the latest version of mojoPortal? If so I think you did not get the latest version of Web.config. I think you should make sure you are using the latest version of mojoPortal and the latest version of the Web.config. You will need to update the Web.config with any of your previous customizations and connection string of course.

Hope it helps,

Joe
1/28/2007 7:29:42 PM
Gravatar
Total Posts 22

Re: "Register" not working.

How can I tell what my current version is?  I think it is v.2.1.5.  What's the upgrade path like to the latest version?  Any dbase scripts to run?  Can I just copy over the top (excepting for my changes like the web.config settings)?
1/28/2007 7:41:35 PM
Gravatar
Total Posts 18439

Re: "Register" not working.

back up both site and db

run any upgrade scripts from your current version up to newest upgrade script

if using MS SQL or PostgreSQL run the stored proc script to replace your stored procs with the newest ones

back up your web.config

upload the newest release overwriting any existing files

re-apply your connection string and any other custom settings

That should so it.

If you have doubts about which upgrade scripts you need just look in the upgrade script, they are usually adding columns or tables, if you already have them you don't need that script

Hope it helps,

Joe
1/28/2007 8:12:08 PM
Gravatar
Total Posts 22

Re: "Register" not working.

I seem to recall a page in the framework that would tell me the version I'm running, but I can't seem to relocate it.  Am I just imagining this?
1/28/2007 9:48:36 PM
Gravatar
Total Posts 22

Re: "Register" not working.

After attempting to upgrade from 2.1.5 to 2.2.1, I've been testing on my local dev site and have been receiving the following message from two places.  One is when attempting to navigate from the home page to the image gallery and the second is when I attempt to edit the "Welcome" section of the home page.  Any ideas or suggestions?  I haven't changed any permissions?  I'm not sure if the upgrade scripts added tables that my user needs rights to that it didn't have before?

  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: #42000Access denied for user 'mojouser'@'localhost' to database 'mojoportal'

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: #42000Access denied for user 'mojouser'@'localhost' to database 'mojoportal']
   MySql.Data.MySqlClient.PacketReader.CheckForError() +91
   MySql.Data.MySqlClient.PacketReader.ReadHeader() +229
   MySql.Data.MySqlClient.PacketReader.OpenPacket() +119
   MySql.Data.MySqlClient.NativeDriver.ReadResult(Int64& affectedRows, Int64& lastInsertId) +17
   MySql.Data.MySqlClient.CommandResult.ReadNextResult(Boolean isFirst) +67
   MySql.Data.MySqlClient.NativeDriver.SendQuery(Byte[] bytes, Int32 length, Boolean consume) +130
   MySql.Data.MySqlClient.MySqlCommand.GetNextResultSet(MySqlDataReader reader) +391
   MySql.Data.MySqlClient.MySqlDataReader.NextResult() +270
   MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior) +163
   MySql.Data.MySqlClient.MySqlHelper.ExecuteReader(MySqlConnection connection, MySqlTransaction transaction, String commandText, MySqlParameter[] commandParameters, Boolean ExternalConn) +158
   MySql.Data.MySqlClient.MySqlHelper.ExecuteReader(String connectionString, String commandText, MySqlParameter[] commandParameters) +85
   mojoPortal.Data.dbPortal.PageSettings_GetPageTreeReader(Int32 siteID) +2828
   mojoPortal.Business.PageSettings.GetPageTree(Int32 SiteID) +37
   mojoPortal.Web.AdminUI.ModuleSettingsPage.PopulateControls() +113
   mojoPortal.Web.AdminUI.ModuleSettingsPage.Page_Load(Object sender, EventArgs e) +972
   System.Web.UI.Control.OnLoad(EventArgs e) +99
   System.Web.UI.Control.LoadRecursive() +47
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1061

Server Error in '/craigcody' Application.

#42000Access denied for user 'mojouser'@'localhost' to database 'mojoportal'

 


Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.210

1/29/2007 8:05:33 AM
Gravatar
Total Posts 18439

Re: "Register" not working.

Hi Craig,

There has been discussion of having it know what version it is in the forums but it has not been implemented yet as I'm still working on the design for an upgrade system to automate upgrades.

If you are not getting errors elsewhere then that Access Denied error you are getting now is because the user in your connection string does not have permission to create temporary tables. The method identified in the error, "GetPageTree" uses temp tables.

Joe
1/30/2007 8:47:18 PM
Gravatar
Total Posts 22

Re: "Register" not working.

Thank you. 

The "Access Denied" on localhost was cleared up as you suggested by giving my connection string permission to create temporary tables.  After I got my dev environment working, the upgrade to my production site was quite easy.  After making backups, I copied the release files, ran the database scripts and updated the web config file. 

This was the smoothest upgrade for me yet.  Oh yeah, I almost forgot ... The original problem of the "Register" page not working was fixed by this upgrade as well.  Thanks again.

- Craig.

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