Install error--An Error Occurred:Could not find a part of the path

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.
5/5/2009 11:46:54 AM
Gravatar
Total Posts 1

Install error--An Error Occurred:Could not find a part of the path

Hello,

I installed 2.3.0.1 and on IIS7 (full trust) and .NET 3.5SP1. I ran the setup and after a a few minutes i got the error below. The directory does not exist but it also isn't in the root files I copied.

Probing system...
File system permissions problems found.
An Error Occurred:Could not find a part of the path 'C:\inetpub\vhosts\blablabla.com\subdomains\mo\httpdocs\Data\Sites\1\GalleryImages\test.config'.
Source:mscorlib
Stack Trace at 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) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options) at System.IO.StreamWriter.CreateFile(String path, Boolean append) at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize) 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)

5/5/2009 11:51:33 AM
Gravatar
Total Posts 18439

Re: Install error--An Error Occurred:Could not find a part of the path

The error is misleading. The system is trying to verify that file system permissions are correct so its trying to create that file to test it but the permissions are not correct so it can't. 

You need to make sure the /Data folder (and all child objects) is writable by the web process. In IIS 7 I think you need to give write permission or full control on that folder to the NETWORK SERVICE user and possibly IUsr (which is not the same as IUsr_MachineName as in older versions of IIS).

Hope it helps,

Joe

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