problems doing trivial deploy to IIS

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,768
Messages
2,569,575
Members
45,051
Latest member
CarleyMcCr

Latest Threads

Top