File system permissions problems found.

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

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.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
11/16/2010 7:24:24 AM
Gravatar
Total Posts 4

File system permissions problems found.

<!--[if gte mso 9]> Normal 0 false false false EN-US X-NONE FA MicrosoftInternetExplorer4 <![endif]-->

/setup/default.aspx

 

Probing system...
File system permissions problems found.

The Data folder beneath the root of the web site is not writable by the ASP.NET worker process.

You need to make this folder and all its child folders and files writable before setup can proceed. mojoPortal needs this to be able to write search index files, error logs, image gallery uploads, and other important features.

Right Click the Data folder in Windows explorer, choose properties and go to the Security tab. (On XP if you don't see the security tab then google for XP Simple File sharing to learn how to make that tab appear.) On XP you typically need to give write permission to ASPNET user while on Windows 2003 you need to give it to IIS_WPG user.

Obviously, instructions are a little different on Linux/Mono but the same principle is true, the Data folder and all its child objects must be writable.

Folder Details

·  The Data folder is not writable.

·  The Data/Sites/1/ folder is not writable

·  The Data/Sites/1/systemfiles/ folder is not writable

·  The Data/Sites/1/index/ folder is not writable

·  The Data/Sites/1/SharedFiles/ folder is not writable

·  The Data/Sites/1/SharedFiles/History/ folder is not writable


MSSQL database connection ok.
database permissions are sufficient to alter schema.
database initial schema already exists.
database core schema is up to date.
1 site(s) found.
This site appears to be running in a secured environment using Medium Trust policy or at least lower than Full Trust.



Configuring feature Html Content - 00:00:00.7011270
Configuring feature Site Statistics - 00:00:00.7753410
Configuring feature Web Part - 00:00:00.7802235
Configuring feature Newsletter Sign Up Form - 00:00:00.7812000
Configuring feature Bing Map - 00:00:00.8075655
Configuring feature Blog - 00:00:00.8759205
Configuring feature Contact Form - 00:00:00.9882180
Configuring feature Event Calendar - 00:00:01.0048185
Configuring feature Feed Manager - 00:00:01.0184895
Configuring feature Flickr Slide Show - 00:00:01.0389960
Configuring feature Image Gallery (Simple Folder Version) - 00:00:01.0438785
Configuring feature Forums - 00:00:01.0585260
Configuring feature Google Map - 00:00:01.0809855
Configuring feature Google Translate - 00:00:01.0946565
Configuring feature Html Fragment Include - 00:00:01.1122335
Configuring feature IFrame - 00:00:01.1171160
Configuring feature Image Gallery - 00:00:01.1298105
Configuring feature Simple List/Links - 00:00:01.1425050
Configuring feature Live Messenger Chat - 00:00:01.1532465
Configuring feature Poll - 00:00:01.1639880
Configuring feature Shared Files - 00:00:01.1727765
Configuring feature Survey - 00:00:01.1844945
Configuring feature Twitter Profile Widget - 00:00:01.1913300
Configuring feature Twitter Search Widget - 00:00:01.1942595
Configuring feature Web Store - 00:00:01.2225780
Configuring feature Xml/Xsl - 00:00:01.2499200
Ensuring all features are installed in server admin sites... - 00:00:01.2508965

An Error Occurred:Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.

Source:mscorlib

Stack Trace at System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMark& stackMark, Boolean isPermSet) at System.Security.CodeAccessPermission.Demand() at System.IO.Directory.InternalCreateDirectory(String fullPath, String path, DirectorySecurity dirSecurity) at System.IO.Directory.CreateDirectory(String path, DirectorySecurity directorySecurity) at mojoPortal.Web.mojoSetup.EnsureTemplateImageFolder(String siteFolderPath) at mojoPortal.Web.mojoSetup.EnsureAdditionalSiteFolders(Int32 siteId) at mojoPortal.Web.mojoSetup.EnsureAdditionalSiteFolders() at mojoPortal.Web.UI.Pages.SetupHome.RunSetup() 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)

 

 

When I set permission data folder  (in plesk – plesk IIS-user and Plesk IIS WP set to full Controll)

 

Probing system...

An Error Occurred:Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.

Source:mscorlib

