473,769 Members | 1,640 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ASP.NET not processing CSharp code

Hello,
I'm having a problem with ASP.NET using IIS 5.1 on a Windows XP Pro machine.
ASP.NET will not process the following code:
*************** *************** *
<html>
<head>
</head>
<body>
<form method= "post" runat="server">
<asp:Label id=lblHelloWorl d text="HelloWorl d" runat=Server />
<br>
<asp:Button onclick=Clicked It text="Submit" runat=server />
</form>
</body>
<script Language=C# runat=Server>
void ClickedIt (Object sender, System.EventArg s e)
{
lblHelloWorld.T ext = ".NET Rules!";
}
</Script>
</html>
*************** ***************
This code is in a page called HelloWorld.aspx , and the expressed address bar
syntax of the IE 6.0 browser is localhost/HelloWorld.aspx . The file is
located at C:\InetPub\wwro ot, which is configured as the the local path in
the properties of the default web site. When I attempt to render this page
in the browser, the page comes up blank. After attempting to render the
page, View\Source shows the code exactly as it appears above.

I experienced a similar problem with IIS 5.1 on a Windows 2000 Pro box. The
difference was that when I tried to render the page in the same type and
version of browser, I got the following message:

"Server Application Unavailable

The web application you are attempting to access on this web server is
currently unavailable. Please hit the "Refresh" button in your web browser
to retry your request.

Administrator Note: An error message detailing the cause of this specific
request failure can be found in the application event log of the web server.
Please review this log entry to discover what caused this error to occur."

The application log did not show any events. On the 2000 box, I went to the
properties of the default web site, on the Home Directory tab, and saw that
there was no 'Application Name'. I clicked the 'Create' button and created
'Default Application'. After I did this, the page worked fine, and
View/Source showed the following code:
*************** *************** *****
<html>
<head>
</head>
<body>
<form name="_ctl0" method="post" action="hellowo rld.aspx" id="_ctl0">
<input type="hidden" name="__VIEWSTA TE"
value="dDwtOTUx OTE4ODcwOzs++2Z Lq58Ul7wMXQDdnn hWV0I67IQ=" />

<span id="lblHelloWor ld">HelloWorl d</span>
<br>
<input type="submit" name="_ctl1" value="Submit" />
</form>
</body>

</html>
*************** *************** *****
I tried to do the same thing with the 'Application Name' on the XP box, but
the page would still not render anything at all. On both machines, the
domain users have local admin rights.

Why would ASP.NET on the XP box not render the code?

Thanks for your help!

CSDunn
Nov 18 '05 #1
10 1338
Is ASP.Net installed on the web server for the XP box? Check the ISAPI
mappings.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

"CSDunn" <cd***@valverde .edu> wrote in message
news:#T******** ******@TK2MSFTN GP11.phx.gbl...
Hello,
I'm having a problem with ASP.NET using IIS 5.1 on a Windows XP Pro machine. ASP.NET will not process the following code:
*************** *************** *
<html>
<head>
</head>
<body>
<form method= "post" runat="server">
<asp:Label id=lblHelloWorl d text="HelloWorl d" runat=Server />
<br>
<asp:Button onclick=Clicked It text="Submit" runat=server />
</form>
</body>
<script Language=C# runat=Server>
void ClickedIt (Object sender, System.EventArg s e)
{
lblHelloWorld.T ext = ".NET Rules!";
}
</Script>
</html>
*************** ***************
This code is in a page called HelloWorld.aspx , and the expressed address bar syntax of the IE 6.0 browser is localhost/HelloWorld.aspx . The file is
located at C:\InetPub\wwro ot, which is configured as the the local path in
the properties of the default web site. When I attempt to render this page
in the browser, the page comes up blank. After attempting to render the
page, View\Source shows the code exactly as it appears above.

I experienced a similar problem with IIS 5.1 on a Windows 2000 Pro box. The difference was that when I tried to render the page in the same type and
version of browser, I got the following message:

"Server Application Unavailable

The web application you are attempting to access on this web server is
currently unavailable. Please hit the "Refresh" button in your web browser to retry your request.

Administrator Note: An error message detailing the cause of this specific
request failure can be found in the application event log of the web server. Please review this log entry to discover what caused this error to occur."

The application log did not show any events. On the 2000 box, I went to the properties of the default web site, on the Home Directory tab, and saw that there was no 'Application Name'. I clicked the 'Create' button and created
'Default Application'. After I did this, the page worked fine, and
View/Source showed the following code:
*************** *************** *****
<html>
<head>
</head>
<body>
<form name="_ctl0" method="post" action="hellowo rld.aspx" id="_ctl0">
<input type="hidden" name="__VIEWSTA TE"
value="dDwtOTUx OTE4ODcwOzs++2Z Lq58Ul7wMXQDdnn hWV0I67IQ=" />

<span id="lblHelloWor ld">HelloWorl d</span>
<br>
<input type="submit" name="_ctl1" value="Submit" />
</form>
</body>

</html>
*************** *************** *****
I tried to do the same thing with the 'Application Name' on the XP box, but the page would still not render anything at all. On both machines, the
domain users have local admin rights.

