Setup/Default.aspx returns errors

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.
12/2/2011 10:42:30 AM
Gravatar
Total Posts 15

Setup/Default.aspx returns errors

Trying to install MP into a subdomain to eventually renew an existing old installation. It is Windows hosting using MySQL database and the version of MP for NET3.5 was downloaded in October 2011 ( I notice that the current version 2-3-7-5 dates from December 1st).

The MySQL dlls have been placed in the right places and the web.config adjusted for a Medium Trust environment. 

The error.htm log says this;

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>Error</title>
<meta name=vs_defaultClientScript content="JavaScript">
<meta name=vs_targetSchema content="http://schemas.microsoft.com/intellisense/ie5">
<meta name="GENERATOR" content="Microsoft Visual Studio .NET 7.1">
<meta name=ProgId content=VisualStudio.HTML>
<meta name=Originator content="Microsoft Visual Studio .NET 7.1">
<link rel="stylesheet" id="style" runat="server" type="text/css" href="Data/style/mojo1.css" />
</head>
<body >
<br /><br />

<table ID="Table1">
<tr>
<td width="100"></td>
<td align="center">

</td>
</tr>
<tr>
<td width="100"></td>
<td width="500">
<p style="FONT-SIZE: large">
We're sorry but a server error has occurred while trying to process your request.
</p>
<p style="FONT-SIZE: large">
The error has been logged and will be reviewed by our staff as soon as possible.
It is possible that the error was just a momentary hiccup and you may wish to use the back button and try
again or go back to the <a href="Default.aspx">home page</a>.
</p>

</td>
</tr>
</table>

</body>
</html>

I cannot actually find a file called mojo1.css anywhere in the downloaded MP files. Can you please tell me what is causing the problem and what is the solution?

Many thanks

Tony Morton

12/2/2011 10:53:03 AM
Gravatar
Total Posts 18439

Re: Setup/Default.aspx returns errors

I don't understand whether you are instaling the current version or an older version, you should not mix files between 2 versions and if it is a new installation you might as well just use the latest version.

As far as the error, start with Basic Troubleshooting

If you are installing it below another installation of mojoPortal or another .NET app see also the Developer FAQ which talks about web.config conflicts that will happen and how to mitigate them.

Hope that helps,

Joe

12/2/2011 11:20:39 AM
Gravatar
Total Posts 15

Re: Setup/Default.aspx returns errors

Thanks for that - let me clarify what I am trying to do. We have an existing but very old MP installation in our website. We want to install an updated version, but do not want to put it straight into the main domain without being able to preview and test it first. So I have set up a subdomain to load the new MP version into. I cannot remember the version that I downloaded, back in October, presumably it was 2.3.7.4, since your current December version is 2.3.7.5.

I assumed that keeping two different versions of MP, one in the main domain, and the other in the subdomain, would be a workable solution, but obviously they both refer to a single web.config file.   I have changed the web.config file to the newer version, and in fact our old installation of MP is working as usual with the newer web.config file.

Now, what exactly is preventing the new version of MP in the subdomain from working?

Many thanks

Tony Morton

12/2/2011 11:28:17 AM
Gravatar
Total Posts 18439

Re: Setup/Default.aspx returns errors

you cannot mix and match files between versions including the web.config file.

If the subdomain is really installed below the main domain root that is not going to work it needs to be a separate root level web site. I know places like godaddy install sub domains below the main site in the file system and they make it seem like a root level site with url masking or url forwarding when it really is in a sub directory but that is not going to work.

A real sub domain like demo.mojoportal.com vs www.mojoportal.com are both root level sites and they are not nested in the file system and that will work because they are completely separate and will not have any conflicts.

But the way some of these hosting companies do it is not like that and it won't work. 

12/2/2011 11:44:11 AM
Gravatar
Total Posts 15

Re: Setup/Default.aspx returns errors

Thanks Joe, My hosting company did not say that this would be a problem and gave me support for the idea that I would be able to run 2 separate version in this way, I will raise it with them again, but if it really will not work then we need to come up with another approach.

 

Thanks again

Tony Morton

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