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.

Permissions errors  (Mono Support )

28823 put(a) pogledan, 4 odgovor(a) 5.4.2011. 12:49:51Kreirao(la) klospros
klospros

klospros

5.4.2011. 12:49:51
Hi,
I have installed Monox on Windows Server 2008 R2, at first I was getting 500.19 error and after searching through the forums I realised it was running under .NET v2.
I created a new .NET v4 App pool and moved the app pool, this resolved the 500 error but now on the setup screen I am getting the following errors;

The
'IIS APPPOOL\mono' account is not granted 'Write' permission on the
'D:\inetpub\cmshostingservices.co.uk\htdocs\Mono\MonoX\ApplicationData\Logs'.
Although it is not an error, it's highly recommended that you configure these
permissions.

I get this error on 5 folders and also the web.config file.

I have changed the App pool Identity to NetworkService, restarted IIS and recycled the App pool but am unable to get the correct permissions

Can you please advise where/how I can set the correct permissions?

Regards

Chris

Ovaj sadržaj još nije ocijenjen. 
5 Reputacija 2 Ukupno objava
denis

denis

5.4.2011. 13:14:45
Hi,
You need to give the write permissions to the Network Service Windows account at least for the ApplicationData folder, all of its subfolders and any other folder you may plan to write into. The easiest way to do this is to use Windows Explorer - right click on the folder, choose Properties - Security - Edit, add the Network Service account and choose its privileges.
Ovaj sadržaj još nije ocijenjen. 
7207 Reputacija 956 Ukupno objava
peterg

peterg

5.4.2011. 13:18:54
Hi,

you are half way, rightclick on the website folder then click security --- EDIT ---- ADD - Advanced., click on search...then go look for NETWORK SERVICE add that as a user with read and write permissions to the folder and sub folders. I actually think you only need to give write permissions to certain folders, check the install guide for witch folders those are if you dont want your whole network service read and write permissions to the folder.


Peter
Ovaj sadržaj još nije ocijenjen. 
246 Reputacija 35 Ukupno objava
klospros

klospros

5.4.2011. 20:29:48
Hi,

Thank you both for the help, I added the network service with the correct permissions and all up and running now:)

Cheers

Chris
Ovaj sadržaj još nije ocijenjen. 
5 Reputacija 2 Ukupno objava