Why would ASP.NET on the XP box not render the code?

Thanks for your help!

CSDunn

Nov 18 '05 #2
The XP box has the .NET Framework 1.1 and the Visual J# redistributable
package 1.1 (which came with Visual Studio 2003) installed. I noticed when I
went to the ASP.NET site that the download for this was contained within the
..NET Framework 1.1 Redistributable Package.

Is there a difference between .NET Framework 1.1 and .NET Framework 1.1
Redistributable Package? Would it have anything to do with this problem?

I will also check the ISAPI mappings.

CSDunn
"Kevin Spencer" <ke***@takempis .com> wrote in message
news:OD******** ******@TK2MSFTN GP10.phx.gbl...
Is ASP.Net installed on the web server for the XP box? Check the ISAPI
mappings.

--
HTH,
Kevin Spencer
.Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

"CSDunn" <cd***@valverde .edu> wrote in message
news:#T******** ******@TK2MSFTN GP11.phx.gbl...
Hello,
I'm having a problem with ASP.NET using IIS 5.1 on a Windows XP Pro

machine.
ASP.NET will not process the following code:
*************** *************** *
<html>
<head>
</head>
<body>
<form method= "post" runat="server">
<asp:Label id=lblHelloWorl d text="HelloWorl d" runat=Server />
<br>
<asp:Button onclick=Clicked It text="Submit" runat=server />
</form>
</body>
<script Language=C# runat=Server>
void ClickedIt (Object sender, System.EventArg s e)
{
lblHelloWorld.T ext = ".NET Rules!";
}
</Script>
</html>
*************** ***************
This code is in a page called HelloWorld.aspx , and the expressed address

bar
syntax of the IE 6.0 browser is localhost/HelloWorld.aspx . The file is
located at C:\InetPub\wwro ot, which is configured as the the local path in the properties of the default web site. When I attempt to render this page in the browser, the page comes up blank. After attempting to render the
page, View\Source shows the code exactly as it appears above.

I experienced a similar problem with IIS 5.1 on a Windows 2000 Pro box.

The
difference was that when I tried to render the page in the same type and
version of browser, I got the following message:

"Server Application Unavailable

The web application you are attempting to access on this web server is
currently unavailable. Please hit the "Refresh" button in your web

browser
to retry your request.

Administrator Note: An error message detailing the cause of this specific request failure can be found in the application event log of the web

server.
Please review this log entry to discover what caused this error to occur."
The application log did not show any events. On the 2000 box, I went to

the
properties of the default web site, on the Home Directory tab, and saw

that
there was no 'Application Name'. I clicked the 'Create' button and created 'Default Application'. After I did this, the page worked fine, and
View/Source showed the following code:
*************** *************** *****
<html>
<head>
</head>
<body>
<form name="_ctl0" method="post" action="hellowo rld.aspx" id="_ctl0">
<input type="hidden" name="__VIEWSTA TE"
value="dDwtOTUx OTE4ODcwOzs++2Z Lq58Ul7wMXQDdnn hWV0I67IQ=" />

<span id="lblHelloWor ld">HelloWorl d</span>
<br>
<input type="submit" name="_ctl1" value="Submit" />
</form>
</body>

</html>
*************** *************** *****
I tried to do the same thing with the 'Application Name' on the XP box,

but
the page would still not render anything at all. On both machines, the
domain users have local admin rights.

Why would ASP.NET on the XP box not render the code?

Thanks for your help!

CSDunn


Nov 18 '05 #3
Only checking the ISAPI mapping s will tell you whether ASP.Net is installed
on your web server.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

"CSDunn" <cd***@valverde .edu> wrote in message
news:Ot******** ******@TK2MSFTN GP12.phx.gbl...
The XP box has the .NET Framework 1.1 and the Visual J# redistributable
package 1.1 (which came with Visual Studio 2003) installed. I noticed when I went to the ASP.NET site that the download for this was contained within the .NET Framework 1.1 Redistributable Package.

Is there a difference between .NET Framework 1.1 and .NET Framework 1.1
Redistributable Package? Would it have anything to do with this problem?

I will also check the ISAPI mappings.

CSDunn
"Kevin Spencer" <ke***@takempis .com> wrote in message
news:OD******** ******@TK2MSFTN GP10.phx.gbl...
Is ASP.Net installed on the web server for the XP box? Check the ISAPI
mappings.

--
HTH,
Kevin Spencer
.Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

"CSDunn" <cd***@valverde .edu> wrote in message
news:#T******** ******@TK2MSFTN GP11.phx.gbl...
Hello,
I'm having a problem with ASP.NET using IIS 5.1 on a Windows XP Pro machine.
ASP.NET will not process the following code:
*************** *************** *
<html>
<head>
</head>
<body>
<form method= "post" runat="server">
<asp:Label id=lblHelloWorl d text="HelloWorl d" runat=Server />
<br>
<asp:Button onclick=Clicked It text="Submit" runat=server />
</form>
</body>
<script Language=C# runat=Server>
void ClickedIt (Object sender, System.EventArg s e)
{
lblHelloWorld.T ext = ".NET Rules!";
}
</Script>
</html>
*************** ***************
This code is in a page called HelloWorld.aspx , and the expressed address
bar
syntax of the IE 6.0 browser is localhost/HelloWorld.aspx . The file is
located at C:\InetPub\wwro ot, which is configured as the the local
path in the properties of the default web site. When I attempt to render this page in the browser, the page comes up blank. After attempting to render
the page, View\Source shows the code exactly as it appears above.

