500 Internal Server...

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.

6/26/2017 10:44:38 PM
Gravatar
Total Posts 165

500 Internal Server...

Good Evening... 

Ok, I have researched within the forums and currently unable to locate a solution to my problem.

My hosting is Liquidweb Cloudsites (use to be Rackspace).

I'm told I'm running in Full Trust on IIS 8.5 CLR 4 (.NET 4.5.2).

They use MariaDB 10.1, but I'm told to use it just as a MySQL everything is the same.

Now, After reviewing the forum I wanted to make sure I did not change something in the web.config so I put the default back but turned customErrors = Off.

The Liquidweb guys said with his tools he could see an issue with the  "The configuration section 'system.web.extensions' cannot be read because it is missing a section declaration".

I'm lost, to what could be creating the system to supply the 500 Internal Server Error message, I know it's something in the web.config but what could it be?

 

Thanks,

Mark

 

PS... Really like the look and feel of the new mojoportal.com site.

 

6/27/2017 9:39:11 AM
Gravatar
Total Posts 1188
Proud member of the mojoPortal team

Help support mojoPortal!
Add-on modules

Re: 500 Internal Server...

There are a couple of things you should check first:

  1. If you've modified the delivered web.config, check to make sure you didn't leave out any closing section tags or punctuation (like />).
  2. If you have a user.config, check the above situations in there too, and also make sure you don't have any double dashes within a tag itself (--). This has burned me in the past.

Jamie

6/27/2017 9:53:17 AM
Gravatar
Total Posts 165

Re: 500 Internal Server...

Hey Jamie,

Thanks for replying... I made zero changes to the web.config and I just double checked the user.config and no issues there.

I'm at a lost what could be the issue.

6/27/2017 11:44:40 AM
Gravatar
Total Posts 1188
Proud member of the mojoPortal team

Help support mojoPortal!
Add-on modules

Re: 500 Internal Server...

It looks like there are a couple of potential solutions here. I like the one saying that if you have that corresponding section already in the machine.config file, you should be safe to delete the system.web.extensions section from web.config. You'd have to have the host verify that though. Otherwise it looks like you can add some additional markup to web.config that would help.

https://forums.iis.net/t/1166889.aspx?The+configuration+section+system+web+extensions+cannot+be+read+because+it+is+missing+a+section+declaration

 

 

6/27/2017 12:11:15 PM
Gravatar
Total Posts 165

Re: 500 Internal Server...

Hey Jamie...

I removed the system.web.extensions completely from the web.config file, commenting that section out did not work.

However, now I get the following:

Server Error in '/' Application.


Configuration Error

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: Unrecognized attribute 'targetFramework'. Note that attribute names are case-sensitive.

Source Error: 

 


An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.


Source File: \\fsvs01\target01\322874\www.asd-fl.com\web\content\web.config    Line: 878 
 


Version Information: Microsoft .NET Framework Version:2.0.50727.8669; ASP.NET Version:2.0.50727.8015

6/27/2017 12:29:57 PM
Gravatar
Total Posts 1188
Proud member of the mojoPortal team

Help support mojoPortal!
Add-on modules

Re: 500 Internal Server...

The version information at the bottom indicates the problem. You need to ask the host to put your site on an application pool for ASP.NET 4. It's running under ASP.NET 2, which won't work for mojoPortal.

The system.web.extensions error was a red herring, so you should be able to put that back into the file (or restore your backup).

Jamie

6/27/2017 6:02:49 PM
Gravatar
Total Posts 165

Re: 500 Internal Server...

That was it... I asked them like 5 times.  Closed chat and waited and then reopened chat and got someone different and he was like yup it has the wrong app pool, stand by.

I need to add those sections I removed back to see if it still breaks or not.

Thanks for your help,

Mark

6/28/2017 10:53:51 AM
Gravatar
Total Posts 1188
Proud member of the mojoPortal team

Help support mojoPortal!
Add-on modules

Re: 500 Internal Server...

Great news! Now you just need to find better hosting. wink

6/28/2017 11:02:01 AM
Gravatar
Total Posts 1981

Re: 500 Internal Server...

Hi Mark,

Glad to see you're back and that Jamie helped you get the problem solved.

I also wanted to point out that, due to i7MEDIA acquiring mojoPortal, getting hosting from i7MEDIA directly supports mojoPortal. Check out the mojoPortal Hosting page.

Thanks,
Joe

6/28/2017 1:50:00 PM
Gravatar
Total Posts 165

Re: 500 Internal Server...

Hey Joe...

I was not aware of i7MEDIA acquiring mojoPortal.  However I wish I could change hosting, but mojoPortal is not the only product I have.  

However, Congrats on mojoPortal.

Mark

6/28/2017 2:34:50 PM
Gravatar
Total Posts 1981

Re: 500 Internal Server...

Hi Mark,

Be sure to sign up for our newsletter to stay up to date on mojoPortal.

We can and do host pretty much anything, not just mojoPortal.

Thanks,
Joe