Not serving Setup/Default.aspx

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.
3/25/2009 3:03:13 AM
Gravatar
Total Posts 2

Not serving Setup/Default.aspx

Hi all,

 

I'm trying to get latest version of mojoportal (2.2.9.6) in Debian 5 Lenny with PostgreSQL 8.3 and Apache2.

 

I tried to follow the guides but had to do some things different as some files aren't where the documentation or Joe's blog post about installing mojoportal said they would be (I guess it's a debian thing).

 

The case is... when I finally try to get to the installation page with 192.168.1.14/mojoportal-test/Setup.aspx it displays nothing but:

---------------------------------8<------------------------------

Not Found

The requested URL /mojoportal-test/Setup/Default.aspx was not found on this server.
Apache/2.2.9 (Debian) mod_mono/1.9 Server at 192.168.1.14 Port 80

 ---------------------------------8<------------------------------

So... 404 error, being:

"192.168.1.14" my virtual machine address where I'm trying to have it hosted.

"mojoportal-test" the name of the site.

 

I don't know if it's a mono thing, but that line seems to indicate it really is loading it, and it is in fact under the /etc/apache2/mods_enabled directory.

 

Also, if I try to access through 192.168.1.14/mojoportal-test/wwwroot/Setup/Default.aspx firefox tries to download the file from the host which let's me guessing:

1. Did I decompress the files well? In other words... Should the wwwroot folder exist under the main directory?

2. As it tries to download the file instead of serving it I guess it's a problem with handling, but "SetHandler mono" is already in mojoportal-test.conf under /etc/apache2/sites_enabled directory.

 

I'm making a step by step guide on installing mojoportal with postgresql in debian, so my experience could help anyone with similar settings.

 

Thanks for the help!

3/25/2009 5:58:50 AM
Gravatar
Total Posts 18439

Re: Not serving Setup/Default.aspx

Hi,

First make sure you used the mojoportal download that says "formono" in the name.

Second, I'm not sure the Mono packages for Debian are new enough, do you know what version of Mono?

A better place to post issues about mojoportal on Mono is our Linux/Mono forums. I'm not a Linux guru myself but others who monitor that forum may have experience with running mojoportal on Debian. I use OpenSuse.

From what you've said it does not sound like mono is handling the request. If you are creating an apache virtual directory named "mojoportal-test", make sure that points to the actuall folder wwwroot which is meant to be the root of a mojoportal app. It can either be a root level web site at the host name or ip level or 1 folder deep as a virtual directory.

Best,

Joe

3/27/2009 3:54:19 AM
Gravatar
Total Posts 2

Re: Not serving Setup/Default.aspx

Hi again!

 

I did download the "formono" version so I don't believe it can be that. I'll retry from the beginning making sure of that anyway, if I can't find any answer in a few days.

 

Mono version seems to be 1.9.1. I don't know if that's enough to manage the last version of mojoportal. Anyway... If that would be the case, I guess the error would be a slightly different one, but this is just personal guessing. I really would go for mono not handling the request... but I really don't know where the problem can be.

 

If you wouldn't mind moving the post to the linux forum... that'd be great. Sorry for not posting it there at first.

 

I'll post back if I find the problem.

 

Thanks!

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