F
Frankie
I'm writing a small C# utility application that creates new Web Sites via
ADSI. It seems to work just fine for the most part -- meaning that IIS
Metabase entries look either identical or "different where expected" - when
comparing Web Sites created with my utility against Web Sites created
"manually" with IIS Manager. I'm comparing the sites visually (eye balling
it) with Metabase Explorer.
The problem I have with Web Sites created with my utility is that they can
serve up index.htm just fine, but not even the simplest version of
default.aspx.
The error message I get when attempting to view the page in IE6 is "The Page
cannot be displayed" and "Cannot find server or DNS Error". I have
eliminated DNS as the problem because I can PING the Web site by its domain
name (over the Internet) - and it serves up index.htm just fine.
The Default.aspx page has only <%@ Page %> at the top followed by the
usual/minimal HTML elements to define a page. When viewing the Web site
through IIS Manager - the Documents tab does in fact have a check in the
checkbox for "enable default content page" and default.aspx is listed there
as the only document (unless I swap that out for index.htm for testing
purposes).
Any suggestions for helping me determine what is causing the site to not
serve up aspx pages are greatly appreciated.
FWIW: IIS 6.0, I have stopped and restarted the Web site via IIS Manager,
and I have also recycled the application pool to which it belongs.
Thanks!
ADSI. It seems to work just fine for the most part -- meaning that IIS
Metabase entries look either identical or "different where expected" - when
comparing Web Sites created with my utility against Web Sites created
"manually" with IIS Manager. I'm comparing the sites visually (eye balling
it) with Metabase Explorer.
The problem I have with Web Sites created with my utility is that they can
serve up index.htm just fine, but not even the simplest version of
default.aspx.
The error message I get when attempting to view the page in IE6 is "The Page
cannot be displayed" and "Cannot find server or DNS Error". I have
eliminated DNS as the problem because I can PING the Web site by its domain
name (over the Internet) - and it serves up index.htm just fine.
The Default.aspx page has only <%@ Page %> at the top followed by the
usual/minimal HTML elements to define a page. When viewing the Web site
through IIS Manager - the Documents tab does in fact have a check in the
checkbox for "enable default content page" and default.aspx is listed there
as the only document (unless I swap that out for index.htm for testing
purposes).
Any suggestions for helping me determine what is causing the site to not
serve up aspx pages are greatly appreciated.
FWIW: IIS 6.0, I have stopped and restarted the Web site via IIS Manager,
and I have also recycled the application pool to which it belongs.
Thanks!