Unable to log into Admin section after server move

If you have questions about using mojoPortal, you can post them here.

You may want to first review our site administration documentation to see if your question is answered there.

This thread is closed to new posts. You must sign in to post in the forums.
9/25/2015 7:42:19 AM
Gravatar
Total Posts 4

Unable to log into Admin section after server move

We recently moved our working mojoPortal site from one VM to a new one.  The OS stayed the same (server 2008 R2 - 64bit). The SQL version remained the same. IIS version remained the same.  Dot Net remained the same since the source code was not changed.  The changes were the server specs, name, SSL cert, and IP.  Now we are not able to log into the Administration section of mojoPortal.  We receive the page that says, "Sorry, you are not allowed to view this content. If you have questions about your permissions, please contact a site administrator. Either you are not currently logged in, or you do not have access to this page within the site. Please contact the site administrator to obtain access."  Please help.

9/25/2015 10:40:33 AM
Gravatar
Total Posts 18439

Re: Unable to log into Admin section after server move

I have no additional information vs what I already posted trying to help your partner who asked a similar question posting from the same ip address as you. Please don't post duplicate questions. 

9/25/2015 10:52:52 AM
Gravatar
Total Posts 4

Re: Unable to log into Admin section after server move

Well I did not know that he had posted a question here on the forums. I have tried that solution with no effect.  We are not able to use your CMS if we can no longer get into the admin area.  We need to have a solution.  Could this have anything to do with the machine key?  I do not see any logs entries created for this event in the Application logs in event viewer.  We have stood up other servers in the past using the same process as we did this time without issue.  Anything more thought on this would be appreciated.

Thanks

9/25/2015 11:05:35 AM
Gravatar
Total Posts 18439

Re: Unable to log into Admin section after server move

yes machine key is a factor in how asp.net encrypts secure cookies and is a factor when using encrypted passwords.

machinekey should be unique and secret to an installation and should not be changed if using encrypted passwords

so could it be related, yes, do I know if it is related no. machinekey exists in web.config and would not normally be changed just by moving the site files to a new server, so one would not expect that to be the problem

definitely it is a configuration issue of some kind, but I have no definitive idea what it is. clearly something is different in the new configuration since it worked before and the files have not changed.

ssl configuration seems a likely possible cause so I mentioned it in the other post, but I have no way of knowing.

I would also try using different web browsers and different client machines, things like privacy/antivirus software or other security tools on a client machine can also prevent cookies

9/25/2015 11:12:01 AM
Gravatar
Total Posts 4

Re: Unable to log into Admin section after server move

We have tried several different client machines and different browsers.  As we have stated that the files and configurations for the site have not changed.  The only thing that has changed is the hosting machine.  I can go through that and see if there is anything that could be blocking something.

Thanks

9/25/2015 12:11:32 PM
Gravatar
Total Posts 4

Re: Unable to log into Admin section after server move

I was able to find the cause and fix my issue.  I do not know how it happened but somehow the authentication mode was changed from "Froms" to "Windows". Once I changed it back to "Forms" the admin section works.

Line: 980 in my web.config file

<authentication mode="Forms">

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