MonoX support board

Start the conversation, ask questions and share tips and solutions with fellow developers.

Non-registered users can only browse through our support boards. Please register now if you want to post your questions. It takes a second and it is completely free. Alternatively, you can log in without registration using your credentials at major sites such as Google, Microsoft Live, OpenId, Facebook, LinkedIn or Yahoo.

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

Viewed 10183 time(s), 3 post(s) 6/3/2016 4:22:38 PMby Zoomicon
Zoomicon

Zoomicon

6/3/2016 4:35:38 PM

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>

This content has not been rated yet. 
2793 Reputation 345 Total posts
Zoomicon

Zoomicon

6/3/2016 4:23:20 PM
btw, once you post an item here, you can't edit it again to add/change the keywords?
This content has not been rated yet. 
2793 Reputation 345 Total posts
slaven

slaven

6/6/2016 3:28:59 PM
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
This content has not been rated yet. 
144 Reputation 22 Total posts