ASPX Not Executing

A

Arpan

I am working on Win 2K Pro & use IIS 5.0 as the local server. I have installed Microsoft .NET Framework 1.1 to create ASPX web pages (using VB.NET) but when I am trying to execute an ASPX code, the browser just displays the text, if any, and the entire ASPX code gets neglected. For e.g., consider the following simple ASPX code:

<%@ Page Language="VB" Debug="True" %>
<html>
<body>
<form runat="server">
Name : <asp:TextBox id="txtName" runat="server"/>
</form>
</body>
</html>

the output in the browser will only be

Name :

& nothing else. The textbox code doesn't get executed due to which the browser doesn't show any textbox. What could the possible problem be? Please do offer a concrete solution. Also please note that the installation of the .NET Framework went by smoothly without any hitches. Prior to installing Microsoft .NET Framework 1.1, Microsoft .NET Framework SDK (English) v1.0.2204 was installed in my machine. Since I experienced the same problem with Framework v1.0.2204 as I did with Framework 1.1, I uninstalled Framework v1.0.2204 & then installed Framework 1.1 hoping for some positive result but my efforts were futile. Is Framework v1.0.2204 the newer version or is Framework 1.1 the newer version? What is the latest version of Microsoft .NET Framework & from where can I download it?

Thanks,

Arpan
 
H

Hermit Dave

Arpan,
Replying to your own message with the post again.. .doesnt help....
when you install MS .net framework... that just installs the run time... and
that would allow you to install something that is already compiled.....

if you want to make your pages... the bare minimum requirement is .net
framework sdk.
the current version of framework and everything relating to it is 1.1

go to www.microsoft.com/downloads and get yourself the sdk.

if you are looking for ide's... there's nothing like VS.NET (framework is
installed with vs.net)....
but if you want a free one.. try webmatrix at www.asp.net (you would
probably find it on ms download site)

--
Regards,

HD
----------------------------------------------------------------------------
---------------------------------------

I am working on Win 2K Pro & use IIS 5.0 as the local server. I have
installed Microsoft .NET Framework 1.1 to create ASPX web pages (using
VB.NET) but when I am trying to execute an ASPX code, the browser just
displays the text, if any, and the entire ASPX code gets neglected. For
e.g., consider the following simple ASPX code:

<%@ Page Language="VB" Debug="True" %>
<html>
<body>
<form runat="server">
Name : <asp:TextBox id="txtName" runat="server"/>
</form>
</body>
</html>

the output in the browser will only be

Name :

& nothing else. The textbox code doesn't get executed due to which the
browser doesn't show any textbox. What could the possible problem be? Please
do offer a concrete solution. Also please note that the installation of the
..NET Framework went by smoothly without any hitches. Prior to installing
Microsoft .NET Framework 1.1, Microsoft .NET Framework SDK (English)
v1.0.2204 was installed in my machine. Since I experienced the same problem
with Framework v1.0.2204 as I did with Framework 1.1, I uninstalled
Framework v1.0.2204 & then installed Framework 1.1 hoping for some positive
result but my efforts were futile. Is Framework v1.0.2204 the newer version
or is Framework 1.1 the newer version? What is the latest version of
Microsoft .NET Framework & from where can I download it?

Thanks,

Arpan
 
A

Arpan

Thanks, Hermit, for your prompt response. To be honest, I was having some problems with Outlook Express 6.0 due to which the message got posted twice. Sorry for the same.

Getting back to the subject matter, actually .NET v1.0.2204 got installed automatically when I installed VS.NET but that didn't resolve the problem. After this, I uninstalled .NET v1.0.2204 & then installed ..NET v1.0.3705 but there wasn't any respite from that same problem. As a last resort I uninstalled .NET v1.0.3705 as well & finally installed ..NET 1.1 (which I downloaded from Microsoft) but the problem still persists.

Any further suggestions to get rid of this mess?

Thanks once again,

Regards,

Arpan
Arpan,
Replying to your own message with the post again.. .doesnt help....
when you install MS .net framework... that just installs the run time... and
that would allow you to install something that is already compiled.....

if you want to make your pages... the bare minimum requirement is .net
framework sdk.
the current version of framework and everything relating to it is 1.1

go to www.microsoft.com/downloads and get yourself the sdk.

if you are looking for ide's... there's nothing like VS.NET (framework is
installed with vs.net)....
but if you want a free one.. try webmatrix at www.asp.net (you would
probably find it on ms download site)

--
Regards,

HD
----------------------------------------------------------------------------
---------------------------------------

