locked
Custom website troubles RRS feed

  • Question

  • I'm trying to create a rather simple website that displays links to all media items found in a local directory. I developed it with Visual Studio 2008 on my WHS machine. I've created a virtual directory for it in IIS, as far as I can tell, everything should be a go, but when I load the default page, I get an IO exception because it can't find my media folder that I created locally to the project. Upon debugging, I discovered that local execution path is looking for the directory in C:\Windows\system32\inetsrv\. I'm wondering if this has something to do with Windows Home Server, because I tried running my project on my work computer (Windows Server 2003) and it executed with the expected results, the local execution path was my IIS virtual directory, the program found the media folder and displayed everything normally.
    Sunday, April 5, 2009 3:59 PM

Answers

  • I'm trying to create a rather simple website that displays links to all media items found in a local directory. I developed it with Visual Studio 2008 on my WHS machine. I've created a virtual directory for it in IIS, as far as I can tell, everything should be a go, but when I load the default page, I get an IO exception because it can't find my media folder that I created locally to the project. Upon debugging, I discovered that local execution path is looking for the directory in C:\Windows\system32\inetsrv\. I'm wondering if this has something to do with Windows Home Server, because I tried running my project on my work computer (Windows Server 2003) and it executed with the expected results, the local execution path was my IIS virtual directory, the program found the media folder and displayed everything normally.

    Creating your own website on WHS is unsupported and, depending on what you're doing, could be a violation of the EULA.  As for why it doesn't work, it could be because WHS already has its own built-in website.
    Sunday, April 5, 2009 5:48 PM
    Moderator