Installation Error

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.
2/22/2008 9:27:29 AM
Gravatar
Total Posts 13

Installation Error

Hi,

i have installed the mojoportal-2-2-4-6-b-pgsqlreleasefiles Windows Server 2003 on IIS and PostGreSQL 8.2

with no problem, but i would like to work with the .sln file so i have installed the mojoportal-2-2-4-6-b-sourcecode with the same procedure of the mojoportal-2-2-4-6-b-pgsqlreleasefiles but, when i run .../Setup/Default.aspx i have some runtime Error:

Runtime Error
Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine. 

Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".


<!-- Web.Config Configuration File -->

<configuration>
<system.web>
<customErrors mode="Off"/>
</system.web>
</configuration>
 

Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.


<!-- Web.Config Configuration File -->

<configuration>
<system.web>
<customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
</system.web>
</configuration>

Can you help me?

Thanks

 

2/22/2008 10:08:24 AM
Gravatar
Total Posts 18439

Re: Installation Error

Hi,

If you want to use the source code with pgsql on windows I recommend you get the code from svn trunk. There were some bugs in the upgrade scripts for pgsql reported recently that are fixed in svn trunk but not in the previous release.

To work with the mojoportal source code you must have VS 2005 SP1 or VS 2008. mojoPortal uses the precompiled model not the inline code model so you can't just edit code on the server with a text editor and in fact you should not in my opinion deploy c# source code on a production machine. Instead you build it in VS then package the deployment files using the free UnleashIt tool.

Also when working with the source code you must build the solution with VS before it can work and the procedure for using a different data layer is not the same as with packaged release files. You change the project reference from mojoPortal.Business project, first remove reference to mojoPortal.Data.MSSQL, then add reference to mojoPortal.Data.pgsql, next rebuild solution. More info here: http://www.mojoportal.com/settingadatalayerreferenceinvisualstudio.aspx

Also with the latest svn code you must set this in Web.config or user.config

<add key="SubSonicProvider" value="subsonicPostgreSql" />

Hope it helps,

Joe

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