I experienced a similar problem with IIS 5.1 on a Windows 2000 Pro box.
The
difference was that when I tried to render the page in the same type
and version of browser, I got the following message:

"Server Application Unavailable

The web application you are attempting to access on this web server is
currently unavailable. Please hit the "Refresh" button in your web

browser
to retry your request.

Administrator Note: An error message detailing the cause of this

specific request failure can be found in the application event log of the web

server.
Please review this log entry to discover what caused this error to occur."
The application log did not show any events. On the 2000 box, I went
to the
properties of the default web site, on the Home Directory tab, and saw

that
there was no 'Application Name'. I clicked the 'Create' button and created 'Default Application'. After I did this, the page worked fine, and
View/Source showed the following code:
*************** *************** *****
<html>
<head>
</head>
<body>
<form name="_ctl0" method="post" action="hellowo rld.aspx" id="_ctl0">
<input type="hidden" name="__VIEWSTA TE"
value="dDwtOTUx OTE4ODcwOzs++2Z Lq58Ul7wMXQDdnn hWV0I67IQ=" />

<span id="lblHelloWor ld">HelloWorl d</span>
<br>
<input type="submit" name="_ctl1" value="Submit" />
</form>
</body>

</html>
*************** *************** *****
I tried to do the same thing with the 'Application Name' on the XP

box, but
the page would still not render anything at all. On both machines, the
domain users have local admin rights.

Why would ASP.NET on the XP box not render the code?

Thanks for your help!

CSDunn



Nov 18 '05 #4
CSDunn wrote:
Hello,
I'm having a problem with ASP.NET using IIS 5.1 on a Windows XP Pro machine.
ASP.NET will not process the following code:
*************** *************** *
<html>
<head>
</head>
<body>
<form method= "post" runat="server">
<asp:Label id=lblHelloWorl d text="HelloWorl d" runat=Server />
<br>
<asp:Button onclick=Clicked It text="Submit" runat=server />
</form>
</body>
<script Language=C# runat=Server>
void ClickedIt (Object sender, System.EventArg s e)
{
lblHelloWorld.T ext = ".NET Rules!";
}
</Script>
</html>
*************** ***************
This code is in a page called HelloWorld.aspx , and the expressed address bar
syntax of the IE 6.0 browser is localhost/HelloWorld.aspx . The file is
located at C:\InetPub\wwro ot, which is configured as the the local path in
the properties of the default web site. When I attempt to render this page
in the browser, the page comes up blank. After attempting to render the
page, View\Source shows the code exactly as it appears above.

I experienced a similar problem with IIS 5.1 on a Windows 2000 Pro box. The
difference was that when I tried to render the page in the same type and
version of browser, I got the following message:

"Server Application Unavailable

The web application you are attempting to access on this web server is
currently unavailable. Please hit the "Refresh" button in your web browser
to retry your request.

Administrator Note: An error message detailing the cause of this specific
request failure can be found in the application event log of the web server.
Please review this log entry to discover what caused this error to occur."

The application log did not show any events. On the 2000 box, I went to the
properties of the default web site, on the Home Directory tab, and saw that
there was no 'Application Name'. I clicked the 'Create' button and created
'Default Application'. After I did this, the page worked fine, and
View/Source showed the following code:
*************** *************** *****
<html>
<head>
</head>
<body>
<form name="_ctl0" method="post" action="hellowo rld.aspx" id="_ctl0">
<input type="hidden" name="__VIEWSTA TE"
value="dDwtOTUx OTE4ODcwOzs++2Z Lq58Ul7wMXQDdnn hWV0I67IQ=" />

<span id="lblHelloWor ld">HelloWorl d</span>
<br>
<input type="submit" name="_ctl1" value="Submit" />
</form>
</body>

</html>
*************** *************** *****
I tried to do the same thing with the 'Application Name' on the XP box, but
the page would still not render anything at all. On both machines, the
domain users have local admin rights.

Why would ASP.NET on the XP box not render the code?

Thanks for your help!

CSDunn


Try running:

aspnet_regiis -r

to register ASP.NET with IIS. If you installed IIS after installing
..NET on the machine, ASP.NET will not be setup.

--
mikeb
Nov 18 '05 #5
I checked into that, and found a place where I could change ISAPI filters,
but not 'mappings'. What am I looking for?

Thanks again!

CSDunn

"Kevin Spencer" <ke***@takempis .com> wrote in message
news:OV******** ******@TK2MSFTN GP12.phx.gbl...
Only checking the ISAPI mapping s will tell you whether ASP.Net is installed on your web server.

