Just can't make it go.

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/15/2010 10:22:48 PM
Gravatar
Total Posts 6

Just can't make it go.

I've been programming in .Net for years, but I'm new to Mojo Portal.  I can get it installed on my own local machine with a local copy of SQL Server Express.  Now I'm trying to get it installed and running on GoDaddy.com.

When I open the site in a browser, I get this:

We're sorry but a server error has occurred while trying to process your request.

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 home page.

When I look in the database, there are no tables or stored procedures, so I know the setup scripts never ran.

GoDaddy is a medium trust environment, so I know my user doesn't own the database.  They are using IIS 6.0 and SQL Server 2005.

My user.config file looks like this:

<?xml version="1.0" encoding="utf-8"?>
<appSettings>

<add key="MSSQLConnectionString" value="Data Source=xxxxx; Initial Catalog=xxxx; User ID=xxxxxx; Password=xxxx;" />
<add key="RunningInMediumTrust" value="true" />
<add key="ImageGalleryUseMediaFolder" value="true" />
<add key="DisableSearchFeatureFilters" value="false" />
<add key="SearchUseBackwardCompatibilityMode" value="false" />
<add key="EnableSearchResultsHighlighting" value="true" />
<add key="SearchIncludeModuleRoleFilters" value="true" />


</appSettings>

 

There is no currentlog.config file.  Does that get created during the initial setup?  Is there some other place I can look for an error log?  If there were some hint about what's going wrong, that would be helpful.

I'm just stumped and fed up.

 

3/15/2010 11:15:49 PM
Gravatar
Total Posts 2239

Re: Just can't make it go.

Hi Andrew,

Have you taken a look at this thread: http://www.mojoportal.com/Forums/Thread.aspx?pageid=5&mid=34&ItemID=3&thread=2523&postid=11282 ?

Also, there is medium trust documentation here: http://www.mojoportal.com/mediumtrust.aspx. You must do more than set the RunningInMediumTrust key in the user.config for mojoPortal to work correctly in a medium trust environment.

Sub-domains aren't always setup as separate websites with GoDaddy, but rather as virtual directories with sub-domain names pointing to them. This is a very screwy setup but expected with GoDaddy so if you are using a sub-domain, make sure it is setup as an actual website.

Considering the log file doesn't have any errors in it, I would make sure the Data directory has write permissions assigned to the web user. The App_Data directory also needs write permissions assigned to it but that shouldn't affect the log.

If you still can't get any errors written to the log, try turning off Custom Errors by finding the following line in your web.config and changing the mode to Off.

<customErrors mode="RemoteOnly" defaultRedirect="Error.htm" />

HTH,
Joe Davis

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