Mono Support Anonymous users can't access Groups etc. pages 

Viewed 26940 time(s), 3 post(s), 6/3/2016 4:22:38 PM - by Zoomicon
6/3/2016 4:35:38 PM
2793 Reputation 345 Total posts

why is it that at http://trafilm.net anyonymous users can't access pages like Groups (see first menu), whereas at http://social.clipflair.net where it was cloned/adapted from doesn't have such issue?

now that I see the log again, what is trying to Upload? is it the avatar icon it autocalculates? (I use the setting to generate such icons)

I gave the "IIS AppPool\MyAppPoolName" account modify rights to the Upload folder and it works now

BTW, it wasn't writing logs at first, had to give same rights to "MonoX\ApplicationData" folder

ARE THERE MORE FOLDERS I NEED TO GIVE SUCH RIGHTS TO?

would be best (letter "t" here shows with some strange font in FirefoX/Win10 btw) if you had a Readme.txt in those folders saying something like:

"Do not forget to give Modify right on this folder to the AppPool (e.g. IIS APPPOOL\SomeAppPoolName) used for MonoX"

2016-06-03 19:04:22,049 [87] ERROR MonoX [150.140.28.38] - Error
</br>System.UnauthorizedAccessException: Access to the path 'C:\inetpub\wwwroot\trafilm\Upload\user\Anonymous' is denied.
</br>   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
</br>   at System.IO.Directory.InternalCreateDirectory(String fullPath, String path, Object dirSecurityObj, Boolean checkHost)
</br>   at System.IO.Directory.InternalCreateDirectoryHelper(String path, Boolean checkHost)
</br>   at MonoSoftware.MonoX.FileSystem.MonoXFileSystemContentProvider.GetDefaultUserUploadPath()
</br>   at MonoSoftware.MonoX.FileSystem.MonoXFileSystemContentProvider.ParseUploadFolder(String defaultPath, String customPath, Guid entityId)
</br>   at MonoSoftware.MonoX.ModuleGallery.SocialNetworking.GroupEdit.#Gy()
</br>   at MonoSoftware.MonoX.ModuleGallery.SocialNetworking.GroupEdit.OnInit(EventArgs e)
</br>   at System.Web.UI.Control.InitRecursive(Control namingContainer)
</br>   at System.Web.UI.Control.InitRecursive(Control namingContainer)
</br>   at System.Web.UI.Control.InitRecursive(Control namingContainer)
</br>   at System.Web.UI.Control.AddedControl(Control control, Int32 index)
</br>   at System.Web.UI.WebControls.WebParts.WebPartManager.WebPartManagerControlCollection.AddWebPartHelper(WebPart webPart)
</br>   at System.Web.UI.WebControls.WebParts.WebPartManager.WebPartManagerControlCollection.AddWebPartsFromZone(WebPartZoneBase zone, WebPartCollection webParts)
</br>   at System.Web.UI.WebControls.WebParts.WebZone.OnInit(EventArgs e)
</br>   at MonoSoftware.MonoX.TemplatedWebPartZone.OnInit(EventArgs e)
</br>   at MonoSoftware.MonoX.PortalWebPartZone.OnInit(EventArgs e)
</br>   at System.Web.UI.Control.InitRecursive(Control namingContainer)
</br>   at System.Web.UI.Control.InitRecursive(Control namingContainer)
</br>   at System.Web.UI.Control.InitRecursive(Control namingContainer)
</br>   at System.Web.UI.Control.InitRecursive(Control namingContainer)
</br>   at System.Web.UI.Control.InitRecursive(Control namingContainer)
</br>   at System.Web.UI.Control.InitRecursive(Control namingContainer)
</br>   at System.Web.UI.Control.InitRecursive(Control namingContainer)
</br>   at System.Web.UI.Control.InitRecursive(Control namingContainer)
</br>   at System.Web.UI.Control.InitRecursive(Control namingContainer)
</br>   at System.Web.UI.Control.InitRecursive(Control namingContainer)
</br>   at System.Web.UI.Control.InitRecursive(Control namingContainer)
</br>   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

