Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

This is our setup:

  • Windows 2008 Hyper-V
  • One Windows 2008 Enterprise VM with IIS

We have a NAS which stores all the websites.

When trying to run the applications directly from the NAS we encountered security problems because of dlls which can't run directly from the the NAS.

What setup do you recommend if we want to centralize our data on the NAS but also run the websites from that location.

txn ;-)

share|improve this question
What sort of NAS? what protocol (CIFS/SMB?) – Chopper3 Jul 16 '09 at 9:30
it really is a rather cheap conceptronic NAS which uses the SMB protocol, i think... – Sander Versluys Jul 16 '09 at 22:09
up vote 1 down vote accepted

The root of your problem is most likely that the default Code Access Security (CAS) settings for .NET consider your NAS to be an untrusted source and won't run code from untrusted sources. There are ways to modify the CAS policy to fix your problem. But honestly, the better solution is to switch to something like iSCSI or a fibre channel SAN.

Here are plenty of links describing the problem in more detail.

share|improve this answer
that is idd the problem, i think, i've added the NAS as trusted source, but still get strange errors... – Sander Versluys Jul 16 '09 at 22:03
Are you sure? The place this needs to go is not the Trusted Sites list in the Internet Options control panel. It's specifically for the .NET runtime. – Ryan Bolger Jul 17 '09 at 15:16

You say there are "dlls which can't run directly from the the NAS" but this seems a little odd. What is the problem with those dlls?

By the sound of it you have a reasonably big system there. If so I would stop attempting to use a NAS and use an iSCSI box instead. iSCSI servers aren't that expensive these days. It seems to me that this is one of those "Doctor sysadmin, it hurts when I use a NAS" moments.


share|improve this answer
it is a good suggestion idd, but you probably know how it goes, i have to sell it to the bosses... but if that's the only good solution, they have to take offcours, that's why i asked this question, maybe there are others ways, txn ;-) – Sander Versluys Jul 16 '09 at 22:04

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.