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.

Getting Security Exception while creating new Page in Monox  (Mono Support )

19774 put(a) pogledan, 8 odgovor(a) 23.4.2015. 10:52:05Kreirao(la) abhi00729
abhi00729

abhi00729

23.4.2015. 10:52:16

Hi,

I am getting Security exception while creating a new page through monox UI admin login.

attached are the screen shots and details.

Please help,

regards.

Ovaj sadržaj još nije ocijenjen. 
127 Reputacija 21 Ukupno objava
abhi00729

abhi00729

24.4.2015. 3:34:00

Hi,

This is urgent.

Requesting your support ASAP.

Regards

Ovaj sadržaj još nije ocijenjen. 
127 Reputacija 21 Ukupno objava
dbogdan

dbogdan

24.4.2015. 9:00:43
Hi abhi00729,

In order to resolve your issue you'll have to add write permissions (of the application pool) to the folder in which you are trying to create a page.

Please try following steps:
1. Go to the desired folder. Folder in which you want to create page(s).
2. RightClick -> Properties -> Security(tab)
3. Click "Edit" -> Click "Add"
4. In the TextArea type "IIS APPPOOL\{YourMonoXApplicationPoolName}" (without quotation marks)
5. Click "Locations..."-> Select {Your PC Name} -> OK
6. Click "Check Names" -> OK
7. In the permissions grid click "Allow" checkbox on the Write permission
8. Apply.

It should  resolve your problem. Please let us know if you have some other issues related to the problem.

Regards,
Darjan Bogdan

Ovaj sadržaj još nije ocijenjen. 
231 Reputacija 38 Ukupno objava
abhi00729

abhi00729

24.4.2015. 13:02:57

Hi dbogdan,

Tried the above solution but result is still the same.

Also tried giving full permission to IIS_IUSRS, but no success with this also.

what else I can try?

Regards.

Ovaj sadržaj još nije ocijenjen. 
127 Reputacija 21 Ukupno objava
dbogdan

dbogdan

24.4.2015. 14:16:46
Hi abhi00729,

Do you host your application locally, or somewhere else? If you set write permissions appropriatelly (as described in previous post), it should work. However, please take into account that your issues may be caused by your hosting service. In other words, maybe you don't have priviliges to set write permissions on that particular folder. Also, please avoid setting up write permission on root application folder (i.e. "Portal").

Regards.
Ovaj sadržaj još nije ocijenjen. 
231 Reputacija 38 Ukupno objava
abhi00729

abhi00729

1.5.2015. 10:43:59

Hi dbogdan,

We have hosted this application locally and I religiously followed the steps written in the previous post.

Moreover I have administrator access on the machine on which I deployed this application.

The problem is still the same.

Please help.

Regards.

Ovaj sadržaj još nije ocijenjen. 
127 Reputacija 21 Ukupno objava
abhi00729

abhi00729

2.5.2015. 11:08:36

Hi

We are about go live and only stuck due to this problem.

Please support as we don't want miss our timeline.

Regards.

Ovaj sadržaj još nije ocijenjen. 
127 Reputacija 21 Ukupno objava
mzilic

mzilic

4.5.2015. 16:34:41
Hi,

Please try setting IIS APPPOOL\<app pool name> full permission for the folder.  Judging by your screenshot can you debug in the code and determine if the line above ContentSharingEngine is the one throwing the exception?

Regards
Ovaj sadržaj još nije ocijenjen. 
2218 Reputacija 300 Ukupno objava