Stack Trace at System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMark& stackMark, Boolean isPermSet) at System.Security.CodeAccessPermission.Demand() at System.IO.Directory.InternalCreateDirectory(String fullPath, String path, DirectorySecurity dirSecurity) at System.IO.Directory.CreateDirectory(String path, DirectorySecurity directorySecurity) at mojoPortal.Web.mojoSetup.TouchTestFile() at mojoPortal.Web.mojoSetup.DataFolderIsWritable() 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)

 

 

When sign in portal

Server Error in '/' Application.

 


Multiple controls with the same ID 'ctl00' were found. Trace requires that controls have unique IDs.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Web.HttpException: Multiple controls with the same ID 'ctl00' were found. Trace requires that controls have unique IDs.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.


Stack Trace:

 
[HttpException (0x80004005): Multiple controls with the same ID 'ctl00' were found. Trace requires that controls have unique IDs.]
   System.Web.TraceContext.AddNewControl(String id, String parentId, String type, Int32 viewStateSize, Int32 controlStateSize) +426
   System.Web.UI.Control.BuildProfileTree(String parentId, Boolean calcViewState) +344
   System.Web.UI.Control.BuildProfileTree(String parentId, Boolean calcViewState) +426
   System.Web.UI.Control.BuildProfileTree(String parentId, Boolean calcViewState) +426
   System.Web.UI.Control.BuildProfileTree(String parentId, Boolean calcViewState) +426
   System.Web.UI.Control.BuildProfileTree(String parentId, Boolean calcViewState) +426
   System.Web.UI.Control.BuildProfileTree(String parentId, Boolean calcViewState) +426
   System.Web.UI.Control.BuildProfileTree(String parentId, Boolean calcViewState) +426
   System.Web.UI.Control.BuildProfileTree(String parentId, Boolean calcViewState) +426
   System.Web.UI.Control.BuildProfileTree(String parentId, Boolean calcViewState) +426
   System.Web.UI.Control.BuildProfileTree(String parentId, Boolean calcViewState) +426
   System.Web.UI.Control.BuildProfileTree(String parentId, Boolean calcViewState) +426
   System.Web.UI.Control.BuildProfileTree(String parentId, Boolean calcViewState) +426
   System.Web.UI.Control.BuildProfileTree(String parentId, Boolean calcViewState) +426
   System.Web.UI.Control.BuildProfileTree(String parentId, Boolean calcViewState) +426
   System.Web.UI.Page.BuildPageProfileTree(Boolean enableViewState) +39
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5792

 


Version Information: Microsoft .NET Framework Version:; ASP.NET Version:2.0.50727.4209

 

11/16/2010 7:25:19 AM
Gravatar
Total Posts 4

File system permissions problems found.

/setup/default.aspx

Probing system...
File system permissions problems found.
The Data folder beneath the root of the web site is not writable by the ASP.NET worker process.

You need to make this folder and all its child folders and files writable before setup can proceed. mojoPortal needs this to be able to write search index files, error logs, image gallery uploads, and other important features.