--
HTH,
Kevin Spencer
.Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

"CSDunn" <cd***@valverde .edu> wrote in message
news:Ot******** ******@TK2MSFTN GP12.phx.gbl...
The XP box has the .NET Framework 1.1 and the Visual J# redistributable
package 1.1 (which came with Visual Studio 2003) installed. I noticed when
I
went to the ASP.NET site that the download for this was contained within

the
.NET Framework 1.1 Redistributable Package.

Is there a difference between .NET Framework 1.1 and .NET Framework 1.1
Redistributable Package? Would it have anything to do with this problem?

I will also check the ISAPI mappings.

CSDunn
"Kevin Spencer" <ke***@takempis .com> wrote in message
news:OD******** ******@TK2MSFTN GP10.phx.gbl...
Is ASP.Net installed on the web server for the XP box? Check the ISAPI
mappings.

--
HTH,
Kevin Spencer
.Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

"CSDunn" <cd***@valverde .edu> wrote in message
news:#T******** ******@TK2MSFTN GP11.phx.gbl...
> Hello,
> I'm having a problem with ASP.NET using IIS 5.1 on a Windows XP Pro
machine.
> ASP.NET will not process the following code:
> *************** *************** *
> <html>
> <head>
> </head>
> <body>
> <form method= "post" runat="server">
> <asp:Label id=lblHelloWorl d text="HelloWorl d" runat=Server />
> <br>
> <asp:Button onclick=Clicked It text="Submit" runat=server />
> </form>
> </body>
> <script Language=C# runat=Server>
> void ClickedIt (Object sender, System.EventArg s e)
> {
> lblHelloWorld.T ext = ".NET Rules!";
> }
> </Script>
> </html>
> *************** ***************
> This code is in a page called HelloWorld.aspx , and the expressed address bar
> syntax of the IE 6.0 browser is localhost/HelloWorld.aspx . The file is > located at C:\InetPub\wwro ot, which is configured as the the local path
in
> the properties of the default web site. When I attempt to render this page
> in the browser, the page comes up blank. After attempting to render

the > page, View\Source shows the code exactly as it appears above.
>
> I experienced a similar problem with IIS 5.1 on a Windows 2000 Pro box. The
> difference was that when I tried to render the page in the same type and > version of browser, I got the following message:
>
> "Server Application Unavailable
>
> The web application you are attempting to access on this web server
is > currently unavailable. Please hit the "Refresh" button in your web
browser
> to retry your request.
>
> Administrator Note: An error message detailing the cause of this

specific
> request failure can be found in the application event log of the web
server.
> Please review this log entry to discover what caused this error to

occur."
>
> The application log did not show any events. On the 2000 box, I went

to the
> properties of the default web site, on the Home Directory tab, and saw that
> there was no 'Application Name'. I clicked the 'Create' button and

created
> 'Default Application'. After I did this, the page worked fine, and
> View/Source showed the following code:
> *************** *************** *****
> <html>
> <head>
> </head>
> <body>
> <form name="_ctl0" method="post" action="hellowo rld.aspx" id="_ctl0"> > <input type="hidden" name="__VIEWSTA TE"
> value="dDwtOTUx OTE4ODcwOzs++2Z Lq58Ul7wMXQDdnn hWV0I67IQ=" />
>
> <span id="lblHelloWor ld">HelloWorl d</span>
> <br>
> <input type="submit" name="_ctl1" value="Submit" />
> </form>
> </body>
>
> </html>
> *************** *************** *****
> I tried to do the same thing with the 'Application Name' on the XP box, but
> the page would still not render anything at all. On both machines, the > domain users have local admin rights.
>
> Why would ASP.NET on the XP box not render the code?
>
> Thanks for your help!
>
> CSDunn
>
>



Nov 18 '05 #6
In IIS Admin snap-in, go to the Properties dialog box for a web site, Home
Directory tab, and click "Configurat ion" - The ISAPI mappings are one of the
tabs in that section.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

"CSDunn" <cd***@valverde .edu> wrote in message
news:ew******** *****@TK2MSFTNG P12.phx.gbl...
I checked into that, and found a place where I could change ISAPI filters,
but not 'mappings'. What am I looking for?

Thanks again!

CSDunn

"Kevin Spencer" <ke***@takempis .com> wrote in message
news:OV******** ******@TK2MSFTN GP12.phx.gbl...
Only checking the ISAPI mapping s will tell you whether ASP.Net is installed
on your web server.

--
HTH,
Kevin Spencer
.Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

"CSDunn" <cd***@valverde .edu> wrote in message
news:Ot******** ******@TK2MSFTN GP12.phx.gbl...
The XP box has the .NET Framework 1.1 and the Visual J# redistributable package 1.1 (which came with Visual Studio 2003) installed. I noticed when
I
went to the ASP.NET site that the download for this was contained within
the
.NET Framework 1.1 Redistributable Package.

Is there a difference between .NET Framework 1.1 and .NET Framework
1.1 Redistributable Package? Would it have anything to do with this problem?
I will also check the ISAPI mappings.

