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/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

12/5/2012 2:52:48 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

Hi Joe

RE the line number - I'd figured that as it wasn't too descriptive. I've managed to nail it down to the user config file but liertally cannot see a thing wrong with it - i've used the out of the box one and just added connection strings. I may be missing something obvious but i've just taken a fresh one from a download, typed in my connection details and got the same issue.

The web.cofig dies when it tries to reference user.config.

Thanks

Mark

12/5/2012 2:55:37 PM
Gravatar
Total Posts 18439

Re: Installation Error

Hi Mark,

I don't know what else to suggest. I know the files as shipped are correct so something you are doing is a factor, sometimes xml files can get corrupted during ftp.

Maybe get the files from the package again and rename the user.config.sample file as user.config and upload them both again.

I also know that the package included the empty folder /Data/Sites/1/systemfiles but if you use a tool like Winzip to extract it instead of the windows extraction utility it may leave out empty folders depending on winzip configuration.

Best,

Joe

12/5/2012 3:02:48 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

Thanks Joe

Just tried that - same issue. I'm going to delete the entire thing and start again just to be sure.

Thanks for the time on looking into it, I appreciate it.

Mark

12/10/2012 7:14:06 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

Hey Joe

Still really struggling with this. Deleted the entire system from the server, downloaded fresh and still get the same issue.

We've literally just changed the connection string in user.config - nothing else at all, checked, checked and checked again and the install still falls over when it tries to call to user.config.

Now, when we take out the reference to user.config from <appsettings> in web.config, it tries to install and says:

Could not find a part of the path 'C:\Inetpub\vhosts\hickton.co.uk\httpdocs\Data\Sites\1\systemfiles\test.config'.

Which of course it cannot find that as that site hasn't even been created yet as the install hasn't run. Never come across this before in all the installs we've done on this server and really struggling to find anything.

Thanks

Mark

12/10/2012 9:56:38 AM
Gravatar
Total Posts 18439

Re: Installation Error

The Setup page tests to make sure the file system is writable by trying to create files in specific locations such as

/Data/Sites/1/systemfiles it tries to create the file test.config

However the error is indicating that the folder does not exist so I would try creating that folder. Again the mojoPortal package ships with that folder as an empty folder but some file extraction tools may leave out the empty folders when the zip is extracted.

12/10/2012 10:04:17 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 - it's very odd as we've used all of the same software as we always have.

Any ideas on the user.config error? That's the real issue it seems.

Thanks

Mark

12/10/2012 11:18:38 AM
Gravatar
Total Posts 18439

Re: Installation Error

I really have no idea what could cause the user.config problem other than a typo or file corruption of the user.config file

Maybe try uploading a new user.config but not named user.config, name it my.config before uploading it then set

<appSettings file="my.config">

The only other suggestion I can think of is to re-install the .NET 4 framework, I have seen cases where a particular machine had a funky installation. In fact just recently when I submitted the mojoPortal 2.3.9.4 release to the web app gallery they rejected it and said it failed to run under medium trust. I was not able to get any error under medium trust using the same package and I also tested using the source code under medium trust. Finally they got back to me and said the .net 4 installation on their test machine was funky and after re-installing it it worked fine for them under medium trust. Though the error they were getting was a security error not the same error you are getting.

Best,

Joe

 

12/11/2012 5:32:48 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

Thanks for this, much appreciated. We're onto the hosting company to make sure our server has the best install of the framework, and we've tried 4 unzip programs and also 3 versions of the mojoPortal download and the files (systemfiles) are still missing.

As a workaround, I wonder if you have a list of all of the empty folders and their locations that mojoPortal ships with so that we can try manually recreatign just to confirm that diagnosis please?

Got 4 sites to launch and this is holding them all up, so odd as we've had the same process for a few years for doing this and it's only come up this week.

Thanks

Mark

12/11/2012 10:01:43 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

An update here: I took the file system from another site and uploaded; swapping out the user.config (same mojoPortal version) for our new one to connect to a fresh database and it threw the same error.

Hosts can't find anything wrong with the .net framework either.

Thanks

Mark

12/11/2012 10:11:23 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

Another update:

We keep the old mojoPortal downladed files from Codeplex on our server. I've checked the previous release (2.3.9.3) and that has all files intact, empty folders and all.

I've then checked 2.3.9.4 and done fully fresh downloads on Mac and Windows, and extracted with both sets of built in file extractors and 3rd party extraction tools and on each OS and with each tool the empty folders such as Data/Sites/1/systemfiles are missing.

Thanks

Mark

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