I am working on Win 2K Pro & use IIS 5.0 as the local server. I have
installed Microsoft .NET Framework 1.1 to create ASPX web pages (using
VB.NET) but when I am trying to execute an ASPX code, the browser just
displays the text, if any, and the entire ASPX code gets neglected. For
e.g., consider the following simple ASPX code:

<%@ Page Language="VB" Debug="True" %>
<html>
<body>
<form runat="server">
Name : <asp:TextBox id="txtName" runat="server"/>
</form>
</body>
</html>

the output in the browser will only be

Name :

& nothing else. The textbox code doesn't get executed due to which the
browser doesn't show any textbox. What could the possible problem be? Please
do offer a concrete solution. Also please note that the installation of the
.NET Framework went by smoothly without any hitches. Prior to installing
Microsoft .NET Framework 1.1, Microsoft .NET Framework SDK (English)
v1.0.2204 was installed in my machine. Since I experienced the same problem
with Framework v1.0.2204 as I did with Framework 1.1, I uninstalled
Framework v1.0.2204 & then installed Framework 1.1 hoping for some positive
result but my efforts were futile. Is Framework v1.0.2204 the newer version
or is Framework 1.1 the newer version? What is the latest version of
Microsoft .NET Framework & from where can I download it?

Thanks,

Arpan
 
H

Hermit Dave

Okay since your VS.NET version installed 1.0 i would presume that its the older VS.NET and not vs.net 2003
For VS.NET used 1.0 and the new 2003 version using 1.1

that means all projects you create will be by default compiled to run with 1.0 runtime.... (cant change the behavior if you are using code behind)
So... you need to install 1.0 run time... install all the service packs...
and if you still have a problem..... then execute this command

aspnet_regiis -i

from under your

C:\WINXPPRO\Microsoft.NET\Framework\v1.0.3705
(winxppro is my os dir so chose your equivalent one...)
--
Regards,

HD

Thanks, Hermit, for your prompt response. To be honest, I was having some problems with Outlook Express 6.0 due to which the message got posted twice. Sorry for the same.

Getting back to the subject matter, actually .NET v1.0.2204 got installed automatically when I installed VS.NET but that didn't resolve the problem. After this, I uninstalled .NET v1.0.2204 & then installed ..NET v1.0.3705 but there wasn't any respite from that same problem. As a last resort I uninstalled .NET v1.0.3705 as well & finally installed ..NET 1.1 (which I downloaded from Microsoft) but the problem still persists.

Any further suggestions to get rid of this mess?

Thanks once again,

Regards,

Arpan
Arpan,
Replying to your own message with the post again.. .doesnt help....
when you install MS .net framework... that just installs the run time... and
that would allow you to install something that is already compiled.....

if you want to make your pages... the bare minimum requirement is ..net
framework sdk.
the current version of framework and everything relating to it is 1.1

go to www.microsoft.com/downloads and get yourself the sdk.

if you are looking for ide's... there's nothing like VS.NET (framework is
installed with vs.net)....
but if you want a free one.. try webmatrix at www.asp.net (you would
probably find it on ms download site)

--
Regards,

HD
----------------------------------------------------------------------------
---------------------------------------

I am working on Win 2K Pro & use IIS 5.0 as the local server. I have
installed Microsoft .NET Framework 1.1 to create ASPX web pages (using
VB.NET) but when I am trying to execute an ASPX code, the browser just
displays the text, if any, and the entire ASPX code gets neglected. For
e.g., consider the following simple ASPX code:

<%@ Page Language="VB" Debug="True" %>
<html>
<body>
<form runat="server">
Name : <asp:TextBox id="txtName" runat="server"/>
</form>
</body>
</html>

the output in the browser will only be

Name :

& nothing else. The textbox code doesn't get executed due to which the
browser doesn't show any textbox. What could the possible problem be? Please
do offer a concrete solution. Also please note that the installation of the
.NET Framework went by smoothly without any hitches. Prior to installing
Microsoft .NET Framework 1.1, Microsoft .NET Framework SDK (English)
v1.0.2204 was installed in my machine. Since I experienced the same problem
with Framework v1.0.2204 as I did with Framework 1.1, I uninstalled
Framework v1.0.2204 & then installed Framework 1.1 hoping for some positive
result but my efforts were futile. Is Framework v1.0.2204 the newer version
or is Framework 1.1 the newer version? What is the latest version of
Microsoft .NET Framework & from where can I download it?

Thanks,

Arpan
 
H

Hermit Dave