CSDunn
"Kevin Spencer" <ke***@takempis .com> wrote in message
news:OD******** ******@TK2MSFTN GP10.phx.gbl...
> Is ASP.Net installed on the web server for the XP box? Check the ISAPI > mappings.
>
> --
> HTH,
> Kevin Spencer
> .Net Developer
> Microsoft MVP
> Big things are made up
> of lots of little things.
>
> "CSDunn" <cd***@valverde .edu> wrote in message
> news:#T******** ******@TK2MSFTN GP11.phx.gbl...
> > Hello,
> > I'm having a problem with ASP.NET using IIS 5.1 on a Windows XP Pro > machine.
> > ASP.NET will not process the following code:
> > *************** *************** *
> > <html>
> > <head>
> > </head>
> > <body>
> > <form method= "post" runat="server">
> > <asp:Label id=lblHelloWorl d text="HelloWorl d" runat=Server />
> > <br>
> > <asp:Button onclick=Clicked It text="Submit" runat=server />
> > </form>
> > </body>
> > <script Language=C# runat=Server>
> > void ClickedIt (Object sender, System.EventArg s e)
> > {
> > lblHelloWorld.T ext = ".NET Rules!";
> > }
> > </Script>
> > </html>
> > *************** ***************
> > This code is in a page called HelloWorld.aspx , and the expressed

address
> bar
> > syntax of the IE 6.0 browser is localhost/HelloWorld.aspx . The file is > > located at C:\InetPub\wwro ot, which is configured as the the local path
in
> > the properties of the default web site. When I attempt to render this page
> > in the browser, the page comes up blank. After attempting to
render the
> > page, View\Source shows the code exactly as it appears above.
> >
> > I experienced a similar problem with IIS 5.1 on a Windows 2000 Pro

box.
> The
> > difference was that when I tried to render the page in the same
type and
> > version of browser, I got the following message:
> >
> > "Server Application Unavailable
> >
> > The web application you are attempting to access on this web
server is > > currently unavailable. Please hit the "Refresh" button in your
web > browser
> > to retry your request.
> >
> > Administrator Note: An error message detailing the cause of this
specific
> > request failure can be found in the application event log of the web > server.
> > Please review this log entry to discover what caused this error to
occur."
> >
> > The application log did not show any events. On the 2000 box, I

went to
> the
> > properties of the default web site, on the Home Directory tab, and

saw > that
> > there was no 'Application Name'. I clicked the 'Create' button and
created
> > 'Default Application'. After I did this, the page worked fine, and
> > View/Source showed the following code:
> > *************** *************** *****
> > <html>
> > <head>
> > </head>
> > <body>
> > <form name="_ctl0" method="post" action="hellowo rld.aspx" id="_ctl0"> > > <input type="hidden" name="__VIEWSTA TE"
> > value="dDwtOTUx OTE4ODcwOzs++2Z Lq58Ul7wMXQDdnn hWV0I67IQ=" />
> >
> > <span id="lblHelloWor ld">HelloWorl d</span>
> > <br>
> > <input type="submit" name="_ctl1" value="Submit" />
> > </form>
> > </body>
> >
> > </html>
> > *************** *************** *****
> > I tried to do the same thing with the 'Application Name' on the XP

box,
> but
> > the page would still not render anything at all. On both machines, the > > domain users have local admin rights.
> >
> > Why would ASP.NET on the XP box not render the code?
> >
> > Thanks for your help!
> >
> > CSDunn
> >
> >
>
>



Nov 18 '05 #7
I can see that the aspnet_isapi.dl l is included with the application
mappings on the Windows 2000 machine, but is not present on the XP box.

When I installed Visual Studio 2003 on the XP Box, the .NET Framework
version 1.1 was also installed, but I guess ASP.NET was not part of the
install package.

Should I uninstall the .NET Framework 1.1 on the XP box and install the the
..NET Framework 1.1 Redistributable , or should I just install the
Redistributable over what is on the XP box now? Is there some way to install
ASP.NET for XP other than instaling the .NET Framework 1.1 Redistributable ?

Thanks again for your help!

CSDunn

"Kevin Spencer" <ke***@takempis .com> wrote in message
news:uw******** ******@TK2MSFTN GP09.phx.gbl...
In IIS Admin snap-in, go to the Properties dialog box for a web site, Home
Directory tab, and click "Configurat ion" - The ISAPI mappings are one of the tabs in that section.

--
HTH,
Kevin Spencer
.Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

"CSDunn" <cd***@valverde .edu> wrote in message
news:ew******** *****@TK2MSFTNG P12.phx.gbl...
I checked into that, and found a place where I could change ISAPI filters,
but not 'mappings'. What am I looking for?

Thanks again!

CSDunn

"Kevin Spencer" <ke***@takempis .com> wrote in message
news:OV******** ******@TK2MSFTN GP12.phx.gbl...
Only checking the ISAPI mapping s will tell you whether ASP.Net is

installed
on your web server.

--
HTH,
Kevin Spencer
.Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

