ASP.Net development on IIS7
-
I've been using Vista Ultimate on my home desktop for a while, but not for development. Recently, I got a new laptop for work, and decided to make the jump onto Vista there as well. This has been a new experience using Vista as a development platform, and I'm running into difficulties with IIS7. On my laptop, I created a basic .Net 2.0 web application. The application is running in the "ASP.NET V2.0" app pool, which uses the NetworkService identity.
- If I use "Pass-through authentication" on my site, Authorization to the physical path fails, even though NetworkService has Read permissions to the physical path. How can I get Authorization to succeed?
- If I use "Specific user", and provide my credentials, Authorization succeeds. However, when I browse the application, it appears the default page is rendered as a static file, not executing any of my codebehind.
- In the "Handler Mappings", I see no mappings for ".aspx". Shouldn't I?
- I ran
aspnet_regiis -i
, this did not create the script mappings I expected it to.
Frustratingly, on my desktop, I do see script mappings for ".aspx", etc. However, I have the same problem as on the laptop with not being able to run as Network Service. If I do run as a specific user, I am able run my test site. But this doesn't help me as I would like to develop/debug/run as Network Service on my laptop. Any help and/or references are greatly appreciated. (Also, been looking for a good SMTP server to run on this laptop, as I found IIS7 does not include an SMTP server!) Cheers, Carl