Last post Mar 07, 2008 05:16 PM by elbowsOnTable
Mar 07, 2008 01:02 PM|elbowsOnTable|LINK
I'm having issues with running my website under IIS 5.1 (Windows XP Pro). I've
been trouble shooting this thing for hours with no luck. I really think this
might be a permissions issue, but I'm out of things to test...
My site works perfectly using Visual Studio's Cassini server, but it fails to
load in IIS; IE7 displays a blank page and Firefox displays a XML parsing error.
I have my 3-tiered site set up like so:
and the default page here:
In IIS, I have the default web site folder (local path) set to C:\Web Code and I
have all permissions checked in the home directory tab. I'm using the url
http://localhost/WEB/Default.aspx in my browser when I try to hit the site. I'm
also using ASP.NET version 2.0.50727.
That being the case, I still can't get the page to load. I thought this might be
a permissions problem, so I created a completely new Hellow World site in
C:\Temp. I set the default web site folder (local path) in IIS to C:\Temp and I
was able to access it using http://localhost/default.aspx. This test site worked
fine in IIS. Confused, I changed the permissions in my C:\Web Code\ folder to
match those in the test site. I'm still getting the error.
I can't think of anything else I'm doing wrong. Perhaps I've missed something.
Mar 07, 2008 01:13 PM|dtrent|LINK
so, if the virtual directory is set to c:\Web Code
you'll need to browse to: http://localhost/Web Code/WEB/default.aspx
Mar 07, 2008 03:50 PMemail@example.com|LINK
Is WEB set as an application in IIS? IIS help is at
www.iis.net. Same login as here.
Mar 07, 2008 05:16 PM|elbowsOnTable|LINK
I'm not sure if this fixed it, but in IIS manager under the Web Sites folder, I
had no permissions and I was missing Default.aspx in the documents tab. When I
restared IIS, my site was up and running. Thank for the hints - I'll keep my IIS
posts in the right site from now on!