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.
12/4/2012 10:50:41 AM
Gravatar
Total Posts 160
mojoPortal Community Expert
Designer of over 25 unique and custom mojoPortal sites with DMSQD and sister company, The Design Loft - www.dmsqd.com

Installation Error

The content that belongs here is too complex to display securely.
12/4/2012 12:56:33 PM
Gravatar
Total Posts 18409

Re: Installation Error

I would try uploading the web.config file again, maybe it got corrupted during upload, make sure you use the one that came with the release.

Hope that helps,

Joe

12/5/2012 3:05:19 AM
Gravatar
Total Posts 160
mojoPortal Community Expert
Designer of over 25 unique and custom mojoPortal sites with DMSQD and sister company, The Design Loft - www.dmsqd.com

Re: Installation Error

Thanks Joe, I'll give that a whirl - never thought to try that to be honest.

Many thanks

Mark

12/5/2012 8:30:08 AM
Gravatar
Total Posts 160
mojoPortal Community Expert
Designer of over 25 unique and custom mojoPortal sites with DMSQD and sister company, The Design Loft - www.dmsqd.com

Re: Installation Error

Hi Joe

Ok, so i uploaded a new config file and got a bizarre error. So, the error I get now is the following:

Welcome to mojoPortal Setup

Probing system...
File system permissions problems found.
An Error Occurred:Could not find a part of the path 'C:\Inetpub\vhosts\hickton.co.uk\httpdocs\Data\Sites\1\systemfiles\test.config'.
Source:mscorlib
Stack Traceat System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) at System.IO.StreamWriter.CreateFile(String path, Boolean append, Boolean checkHost) at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost) at System.IO.StreamWriter..ctor(String path, Boolean append) at System.IO.File.CreateText(String path) at mojoPortal.Web.mojoSetup.TouchTestFile(String pathToFile) at mojoPortal.Web.UI.Pages.SetupHome.GetFolderDetailsHtml() at mojoPortal.Web.UI.Pages.SetupHome.ProbeSystem() at mojoPortal.Web.UI.Pages.SetupHome.Page_Load(Object sender, EventArgs e) at System.Web.UI.Control.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

Any thoughts appreciated as ever.

Many thanks

Mark

12/5/2012 8:49:47 AM
Gravatar
Total Posts 160
mojoPortal Community Expert
Designer of over 25 unique and custom mojoPortal sites with DMSQD and sister company, The Design Loft - www.dmsqd.com

Re: Installation Error

BTW the data folder is writable... i've checked that...

12/5/2012 8:54:59 AM
Gravatar
Total Posts 160
mojoPortal Community Expert
Designer of over 25 unique and custom mojoPortal sites with DMSQD and sister company, The Design Loft - www.dmsqd.com

Re: Installation Error

Here wo go:

This line in web.config causes an error

there's nothing in user.config that has been added otehr than connection parameters.

When I change it to:

everything works, albeit without the connection to the database - but as I say it does solve the error and gets to the mojoPortal screen...

Thanks

Mark

12/5/2012 9:10:01 AM
Gravatar
Total Posts 18409

Re: Installation Error

If removing the user.config from the appSettings element solved an error it means there is some kind of typo in user.config that is causing an error. I would try to find and fix that problem then put the attribute back, otherwise you have to keep all settings in web.config

For the file system error makes sure all segments of the path exist, ie does /Data/Sites/1 folder exist? does /Data/Sites/1/systemfiles?

Create any folders if they are missing.

Hope that helps,

Joe

12/5/2012 2:38:57 PM
Gravatar
Total Posts 160
mojoPortal Community Expert
Designer of over 25 unique and custom mojoPortal sites with DMSQD and sister company, The Design Loft - www.dmsqd.com

Re: Installation Error

The content that belongs here is too complex to display securely.
12/5/2012 2:47:51 PM
Gravatar
Total Posts 18409

Re: Installation Error

Be careful how you add it back. The most common type of mistake that can break web.config is incorrect use of comment syntax (either in web.config or user.config), ie if you wrap a comment around an area that already has a comment you will break it. 

Hope that helps,

Joe

12/5/2012 2:50:09 PM
Gravatar
Total Posts 18409

Re: Installation Error

Note also that the line number reported can be incorrect and misleading when using a user.config file it is combining that file together with web.config so the line numbers it sees at that point are not in sync exactly with line numbers in web.config alone. So take the line number with a large grain of salt when looking for the problem.

12/5/2012 2:50:13 PM
Gravatar
Total Posts 160
mojoPortal Community Expert
Designer of over 25 unique and custom mojoPortal sites with DMSQD and sister company, The Design Loft - www.dmsqd.com

Re: Installation Error

Sorry Joe I don't follow? I've not touched anything - i've literally just added connection string details...

Thanks

Mark

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