Configuration Error - Application error when trying to browse site - 500.19 - Help

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.
9/23/2011 6:47:19 AM
Gravatar
Total Posts 36

Configuration Error - Application error when trying to browse site - 500.19 - Help

The content that belongs here is too complex to display securely.
9/23/2011 6:57:11 AM
Gravatar
Total Posts 18409

Re: Configuration Error - Application error when trying to browse site - 500.19 - Help

Hi,

With this kind of error the line numbers are often misleading.

My first guess is that you have a typo somewhere in user.config like an extra angle bracket or a missing one or the typo could be in Web.config.

My second guess is that another web.config file is interfering, possibly there is a web.config file in the folder above where you have mojoPortal installed.

I would have thought that the wwwroot folder at your host would be the root of the site. When you ran the setup page was it running from http://yourdomain/Setup/Default.aspx or from http://yourdomain/somefolder/Setup/Default.aspx?

Hope that helps,

Joe

9/23/2011 7:49:09 AM
Gravatar
Total Posts 36

Re: Configuration Error - Application error when trying to browse site - 500.19 - Help

Thanks Joe,

It's running from http://yourdomain/Setup/Default.aspx.  I tried loading the site to the the hosts wwwroot, but the browser could not find any of the files in that location.  When I type mydomain into the browser it came up with files not found.  So the folder %mydomain% apparently acts like a root.  I never see the folder in the url. 

I did not make any changes to the web.config except turn off custom errors.  I copied it directly from the deployment file folder. 

I will redo the user.config just to make sure there it's ok.  They were a few changes in it, but since the connection string was working I thought it was ok, but there could be a problem there. 

 

9/23/2011 9:35:00 AM
Gravatar
Total Posts 36

Re: Configuration Error - Application error when trying to browse site - 500.19 - Help

Ok I created a new user.config file and the only change I made was to comment out the MSSQL sample string and insert the correct MSSQL string.  I touched the web.config and now I am not even getting the custom error messages, I only get the friendly error:

Server Error
500.19 - Server error: Data for this file is configured improperly.
The requested page cannot be accessed because of a configuration error.

Just for the heck of it I re-ran the Setup/default and everything is fine:

Probing system...
File system permissions ok.
MSSQL database connection ok.
database permissions are sufficient to alter schema.
database initial schema already exists.
database core schema is up to date.
1 site(s) found.
Configuring feature Html Content - 00:00:00.2968180
Configuring feature Site Statistics - 00:00:00.5780140
Configuring feature Web Part - 00:00:00.6405020 .......etc.

........Configuring feature Xml/Xsl - 00:00:04.0148540
Ensuring all features are installed in server admin sites... - 00:00:04.0929640
Setup is complete, click the link below to go to the home page.
Site Home Page

Database PlatformMSSQL
Version2.3.6.7
StatusYour installation is up to date.

9/23/2011 9:39:48 AM
Gravatar
Total Posts 18409

Re: Configuration Error - Application error when trying to browse site - 500.19 - Help

I would try uploading the Web.config file again. I've seen cases where xml files can get corrupted during ftp. I'd use a robust ftp client like FileZilla.

Hope that helps,

Joe

9/23/2011 10:45:00 AM
Gravatar
Total Posts 36

Re: Configuration Error - Application error when trying to browse site - 500.19 - Help

The content that belongs here is too complex to display securely.
9/23/2011 11:01:32 AM
Gravatar
Total Posts 18409

Re: Configuration Error - Application error when trying to browse site - 500.19 - Help

The files included in the package are correct, if they are not working they are being changed

If you put customerrors section in user.config that will break it, the only thing that can go in user.config is things from the <appSettings section

anything else will break it

9/23/2011 11:23:37 AM
Gravatar
Total Posts 36

Re: Configuration Error - Application error when trying to browse site - 500.19 - Help

The only change I initially made was to add the connection string to the user.config.  That's it.  What is the difference between the web.config & web.fulltrust.config?  I used the fulltrust one, I'll try the regular one.  The filezilla ftp client had no effect.

 

The only thing I can think of is having then ISP set the webspace to ASP.Net4 Clasisic mode.  What capabilities do I lose in this mode?

9/23/2011 11:35:48 AM
Gravatar
Total Posts 18409

Re: Configuration Error - Application error when trying to browse site - 500.19 - Help

The only difference in the Web.fulltrust.config file is that NeatUpload is enabled, NeatUpload only works in full trust hosting but it provides a nice progress bar when uploading files. To use it you would need to rename the Web.config to Web.mediumtrust.config then rename Web.fulltrust.config to Web.config

mojoPortal should work fine with either an Integrated or a Classic app pool but Integrated is preferable so I wouldn't change that unless it is the only thing that solves it.

9/23/2011 11:48:18 AM
Gravatar
Total Posts 36

Re: Configuration Error - Application error when trying to browse site - 500.19 - Help

Thanks Joe,

At this point I have tried everything including contacting the developer smiley.  I am going to to request the change to ASP.Net classic mode, and if that does not work.  I will try a new provider. 

Will I have to redo the Mojo setup after the ISP switches the webspace to the classic mode? 

9/23/2011 12:05:15 PM
Gravatar
Total Posts 18409

Re: Configuration Error - Application error when trying to browse site - 500.19 - Help

the setup page only runs database scripts and configuration steps, you won't need to run it after changing the app pool, but it is always safe to visit the setup page.

I'll be surprised if changing the app pool solves it but I guess its worth a try. The error really sounds like a typo in either Web.config or user.config and I would expect the error to happen no matter what kind of app pool if it is a typo.

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