Immediate 500 error on Admin or any form

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/14/2014 1:03:55 AM
Gravatar
Total Posts 3

Immediate 500 error on Admin or any form

We are bringing  2012 servers online now  for upgrades.  Did the first  2.4.0.2  install tonight without a hitch.   Can login ok but soon as

I choose the Admin  or got to Membership and choose add I get an immediate 500 error.  Anyone run across this? I've checked my normal permissions, running a  4 integrated pool as normal

 

thanks

MIke

 

2/14/2014 1:04:51 AM
Gravatar
Total Posts 3

Re: Immediate 500 error on Admin or any form

Sorry meant to add event log is showing

 4005
   Forms authentication failed for the request. Reason: The ticket supplied was invalid.
   2/14/2014 1:28:49 AM
   2/14/2014 6:28:49 AM
   a6302ec8ab8c43658ab53d2d7054378d
   39
   1
   50201
   /LM/W3SVC/7/ROOT-4-130368328032006960
   Full
   /

 

2/14/2014 6:28:40 AM
Gravatar
Total Posts 18444

Re: Immediate 500 error on Admin or any form

make sure you used all the files when upgrading including the new web.config file

make sure you transfer the machinekey from the old web.config to the new one

make sure there are not extra web.config files lying around in sub folders such as in the /Admin folder

See also Basic Troubleshooting

You say you get an error when clicking the Administration link? 

I have no idea what you mean when you say "I got to Membership"

please be very clear and specific and detailed when describing problems and steps that lead to problems

2/14/2014 11:05:01 AM
Gravatar
Total Posts 3

Re: Immediate 500 error on Admin or any form

The upgrades I was referring to were our  web servers.  This is a new install of Mojo ver 2.4.0.2

No upper level  web.configs

used all of the files that came in the new 2402 install

Same 2008 MSSQL server that is serving  the present production 2008R2 Mojo servers

I can got to MemberList on Top of Screen menu but soon as I try to Add Member I get the 500 error(already supplied the event log entry

Clicking on Administration on bottom menu gives me the same error immediately.

Clicking  Page Settings on bottom menu gives the same

I am sure this is something I am missing  in the new win2012 IIS 8   configs but I'm not seeing it.  The other web sites on this server are running fine

 

thanks

MIke

 

 

2/14/2014 11:28:21 AM
Gravatar
Total Posts 18444

Re: Immediate 500 error on Admin or any form

The error you posted does not point to any mojoPortal code to diagnose an error happening in mojoPortal I would need to see the error stack trace which shows where in mojoportal code an error is happening, assuming that file system permissions are correct and the user that is the identity on the application pool has full control over the /Data folder and all child folders and files, then any unhandled error should be logged in the mojoPortal log as discussed in Basic Troubleshooting.

In the absence of an error stack trace that points to mojoPortal code I can only guess that something is misconfigured on your server or IIS web site.

Based on the error you posted:

"Forms authentication failed for the request. Reason: The ticket supplied was invalid."

which is happening only when you click on links for pages that live in the /Admin folder such as /AdminPageSettigns.aspx or /AdminManageUsers.aspx

 

possible causes I can think of are:

  • if there was an another web.config file in that folder it could have a different machinekey so the forms auth token from the machinekey in the mojoPortal root folder Web.config is not valid in this folder because of a different machine key. machinekey is used for encrypting the forms auth token and only the same machinekey can read it.
  • you have a web farm environment and you don't have the same machinekey on all nodes
  • you have configured the /Admin folder as its own application below the mojoportal site in IIS

makes sure the IIS web site is configured for anonymous authentication

make sure also you have all windows updates installed

 

 

2/14/2014 11:37:53 AM
Gravatar
Total Posts 18444

Re: Immediate 500 error on Admin or any form

for further help I suggest google the error "Forms authentication failed for the request. Reason: The ticket supplied was invalid."

there are a lot of results and hopefully one of them will help you.

make sure you installed the latest .NET 4 version of mojoPortal and install .NET 4.5 on the server and then check windows update again if you do that to get the latest updates for .NET 4.5

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