I'm assuming that you are assigning Everyone Full Control to the whole network share, and not just a particular folder inside the share.
You probably already know this, but Windows manages two permissions for sharing - file security and sharing settings. Both will have to be setup in order to access a network share.
If you right-click a shared folder, you'll need to set up permission in both the Sharing and Security tabs.
I suspect the problem is actually related to using the NETWORK SERVICE account and not your sharing permissions. The service level accounts (SYSTEM and NETWORK SERVICE) are local to the machine you're on, which has some consequences. For instance, consider how your permissions are setup using fully-qualified names:
On your application server, the account running your ASP.NET application is "5lovak's Server\NETWORK SERVICE".
On the network share, which is on another machine, the local account is actually "5lovak's Network Share Server\NETWORK SERVICE".
Despite having the same account name, they are different accounts, so you won't be able to access the share that way.
I think the appropriate way to set this up is to create a new Windows user account and use it exclusively for this purpose. Windows has traditionally had a "cheap" way of faking a domain-like user: just create a local user on both machines and ensure they both have the same password. I'm not sure why this doesn't apply for NETWORK SERVICE and SYSTEM, but I suspect there are good reasons.
So, try this:
- On your IIS machine, create a user called IUSR_SHARE (or whatever). Set a password!
- On your network share machine, create a user called IUSR_SHARE and set the same password.
- In IIS Manager, select the application pool that your web app is using (create a new one if you are using the default ones). Click on Advanced Settings in the right Actions bar. Under Process Model, change the user to IUSR_SHARE.
I don't have a setup here where I can easily test this, but I suspect it'll work.
WebMatrix is a development tool and uses IIS Express not IIS. IIS Express is a smaller version of IIS for use during development of an application and not to be used to host the final usable site. It is by default locked down to only allow the local user of the machine to access the site.
To correctly publish your site to IIS to be accessible by others, you need to configure normal IIS on the machine and publish your site from WebMatrix.
Information on configuring your site can be found at Microsoft Support:
How to set up your first IIS Web site
To publish from WebMatrix the following should help:
Publish your Website
I would also suggest you read the following in detail with regards to WebMatrix:
WebMatrix 2
Among other things the following is important (bold by me)
WebMatrix is a free and lightweight web development tool.
Create, publish, and maintain your website with ease.
Best Answer
The first thing I would check is your firewall settings. If it works with the firewall disabled, then re-enable the firewall and open port 80 (for HTTP) for incoming connections. You may have to open other ports for other services like FTP.