"CSDunn" <cd***@valverde .edu> wrote in message
news:Ot******** ******@TK2MSFTN GP12.phx.gbl...
> The XP box has the .NET Framework 1.1 and the Visual J# redistributable > package 1.1 (which came with Visual Studio 2003) installed. I noticed when
I
> went to the ASP.NET site that the download for this was contained within the
> .NET Framework 1.1 Redistributable Package.
>
> Is there a difference between .NET Framework 1.1 and .NET Framework 1.1 > Redistributable Package? Would it have anything to do with this problem? >
> I will also check the ISAPI mappings.
>
> CSDunn
>
>
> "Kevin Spencer" <ke***@takempis .com> wrote in message
> news:OD******** ******@TK2MSFTN GP10.phx.gbl...
> > Is ASP.Net installed on the web server for the XP box? Check the ISAPI > > mappings.
> >
> > --
> > HTH,
> > Kevin Spencer
> > .Net Developer
> > Microsoft MVP
> > Big things are made up
> > of lots of little things.
> >
> > "CSDunn" <cd***@valverde .edu> wrote in message
> > news:#T******** ******@TK2MSFTN GP11.phx.gbl...
> > > Hello,
> > > I'm having a problem with ASP.NET using IIS 5.1 on a Windows XP Pro > > machine.
> > > ASP.NET will not process the following code:
> > > *************** *************** *
> > > <html>
> > > <head>
> > > </head>
> > > <body>
> > > <form method= "post" runat="server">
> > > <asp:Label id=lblHelloWorl d text="HelloWorl d" runat=Server />
> > > <br>
> > > <asp:Button onclick=Clicked It text="Submit" runat=server />
> > > </form>
> > > </body>
> > > <script Language=C# runat=Server>
> > > void ClickedIt (Object sender, System.EventArg s e)
> > > {
> > > lblHelloWorld.T ext = ".NET Rules!";
> > > }
> > > </Script>
> > > </html>
> > > *************** ***************
> > > This code is in a page called HelloWorld.aspx , and the expressed
address
> > bar
> > > syntax of the IE 6.0 browser is localhost/HelloWorld.aspx . The file
is
> > > located at C:\InetPub\wwro ot, which is configured as the the loc
al path
> in
> > > the properties of the default web site. When I attempt to render

this
> page
> > > in the browser, the page comes up blank. After attempting to

render the
> > > page, View\Source shows the code exactly as it appears above.
> > >
> > > I experienced a similar problem with IIS 5.1 on a Windows 2000 Pro box.
> > The
> > > difference was that when I tried to render the page in the same type and
> > > version of browser, I got the following message:
> > >
> > > "Server Application Unavailable
> > >
> > > The web application you are attempting to access on this web server
is
> > > currently unavailable. Please hit the "Refresh" button in your

web > > browser
> > > to retry your request.
> > >
> > > Administrator Note: An error message detailing the cause of this
> specific
> > > request failure can be found in the application event log of the web > > server.
> > > Please review this log entry to discover what caused this error to > occur."
> > >
> > > The application log did not show any events. On the 2000 box, I went to
> > the
> > > properties of the default web site, on the Home Directory tab, and saw
> > that
> > > there was no 'Application Name'. I clicked the 'Create' button
and > created
> > > 'Default Application'. After I did this, the page worked fine, and > > > View/Source showed the following code:
> > > *************** *************** *****
> > > <html>
> > > <head>
> > > </head>
> > > <body>
> > > <form name="_ctl0" method="post" action="hellowo rld.aspx"

id="_ctl0">
> > > <input type="hidden" name="__VIEWSTA TE"
> > > value="dDwtOTUx OTE4ODcwOzs++2Z Lq58Ul7wMXQDdnn hWV0I67IQ=" />
> > >
> > > <span id="lblHelloWor ld">HelloWorl d</span>
> > > <br>
> > > <input type="submit" name="_ctl1" value="Submit" />
> > > </form>
> > > </body>
> > >
> > > </html>
> > > *************** *************** *****
> > > I tried to do the same thing with the 'Application Name' on the XP box,
> > but
> > > the page would still not render anything at all. On both

machines, the
> > > domain users have local admin rights.
> > >
> > > Why would ASP.NET on the XP box not render the code?
> > >
> > > Thanks for your help!
> > >
> > > CSDunn
> > >
> > >
> >
> >
>
>



Nov 18 '05 #8
CSDunn wrote:
I can see that the aspnet_isapi.dl l is included with the application
mappings on the Windows 2000 machine, but is not present on the XP box.

When I installed Visual Studio 2003 on the XP Box, the .NET Framework
version 1.1 was also installed, but I guess ASP.NET was not part of the
install package.

Should I uninstall the .NET Framework 1.1 on the XP box and install the the
.NET Framework 1.1 Redistributable , or should I just install the
Redistributable over what is on the XP box now? Is there some way to install
ASP.NET for XP other than instaling the .NET Framework 1.1 Redistributable ?

Thanks again for your help!


Try running:

aspnet_regiis -r

to register ASP.NET with IIS.

<snip>