if you want to know what i would do ?

a clean install.... always the best thing... ie if you can take a back up... and can afford not using the system for a few hours....

but its not working either way... so what harm can it do ?....

clean install...
install IIS from the windows components in add / remove
install VS.NET
install service packs (not if you have VS.NET 2k3)
make a web project and see whether it runs...
if not go to windows\microsoft framework\your version folder and execute..
aspnet_regiis -i

enjoy...

--
Regards,

HD

Thanks, Hermit, for your prompt response. To be honest, I was having some problems with Outlook Express 6.0 due to which the message got posted twice. Sorry for the same.

Getting back to the subject matter, actually .NET v1.0.2204 got installed automatically when I installed VS.NET but that didn't resolve the problem. After this, I uninstalled .NET v1.0.2204 & then installed ..NET v1.0.3705 but there wasn't any respite from that same problem. As a last resort I uninstalled .NET v1.0.3705 as well & finally installed ..NET 1.1 (which I downloaded from Microsoft) but the problem still persists.

Any further suggestions to get rid of this mess?

Thanks once again,

Regards,

Arpan
Arpan,
Replying to your own message with the post again.. .doesnt help....
when you install MS .net framework... that just installs the run time... and
that would allow you to install something that is already compiled.....

if you want to make your pages... the bare minimum requirement is ..net
framework sdk.
the current version of framework and everything relating to it is 1.1

go to www.microsoft.com/downloads and get yourself the sdk.

if you are looking for ide's... there's nothing like VS.NET (framework is
installed with vs.net)....
but if you want a free one.. try webmatrix at www.asp.net (you would
probably find it on ms download site)

--
Regards,

HD
----------------------------------------------------------------------------
---------------------------------------

I am working on Win 2K Pro & use IIS 5.0 as the local server. I have
installed Microsoft .NET Framework 1.1 to create ASPX web pages (using
VB.NET) but when I am trying to execute an ASPX code, the browser just
displays the text, if any, and the entire ASPX code gets neglected. For
e.g., consider the following simple ASPX code:

<%@ Page Language="VB" Debug="True" %>
<html>
<body>
<form runat="server">
Name : <asp:TextBox id="txtName" runat="server"/>
</form>
</body>
</html>

the output in the browser will only be

Name :

& nothing else. The textbox code doesn't get executed due to which the
browser doesn't show any textbox. What could the possible problem be? Please
do offer a concrete solution. Also please note that the installation of the
.NET Framework went by smoothly without any hitches. Prior to installing
Microsoft .NET Framework 1.1, Microsoft .NET Framework SDK (English)
v1.0.2204 was installed in my machine. Since I experienced the same problem
with Framework v1.0.2204 as I did with Framework 1.1, I uninstalled
Framework v1.0.2204 & then installed Framework 1.1 hoping for some positive
result but my efforts were futile. Is Framework v1.0.2204 the newer version
or is Framework 1.1 the newer version? What is the latest version of
Microsoft .NET Framework & from where can I download it?

Thanks,

Arpan
 
S

Saravana [MVP]

Check out this faq,
http://www.extremeexperts.com/Net/FAQ/ControlsNotAppearing.aspx

--
Saravana
Microsoft MVP - ASP.NET
www.extremeexperts.com



I am working on Win 2K Pro & use IIS 5.0 as the local server. I have installed Microsoft .NET Framework 1.1 to create ASPX web pages (using VB.NET) but when I am trying to execute an ASPX code, the browser just displays the text, if any, and the entire ASPX code gets neglected. For e.g., consider the following simple ASPX code:

<%@ Page Language="VB" Debug="True" %>
<html>
<body>
<form runat="server">
Name : <asp:TextBox id="txtName" runat="server"/>
</form>
</body>
</html>

the output in the browser will only be

Name :

& nothing else. The textbox code doesn't get executed due to which the browser doesn't show any textbox. What could the possible problem be? Please do offer a concrete solution. Also please note that the installation of the .NET Framework went by smoothly without any hitches. Prior to installing Microsoft .NET Framework 1.1, Microsoft .NET Framework SDK (English) v1.0.2204 was installed in my machine. Since I experienced the same problem with Framework v1.0.2204 as I did with Framework 1.1, I uninstalled Framework v1.0.2204 & then installed Framework 1.1 hoping for some positive result but my efforts were futile. Is Framework v1.0.2204 the newer version or is Framework 1.1 the newer version? What is the latest version of Microsoft .NET Framework & from where can I download it?

Thanks,

Arpan
 

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