J
jd
I am trying to figure out how to deploy a page and I'm not making much
progress. I created an IIS virtual directory, configured it for
ASP.NET 2, turned off authentication, and then copied a trivial page
(see below) to the virtual directory.
I get an error "Object reference not set to an instance of an object"
trying to reference Request.Params. If I run under the Visual Studio
2005 built-in Web server, this works without a problem. What am I
going wrong??
<%@ Page Language="C#" %>
<script runat="server">
protected void Page_Load(object sender, EventArgs e)
{
object o = Request.Params;
}
</script>
Hello
progress. I created an IIS virtual directory, configured it for
ASP.NET 2, turned off authentication, and then copied a trivial page
(see below) to the virtual directory.
I get an error "Object reference not set to an instance of an object"
trying to reference Request.Params. If I run under the Visual Studio
2005 built-in Web server, this works without a problem. What am I
going wrong??
<%@ Page Language="C#" %>
<script runat="server">
protected void Page_Load(object sender, EventArgs e)
{
object o = Request.Params;
}
</script>
Hello