Right Click the Data folder in Windows explorer, choose properties and go to the Security tab. (On XP if you don't see the security tab then google for XP Simple File sharing to learn how to make that tab appear.) On XP you typically need to give write permission to ASPNET user while on Windows 2003 you need to give it to IIS_WPG user.

Obviously, instructions are a little different on Linux/Mono but the same principle is true, the Data folder and all its child objects must be writable.
Folder Details
• The Data folder is not writable.
• The Data/Sites/1/ folder is not writable
• The Data/Sites/1/systemfiles/ folder is not writable
• The Data/Sites/1/index/ folder is not writable
• The Data/Sites/1/SharedFiles/ folder is not writable
• The Data/Sites/1/SharedFiles/History/ folder is not writable

MSSQL database connection ok.
database permissions are sufficient to alter schema.
database initial schema already exists.
database core schema is up to date.
1 site(s) found.
This site appears to be running in a secured environment using Medium Trust policy or at least lower than Full Trust.

 

Configuring feature Html Content - 00:00:00.7011270
Configuring feature Site Statistics - 00:00:00.7753410
Configuring feature Web Part - 00:00:00.7802235
Configuring feature Newsletter Sign Up Form - 00:00:00.7812000
Configuring feature Bing Map - 00:00:00.8075655
Configuring feature Blog - 00:00:00.8759205
Configuring feature Contact Form - 00:00:00.9882180
Configuring feature Event Calendar - 00:00:01.0048185
Configuring feature Feed Manager - 00:00:01.0184895
Configuring feature Flickr Slide Show - 00:00:01.0389960
Configuring feature Image Gallery (Simple Folder Version) - 00:00:01.0438785
Configuring feature Forums - 00:00:01.0585260
Configuring feature Google Map - 00:00:01.0809855
Configuring feature Google Translate - 00:00:01.0946565
Configuring feature Html Fragment Include - 00:00:01.1122335
Configuring feature IFrame - 00:00:01.1171160
Configuring feature Image Gallery - 00:00:01.1298105
Configuring feature Simple List/Links - 00:00:01.1425050
Configuring feature Live Messenger Chat - 00:00:01.1532465
Configuring feature Poll - 00:00:01.1639880
Configuring feature Shared Files - 00:00:01.1727765
Configuring feature Survey - 00:00:01.1844945
Configuring feature Twitter Profile Widget - 00:00:01.1913300
Configuring feature Twitter Search Widget - 00:00:01.1942595
Configuring feature Web Store - 00:00:01.2225780
Configuring feature Xml/Xsl - 00:00:01.2499200
Ensuring all features are installed in server admin sites... - 00:00:01.2508965
An Error Occurred:Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
Source:mscorlib
Stack Trace at System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMark& stackMark, Boolean isPermSet) at System.Security.CodeAccessPermission.Demand() at System.IO.Directory.InternalCreateDirectory(String fullPath, String path, DirectorySecurity dirSecurity) at System.IO.Directory.CreateDirectory(String path, DirectorySecurity directorySecurity) at mojoPortal.Web.mojoSetup.EnsureTemplateImageFolder(String siteFolderPath) at mojoPortal.Web.mojoSetup.EnsureAdditionalSiteFolders(Int32 siteId) at mojoPortal.Web.mojoSetup.EnsureAdditionalSiteFolders() at mojoPortal.Web.UI.Pages.SetupHome.RunSetup() 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)


When I set permission data folder (in plesk – plesk IIS-user and Plesk IIS WP set to full Controll)

Probing system...
An Error Occurred:Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
Source:mscorlib
Stack Trace at System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMark& stackMark, Boolean isPermSet) at System.Security.CodeAccessPermission.Demand() at System.IO.Directory.InternalCreateDirectory(String fullPath, String path, DirectorySecurity dirSecurity) at System.IO.Directory.CreateDirectory(String path, DirectorySecurity directorySecurity) at mojoPortal.Web.mojoSetup.TouchTestFile() at mojoPortal.Web.mojoSetup.DataFolderIsWritable() 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)


When sign in portal
Server Error in '/' Application.
________________________________________
Multiple controls with the same ID 'ctl00' were found. Trace requires that controls have unique IDs.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Web.HttpException: Multiple controls with the same ID 'ctl00' were found. Trace requires that controls have unique IDs.

Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[HttpException (0x80004005): Multiple controls with the same ID 'ctl00' were found. Trace requires that controls have unique IDs.]
System.Web.TraceContext.AddNewControl(String id, String parentId, String type, Int32 viewStateSize, Int32 controlStateSize) +426
System.Web.UI.Control.BuildProfileTree(String parentId, Boolean calcViewState) +344
System.Web.UI.Control.BuildProfileTree(String parentId, Boolean calcViewState) +426
System.Web.UI.Control.BuildProfileTree(String parentId, Boolean calcViewState) +426
System.Web.UI.Control.BuildProfileTree(String parentId, Boolean calcViewState) +426
System.Web.UI.Control.BuildProfileTree(String parentId, Boolean calcViewState) +426
System.Web.UI.Control.BuildProfileTree(String parentId, Boolean calcViewState) +426
System.Web.UI.Control.BuildProfileTree(String parentId, Boolean calcViewState) +426
System.Web.UI.Control.BuildProfileTree(String parentId, Boolean calcViewState) +426
System.Web.UI.Control.BuildProfileTree(String parentId, Boolean calcViewState) +426
System.Web.UI.Control.BuildProfileTree(String parentId, Boolean calcViewState) +426
System.Web.UI.Control.BuildProfileTree(String parentId, Boolean calcViewState) +426
System.Web.UI.Control.BuildProfileTree(String parentId, Boolean calcViewState) +426
System.Web.UI.Control.BuildProfileTree(String parentId, Boolean calcViewState) +426
System.Web.UI.Control.BuildProfileTree(String parentId, Boolean calcViewState) +426
System.Web.UI.Page.BuildPageProfileTree(Boolean enableViewState) +39
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5792

