WCF and the Mystery 404

We're working on our first Windows Communication Foundation (WCF) project hosted in IIS6.  Upon deployment we ran into a wall when requesting a .svc file - 404.  After hours of chatting with Microsoft on the phone and consulting with Filemon it ended up being a simple issue - the app pool identity was running as Network Services and not a domain account.  This was problematic because our files live on a network share, and although we connected to it with a domain account, the app pool account did the executing.

Hmmm... "executing."  Interesting it gave a 404 and not some access denied message right?  The MS support rep said there are basically two tokens used; one for connecting and one for executing which seems to indicate retrieving of the file as well.

Another lesson learned.


Bookmark and Share

Related posts

Comments

November 17. 2008 08:04 PM

akeru

I had another problem with same symptoms
described how to fix it there :
sourcefield.blogspot.com/.../...ice-on-iis-by.html

akeru

Comments are closed