</br>2016-06-03 19:04:22,065 [87] ERROR MonoX [BaseHttpApplication] - Application Error
</br>System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.UnauthorizedAccessException: Access to the path 'C:\inetpub\wwwroot\trafilm\Upload\user\Anonymous' is denied.
</br>   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
</br>   at System.IO.Directory.InternalCreateDirectory(String fullPath, String path, Object dirSecurityObj, Boolean checkHost)
</br>   at System.IO.Directory.InternalCreateDirectoryHelper(String path, Boolean checkHost)
</br>   at MonoSoftware.MonoX.FileSystem.MonoXFileSystemContentProvider.GetDefaultUserUploadPath()
</br>   at MonoSoftware.MonoX.FileSystem.MonoXFileSystemContentProvider.ParseUploadFolder(String defaultPath, String customPath, Guid entityId)
</br>   at MonoSoftware.MonoX.ModuleGallery.SocialNetworking.GroupEdit.#Gy()
</br>   at MonoSoftware.MonoX.ModuleGallery.SocialNetworking.GroupEdit.OnInit(EventArgs e)
</br>   at System.Web.UI.Control.InitRecursive(Control namingContainer)
</br>   at System.Web.UI.Control.InitRecursive(Control namingContainer)
</br>   at System.Web.UI.Control.InitRecursive(Control namingContainer)
</br>   at System.Web.UI.Control.AddedControl(Control control, Int32 index)
</br>   at System.Web.UI.WebControls.WebParts.WebPartManager.WebPartManagerControlCollection.AddWebPartHelper(WebPart webPart)
</br>   at System.Web.UI.WebControls.WebParts.WebPartManager.WebPartManagerControlCollection.AddWebPartsFromZone(WebPartZoneBase zone, WebPartCollection webParts)
</br>   at System.Web.UI.WebControls.WebParts.WebZone.OnInit(EventArgs e)
</br>   at MonoSoftware.MonoX.TemplatedWebPartZone.OnInit(EventArgs e)
</br>   at MonoSoftware.MonoX.PortalWebPartZone.OnInit(EventArgs e)
</br>   at System.Web.UI.Control.InitRecursive(Control namingContainer)
</br>   at System.Web.UI.Control.InitRecursive(Control namingContainer)
</br>   at System.Web.UI.Control.InitRecursive(Control namingContainer)
</br>   at System.Web.UI.Control.InitRecursive(Control namingContainer)
</br>   at System.Web.UI.Control.InitRecursive(Control namingContainer)
</br>   at System.Web.UI.Control.InitRecursive(Control namingContainer)
</br>   at System.Web.UI.Control.InitRecursive(Control namingContainer)
</br>   at System.Web.UI.Control.InitRecursive(Control namingContainer)
</br>   at System.Web.UI.Control.InitRecursive(Control namingContainer)
</br>   at System.Web.UI.Control.InitRecursive(Control namingContainer)
</br>   at System.Web.UI.Control.InitRecursive(Control namingContainer)
</br>   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
</br>   at System.Web.UI.Page.HandleError(Exception e)
</br>   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
</br>   at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
</br>   at System.Web.UI.Page.ProcessRequest()
</br>   at System.Web.UI.Page.ProcessRequest(HttpContext context)
</br>   at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
</br>   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
</br>

1
6/3/2016 4:23:20 PM
2793 Reputation 345 Total posts

btw, once you post an item here, you can't edit it again to add/change the keywords?

2
6/6/2016 3:28:59 PM
144 Reputation 22 Total posts

Hi Zoomicon,

You can check which folder permissions you need to set here in section "Unzip MonoX package and grant folder permissions".
Please let us know if that resolved your issue.

Best regards,
Slaven

3
This is a demo site for MonoX. Please visit Mono Software for more info.