How do I grant NETWORK SERVICE read permissions

I’m currently learning ASP.NET and I’m running into difficulties integrating SQL Server into ASP.NET. I’m trying to grant NETWORK SERVICE read permission as follows:

4.NETWORK SERVICE must be granted Read permission to the top-level Visual Studio folder located in your user’s Documents folder. The Visual Studio folder will have different names depending on the version: “Visual Studio 2005”, “Visual Studio 2008”, or “Visual Studio 2010”.

5.NETWORK SERVICE must be granted both read and write permissions to your project’s top-level project folder. For example if your WAP project is called “MyCustomWebProject”, then the folder “DocumentsVisual Studio 20xxProjectsMyCustomWebProject” needs to have read and write access enabled for NETWORK SERVICE. Or, if your webiste project is called “MyCustomWebProject”, then the folder “DocumentsVisual Studio 20xxWebsitesMyCustomWebProject” needs to have read and write access enabled for NETWORK SERVICE.

6.NETWORK SERVICE must be granted both read and write permissions to the App_Data folder located within your web project’s directory structure.

I’ve located the folders and accessed their properties but under security I do not have an entry for NETWORK SERVICE, how do I grant NETWORK SERVICE read and write permissions?

Answers:

Thank you for visiting the Q&A section on Magenaut. Please note that all the answers may not help you solve the issue immediately. So please treat them as advisements. If you found the post helpful (or not), leave a comment & I’ll get back to you as soon as possible.

Method 1

If you have Admin access right click on the project folder –> Properties –> Security –> Edit –> Add –> Network Service as Name and give the permission.

Or if you are opening VS with admin access you probably may not need the access


All methods was sourced from stackoverflow.com or stackexchange.com, is licensed under cc by-sa 2.5, cc by-sa 3.0 and cc by-sa 4.0

0 0 votes
Article Rating
Subscribe
Notify of
guest

0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x