New at this nothing works

  • Thread starter Thread starter ampeloso
  • Start date Start date
A

ampeloso

Hello,
I have a simple app which I am testing.
Contains:
Default.aspx:This has a label...thats it.

Default.aspx.cs:This has: protected void Page_Load(object sender,
EventArgs e)
{
Label1.Text = "testing";
}
and a web. config that I have <customErrors mode="Off"/>

These are loaded into a directory on my host called "Testing". Thats
it.

A. The page comes back with an error.Server Error in '/'
Application.....
B. But not a detailed error like i would expect from <customErrors
mode="Off"/>.

The page is simple enough, so what am I doing wrong?

Thanks
Mike
 
goto.

1) IIS
2) right click your web site
3) select Properties
4) on the directory tab you'll see Application Name and create/remove
button.
if it says create click it. then run your web app.

if your running .NET 1.1 and .NET 2.0 on the same box, make sure your web
app is configured for the correct .net version.
go to the properties of your web app, asp.net tab and check the asp.net
version
 
Back
Top