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 )

Viewed 27904 time(s), 4 post(s) 4/5/2011 12:49:51 PMby klospros
klospros

klospros

4/5/2011 12:49:51 PM
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

This content has not been rated yet. 
5 Reputation 2 Total posts
denis

denis

4/5/2011 1:14:45 PM
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.
This content has not been rated yet. 
7207 Reputation 956 Total posts
peterg

peterg

4/5/2011 1:18:54 PM
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
This content has not been rated yet. 
246 Reputation 35 Total posts
klospros

klospros

4/5/2011 8:29:48 PM
Hi,

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

Cheers

Chris
This content has not been rated yet. 
5 Reputation 2 Total posts