Server Application Unavailable

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.
11/22/2010 2:58:06 AM
Gravatar
Total Posts 32

Server Application Unavailable

 

I am getting the following message, which has appeared a couple of weeks after installation. It was working fine, then it stopped writing to the log file and I now get this message.

 

"Server Application Unavailable

The web application you are attempting to access on this web server is currently unavailable.  Please hit the "Refresh" button in your web browser to retry your request.

Administrator Note: An error message detailing the cause of this specific request failure can be found in the application event log of the web server. Please review this log entry to discover what caused this error to occur"

I have switched off the standard error, but it doesn't seem to be having any effect, can anyone help at all? 

Many thanks

Shaun

 

11/22/2010 3:07:14 AM
Gravatar
Total Posts 550

Re: Server Application Unavailable

Hi Shaun,

Using Dedicated Application Pool may solve it. You can do this in your hosting control panel.

Hope Helps

Asad

 

11/22/2010 6:19:07 AM
Gravatar
Total Posts 18439

Re: Server Application Unavailable

probably need to check with your host, they may have made a configuration change that broke it, and they should be able to find the error in event viewer on the server. Sometimes in shared hosting a host may move your site from one server to another that has different configuration or they may make a configuration change on a server even if they did not move it.

11/23/2010 8:08:54 AM
Gravatar
Total Posts 32

Re: Server Application Unavailable

According to my server people nothing has changed. I can't seem to get any errors to display so I don't really know how to fix what is wrong.

What's "Dedicated Application Pool" and how could that solve my issue?

Cheers

Shaun

11/23/2010 8:21:27 AM
Gravatar
Total Posts 18439

Re: Server Application Unavailable

Hi Shaun,

If the steps in Basic Troubleshooting do not produce any error detail, then for sure the error you posted "Service Unavailable" is definitely going to be logged in the windows application log and your server people should be able to get a clue to help you resolve the problem.  No-one here can help with a generic error message like this, any number of possible things can be happening. Someone with server access could find out what is happening. All we know from this is some error is happening that is severe enough that it cannot run the site at all, but that error would be logged in the windows logs.

Best,

Joe

11/23/2010 9:31:42 AM
Gravatar
Total Posts 2202

Re: Server Application Unavailable

Hi Shuan,

This error is very generic but I used to see it a lot when hosts were trying to run .NET 2 and .NET 1.1 code in the same application pool. This is why Asad suggested a dedicated Application Pool. 

Generally, this error means the Application Pool is not started and it can't start and the most common cause of that is mixing .NET framework versions. Most modern hosting control panels allow you to change the application pool your site is using, but I don't who is hosting your site or what control panel they use so I can't tell you how to do this for your site. If you can get me that information, I might be able to help you further. Also, if you know what Server OS and IIS version is running, that would help a lot.

Joe A. is absolutely correct about your host being able to tell look in the Server Application Log for errors related to the Application Pool your site is using.

HTH,
Joe D.

11/23/2010 11:43:54 AM
Gravatar
Total Posts 550

Re: Server Application Unavailable

I had the same error on one of my site a time ago. This error occurred just after new installation and first edit of a the Htlm Content  module instance. I sole It by change application to default and then change it to dedicated Application Pool. If you send your hosting control account to me (a dot samarian at gmail dot com ) I think can solve it.

Hope Helps

Asad

11/25/2010 7:35:33 AM
Gravatar
Total Posts 32

Re: Server Application Unavailable

The site is hosted with Webfusion and I only have a control panel, but no root access: 

This is now the error displaying:

 

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 configuration section system.web.extensions.

Source Error:

Line 1011:    -->
Line 1012:  </system.webServer>
Line 1013:  <system.web.extensions>
Line 1014:    <scripting>
Line 1015:      <scriptResourceHandler enableCompression="true" enableCaching="true"/>

 

11/25/2010 7:51:15 AM
Gravatar
Total Posts 18439

Re: Server Application Unavailable

It seems you have installed the mojoportal package for .NET 4 but your site/hosting is configured for .NET 3.5/2.0. If .NET 4 is installed on the machine then you just need to change to a .NET 4 Application pool. If not then you need to use the mojoportal package for 3.5 .NET

This error is due to a difference between .NET 3.5 where this section needs to be declared in the Web.config file at the top, but the declaration is not there in our .NET 4 packages because it is not needed in .NET 4 because it is already declared in machine.config.

So what happens is when you install the mojo .NET 4 package under .NET 3.5 it complains about an unrecognized section, and if you install the mojo .NET 3.5 package under .NET 4 it complains about a duplicate section because it is declared in our Web.config for 3.5 but it is also declared in machine.config for 4.0

Hope it helps,

Joe

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