MP 2.3.6.7 MSSQL - admin prompted to download site settings file.

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

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.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
7/12/2011 11:45:15 AM
Gravatar
Total Posts 42

MP 2.3.6.7 MSSQL - admin prompted to download site settings file.

Just installed release 2.3.6.7 MSSQL on dev server. Running ASP.NET 4.0 in full trust. In admin menu selecting Site Settings, Add New User, or System Log prompts me to download the associated .aspx file. Where are logs stored? May be related to my config.

7/12/2011 11:57:03 AM
Gravatar
Total Posts 18439

Re: MP 2.3.6.7 MSSQL - admin prompted to download site settings file.

It definitely has to be a configuration issue not a bug in mojoPortal.

The only way IIS is going to serve a .aspx page for download is if the folder or specific files is somehow not configured for ASP.NET to handle them. Sounds like something must be very funky about the configuration on the /Admin folder or some specific files in there. I guess since the admin menu itself works it must be something more specific than the folder level settings, but for some reason those specific files are being seen as not handled by ASP.NET therefore IIS is just treating them as files and serving them up instead of letting ASP.NET handle the request for them. Very strange indeed. Maybe some strange IIS module settings involved.

The mojoPortal log is at /Data/currentlog.config, you might also look in the IIS logs, but especially at the IIS configuration on those particular files.

Hope that helps,

Joe

7/12/2011 12:17:03 PM
Gravatar
Total Posts 42

Re: MP 2.3.6.7 MSSQL - admin prompted to download site settings file.

Thanks Joe. That's what I thought as well. Will check the logs and let you know what I discover.

Update (Fixed)

Invalid url in the AppKeepAliveUrl. I had copied over the user.config from another mojoPortal installation and failed to change this value. All is good again. Thanks for the help.

7/13/2011 9:10:43 AM
Gravatar
Total Posts 18439

Re: MP 2.3.6.7 MSSQL - admin prompted to download site settings file.

Hi Steve,

That doesn't really make sense. If an incorrect keep alive url could cause that problem I would certainly consider it a bug in mojoPortal if not a bug in the ASP.NET runtime itself. All the keep alive does is spawn a background thread that makes periodic web requests to the specified url, if it is a bad url or unreachable it would log an error but it should not have any bearing on whether a .aspx file is handled by ASP.NET or served up as a file by IIS.

I tried using a bad keep alive url here and was not able to produce the problem.

I'm glad the problem is no longer happening but I'm skeptical that this change was the solution.

Best,

Joe

7/13/2011 9:43:34 AM
Gravatar
Total Posts 42

Re: MP 2.3.6.7 MSSQL - admin prompted to download site settings file.

Doesn't make sense at all after reading your post. Can't reproduce the error this morning either. Will just monitor it and let you know if it happens again. 

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