Initial login with admin after install: server error

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/18/2011 12:58:51 PM
Gravatar
Total Posts 5

Initial login with admin after install: server error

I have just installed mojoportal on a .net 4.0 webhost. The installation was successful and when I go to my site address I see a themed site with the welcome page.

However, when I attempted to sign in with admin@admin.com, password admin, I receieved a page with the following text:

"We're sorry but a server error has occurred while trying to process your request.

The error has been logged and will be reviewed by our staff as soon as possible. It is possible that the error was just a momentary hiccup and you may wish to use the back button and try again or go back to the home page."

I have looked at the SQL 2008 database and see a single entry in dbo.mp_users. The first few columns are as follows:

UserID SiteID Name LoginName Email LoweredEmail PasswordQuestion PasswordAnswer Gender ProfileApproved
1 1 Admin admin admin@admin.com admin@admin.com What is your user name? admin 1

Any ideas?

1/18/2011 1:01:15 PM
Gravatar
Total Posts 5

Re: Initial login with admin after install: server error

PS: I don't know if it makes a difference, but mojoportal is not installed in the wwwroot. It is uploaded to a subdirectory for which I created a virtual directory. The network service has read and write permissions on this subdirectory.

1/18/2011 1:06:30 PM
Gravatar
Total Posts 5

Re: Initial login with admin after install: server error

More info: This error occurs on any form submission I can make from the welcome page (sign in, search, register).

If I click on the mojoportal banner I get HTTP Error 503. The service is unavailable.

1/18/2011 1:18:55 PM
Gravatar
Total Posts 5

Re: Initial login with admin after install: server error

Yep... trust issue... heh.

1/18/2011 1:26:04 PM
Gravatar
Total Posts 18439

Re: Initial login with admin after install: server error

Hi,

I would start with Basic Troubleshooting to find out the error details.

Did you install the mojoPortal package for .NET 4 or did you install the mojoPortal package for 3.5 .NET under .NET 4 hosting?

You should use the .NET 4 package of mojoPortal if your hosting is .NET 4.

If you are hosted in medium trust see the Medium Trust documentation.

Hope it helps,

Joe

1/18/2011 1:29:29 PM
Gravatar
Total Posts 5

Re: Initial login with admin after install: server error

Thanks for the quick reply Joe, I was told I was in full trust but switching to medium trust config fixed the problem.

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