--
mikeb
Nov 18 '05 #9
No, not at all necessary. All that is necessary is to install ASP.Net on the
web server. This can be done with the aspnet_regiis.e xe Command-line utility
fond at (approximate - adjust for your system)
C:\WINDOWS\Micr osoft.NET\Frame work\v1.1.4322\ aspnet_regiis.e xe.
Run it with the -i (install) parameter, as in:

C:\WINDOWS\Micr osoft.NET\Frame work\v1.1.4322\ aspnet_regiis.e xe - i

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

"CSDunn" <cd***@valverde .edu> wrote in message
news:eO******** *****@TK2MSFTNG P12.phx.gbl...
I can see that the aspnet_isapi.dl l is included with the application
mappings on the Windows 2000 machine, but is not present on the XP box.

When I installed Visual Studio 2003 on the XP Box, the .NET Framework
version 1.1 was also installed, but I guess ASP.NET was not part of the
install package.

Should I uninstall the .NET Framework 1.1 on the XP box and install the the .NET Framework 1.1 Redistributable , or should I just install the
Redistributable over what is on the XP box now? Is there some way to install ASP.NET for XP other than instaling the .NET Framework 1.1 Redistributable ?
Thanks again for your help!

CSDunn

"Kevin Spencer" <ke***@takempis .com> wrote in message
news:uw******** ******@TK2MSFTN GP09.phx.gbl...
In IIS Admin snap-in, go to the Properties dialog box for a web site, Home
Directory tab, and click "Configurat ion" - The ISAPI mappings are one of the
tabs in that section.

--
HTH,
Kevin Spencer
.Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

"CSDunn" <cd***@valverde .edu> wrote in message
news:ew******** *****@TK2MSFTNG P12.phx.gbl...
I checked into that, and found a place where I could change ISAPI filters, but not 'mappings'. What am I looking for?

Thanks again!

CSDunn

"Kevin Spencer" <ke***@takempis .com> wrote in message
news:OV******** ******@TK2MSFTN GP12.phx.gbl...
> Only checking the ISAPI mapping s will tell you whether ASP.Net is
installed
> on your web server.
>
> --
> HTH,
> Kevin Spencer
> .Net Developer
> Microsoft MVP
> Big things are made up
> of lots of little things.
>
> "CSDunn" <cd***@valverde .edu> wrote in message
> news:Ot******** ******@TK2MSFTN GP12.phx.gbl...
> > The XP box has the .NET Framework 1.1 and the Visual J#

redistributable
> > package 1.1 (which came with Visual Studio 2003) installed. I noticed when
> I
> > went to the ASP.NET site that the download for this was contained

within
> the
> > .NET Framework 1.1 Redistributable Package.
> >
> > Is there a difference between .NET Framework 1.1 and .NET Framework 1.1
> > Redistributable Package? Would it have anything to do with this

problem?
> >
> > I will also check the ISAPI mappings.
> >
> > CSDunn
> >
> >
> > "Kevin Spencer" <ke***@takempis .com> wrote in message
> > news:OD******** ******@TK2MSFTN GP10.phx.gbl...
> > > Is ASP.Net installed on the web server for the XP box? Check the

ISAPI
> > > mappings.
> > >
> > > --
> > > HTH,
> > > Kevin Spencer
> > > .Net Developer
> > > Microsoft MVP
> > > Big things are made up
> > > of lots of little things.
> > >
> > > "CSDunn" <cd***@valverde .edu> wrote in message
> > > news:#T******** ******@TK2MSFTN GP11.phx.gbl...
> > > > Hello,
> > > > I'm having a problem with ASP.NET using IIS 5.1 on a Windows
XP
Pro
> > > machine.
> > > > ASP.NET will not process the following code:
> > > > *************** *************** *
> > > > <html>
> > > > <head>
> > > > </head>
> > > > <body>
> > > > <form method= "post" runat="server">
> > > > <asp:Label id=lblHelloWorl d text="HelloWorl d" runat=Server />
> > > > <br>
> > > > <asp:Button onclick=Clicked It text="Submit" runat=server />
> > > > </form>
> > > > </body>
> > > > <script Language=C# runat=Server>
> > > > void ClickedIt (Object sender, System.EventArg s e)
> > > > {
> > > > lblHelloWorld.T ext = ".NET Rules!";
> > > > }
> > > > </Script>
> > > > </html>
> > > > *************** ***************
> > > > This code is in a page called HelloWorld.aspx , and the
expressed > address
> > > bar
> > > > syntax of the IE 6.0 browser is localhost/HelloWorld.aspx . The

file
is
> > > > located at C:\InetPub\wwro ot, which is configured as the the loc al > path
> > in
> > > > the properties of the default web site. When I attempt to
render this
> > page
> > > > in the browser, the page comes up blank. After attempting to render
> the
> > > > page, View\Source shows the code exactly as it appears above.
> > > >
> > > > I experienced a similar problem with IIS 5.1 on a Windows 2000

Pro > box.
> > > The
> > > > difference was that when I tried to render the page in the same type
> and
> > > > version of browser, I got the following message:
> > > >
> > > > "Server Application Unavailable
> > > >
> > > > The web application you are attempting to access on this web