________________________________________
Version Information: Microsoft .NET Framework Version:; ASP.NET Version:2.0.50727.4209
 

11/16/2010 8:38:43 AM
Gravatar
Total Posts 550

Re: File system permissions problems found.

Hi ,

As I mentioned in mojoPortal Persian Cominity , the data folder must be writable by the ASP.NET worker process. If you can do this in your Plesk control panel do it , if not you can contact your hosting provider to do that.

Hope Helps

Asad

11/16/2010 10:32:35 AM
Gravatar
Total Posts 4

Re: File system permissions problems found.

I set permission data folder (in plesk – plesk IIS-user and Plesk IIS WP set to full Controll)  but

 

Probing system...
An Error Occurred:Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
Source:mscorlib
Stack Trace at System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMark& stackMark, Boolean isPermSet) at System.Security.CodeAccessPermission.Demand() at System.IO.Directory.InternalCreateDirectory(String fullPath, String path, DirectorySecurity dirSecurity) at System.IO.Directory.CreateDirectory(String path, DirectorySecurity directorySecurity) at mojoPortal.Web.mojoSetup.TouchTestFile() at mojoPortal.Web.mojoSetup.DataFolderIsWritable() 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)


When sign in portal
Server Error in '/' Application.
________________________________________
Multiple controls with the same ID 'ctl00' were found. Trace requires that controls have unique IDs.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Web.HttpException: Multiple controls with the same ID 'ctl00' were found. Trace requires that controls have unique IDs.

Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[HttpException (0x80004005): Multiple controls with the same ID 'ctl00' were found. Trace requires that controls have unique IDs.]
System.Web.TraceContext.AddNewControl(String id, String parentId, String type, Int32 viewStateSize, Int32 controlStateSize) +426
System.Web.UI.Control.BuildProfileTree(String parentId, Boolean calcViewState) +344
System.Web.UI.Control.BuildProfileTree(String parentId, Boolean calcViewState) +426
System.Web.UI.Control.BuildProfileTree(String parentId, Boolean calcViewState) +426
System.Web.UI.Control.BuildProfileTree(String parentId, Boolean calcViewState) +426
System.Web.UI.Control.BuildProfileTree(String parentId, Boolean calcViewState) +426
System.Web.UI.Control.BuildProfileTree(String parentId, Boolean calcViewState) +426
System.Web.UI.Control.BuildProfileTree(String parentId, Boolean calcViewState) +426
System.Web.UI.Control.BuildProfileTree(String parentId, Boolean calcViewState) +426
System.Web.UI.Control.BuildProfileTree(String parentId, Boolean calcViewState) +426
System.Web.UI.Control.BuildProfileTree(String parentId, Boolean calcViewState) +426
System.Web.UI.Control.BuildProfileTree(String parentId, Boolean calcViewState) +426
System.Web.UI.Control.BuildProfileTree(String parentId, Boolean calcViewState) +426
System.Web.UI.Control.BuildProfileTree(String parentId, Boolean calcViewState) +426
System.Web.UI.Control.BuildProfileTree(String parentId, Boolean calcViewState) +426
System.Web.UI.Page.BuildPageProfileTree(Boolean enableViewState) +39
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5792

________________________________________
Version Information: Microsoft .NET Framework Version:; ASP.NET Version:2.0.50727.4209

 

 

 

11/16/2010 12:20:39 PM
Gravatar
Total Posts 550

Re: File system permissions problems found.

Hi,

I see your site . All things work fine. Enjoy!

Best,

Asad

 

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