Problems with Server.Mappath and Request.QueryString

G

Guest

I just started a new web project and I cannot refernce the http Reques
object (Response works fine i.e. Response.Cookies). I have done this in other projects on this system, but fo
some reason when I create a new project .Net does not refernce thi
properly. I also get the same problem trying to reference the Serve
object i.e. Server.Mappath

when I typ

Request

The intellisense does not work

Server

The intellisense does not work

If I try to compile I get
Invalid token '(' in class, struct, or interface member declaration

Here are the namespaces
using System
using System.Collections
using System.ComponentModel
using System.Data
using System.Drawing
using System.Web
using System.Web.SessionState
using System.Web.UI
using System.Web.UI.WebControls
using System.Web.UI.HtmlControls


Any ideas? I have a tight deadline and this really going to mess i
up

Thx.
 

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

Top