server
is
> > > > currently unavailable. Please hit the "Refresh" button in
your
web
> > > browser
> > > > to retry your request.
> > > >
> > > > Administrator Note: An error message detailing the cause of
this > > specific
> > > > request failure can be found in the application event log of

the web
> > > server.
> > > > Please review this log entry to discover what caused this
error to > > occur."
> > > >
> > > > The application log did not show any events. On the 2000 box,
I went
> to
> > > the
> > > > properties of the default web site, on the Home Directory tab,
and saw
> > > that
> > > > there was no 'Application Name'. I clicked the 'Create' button and > > created
> > > > 'Default Application'. After I did this, the page worked fine, and > > > > View/Source showed the following code:
> > > > *************** *************** *****
> > > > <html>
> > > > <head>
> > > > </head>
> > > > <body>
> > > > <form name="_ctl0" method="post" action="hellowo rld.aspx"
id="_ctl0">
> > > > <input type="hidden" name="__VIEWSTA TE"
> > > > value="dDwtOTUx OTE4ODcwOzs++2Z Lq58Ul7wMXQDdnn hWV0I67IQ=" />
> > > >
> > > > <span id="lblHelloWor ld">HelloWorl d</span>
> > > > <br>
> > > > <input type="submit" name="_ctl1" value="Submit" />
> > > > </form>
> > > > </body>
> > > >
> > > > </html>
> > > > *************** *************** *****
> > > > I tried to do the same thing with the 'Application Name' on
the XP > box,
> > > but
> > > > the page would still not render anything at all. On both machines, the
> > > > domain users have local admin rights.
> > > >
> > > > Why would ASP.NET on the XP box not render the code?
> > > >
> > > > Thanks for your help!
> > > >
> > > > CSDunn
> > > >
> > > >
> > >
> > >
> >
> >
>
>



Nov 18 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
8795
by: Kate Luu | last post by:
My application was written by C# and I couldn't load the photoshop image. Are there any Pro out there know how to load the photoshop image with the file extension is: .PSD. Thanks you all in advance, I'm greatly appreciate for your help. Have a good one... Kate Luu
1
1464
by: Ramesh | last post by:
hi I am trying to insert 50,000 random records in the SQL server. I have created COM for inserting records. When i started inserting, after 44152 records it displayed following error message. " Distributed transaction completed. Either enlist this session in a new transactions or the Null transaction. "
2
1286
by: TomTom | last post by:
In my C# WinForm program, I create a new thread to do a long process of inserting data from Access files to SQL DB. The problem is that some parts of the MainForm pertially disappear while the new thread is doing its task. I found many articles on this on the Internet and followed the example from http://www.codeproject.com/csharp/workerthread.asp. Still some parts of the MainForm (buttons) disappear and it appears that the code is not...
2
4552
by: news.microsoft.com | last post by:
Hi: I work in Csharp's parser files by LEX/YACC.Now I have only CSharp-lex.l and CSharp.y file,but they not have CSharp'comment Parse. this is a part of CSharp-lex.l. ..................... /***** Comments *****/ "/*" { yy_push_state(IN_COMMENT); } <IN_COMMENT>. { ; /* ignore */ } <IN_COMMENT>\n { ; /* ignore */ }
11
1643
by: Alex | last post by:
Hello, I am sort of new to this aspect of .NET so please forgive me if that's a FAQ. I have a Windows Form that has to perform a lengthy operation when the user clicks a button. While the operation is in process, the user will not be able to do anything else from the UI but I still want the UI to pump messages (so it can be moved, etc.) What is the best way to implement it in C#? Thank you.
6
4997
by: James Radke | last post by:
Hello, I have a multithreaded windows NT service application (vb.net 2003) that I am working on (my first one), which reads a message queue and creates multiple threads to perform the processing for long running reports. When the processing is complete it uses crystal reports to load a template file, populate it, and then export it to a PDF. It works fine so far....
5
1087
by: greg.merideth | last post by:
There's an automated email an application generates, that we've found a wierd processing bug(?) with in .net 2.0 The app has the following lines. There are 20 lines above that use "\n\r" that wrap just fine: message.Body += "EONE\n\r"; message.Body += "Name Reg# Owner \n\r"; message.Body += "Association ADOwner \n\r";
15
18761
by: Michael A. Covington | last post by:
Any thoughts about how to implement image processing algorithms to run fast in C#? Using GetPixel to access every pixel from a Bitmap seems to be rather time-consuming.
1
1027
by: =?Utf-8?B?U3RldmUgVGF5bG9y?= | last post by:
I have never understood why intellisense doesn't show the available page processing events (ie Page_Load) for easy inclusion in the code-behind. Ideas? The real question: I have master pages and content pages. The Master page processes the events like "Page_Load()" but the content page only sees the actual class.functions. Example: ------------------------------------------------------------------------ Partial Public Class...
0
9423
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10211
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10045
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8870
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7408
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6673
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5298
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
3561
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2815
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.