I learning to develop server applications using the Visual.Net v. 7 environment. I have loaded the IIS version 5.1 on my computer running under XP professional. I have developed a small APS application with a few text boxes and labels. I have built the application correctly, I beleive. When I try to access the APS application on the localhost, the page is found, I get no errors, but the elements that I designed in Visual Studio.Net do not appear in the browser web page! Any idea what is wrong?

Thanks for your help.

APS web page does not come up in the browser! by Keith

Keith
Fri Nov 07 16:47:41 CST 2003


>-----Original Message-----
>I learning to develop server applications using the
Visual.Net v. 7 environment. I have loaded the IIS version
5.1 on my computer running under XP professional. I have
developed a small APS application with a few text boxes
and labels. I have built the application correctly, I
beleive. When I try to access the APS application on the
localhost, the page is found, I get no errors, but the
elements that I designed in Visual Studio.Net do not
appear in the browser web page! Any idea what is wrong?
>
>Thanks for your help.
>.
>
Could be many things, show me the code?

RE: APS web page does not come up in the browser! by anonymous

anonymous
Fri Nov 07 17:06:11 CST 2003

Below is the code in OrderForm.aspx and the code in the OrderForm.aspx.vb file. The only thing that appears on the screen is "Cutomer Order" lable. Many thanks. This is driving me crazy.

<%@ Page Language="vb" AutoEventWireup="false" Codebehind="OrderForm.aspx.vb" Inherits="CustomerOrders.OrderForm"%><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><HTML><HEAD><title>OrderForm</title><meta name="GENERATOR" content="Microsoft Visual Studio.NET 7.0"><meta name="CODE_LANGUAGE" content="Visual Basic 7.0"><meta name=vs_defaultClientScript content="JavaScript"><meta name=vs_targetSchema content="http://schemas.microsoft.com/intellisense/ie5"></HEAD><body MS_POSITIONING="GridLayout"><form id="Form1" method="post" runat="server"><asp:Image id=Image1 style="Z-INDEX: 101; LEFT: 8px; POSITION: absolute; TOP: 8px" runat="server" Width="368px" Height="264px" ImageUrl="clearlogo.jpg"></asp:Image><asp:TextBox id=txtOrderDate style="Z-INDEX: 103; LEFT: 400px; POSITION: absolute; TOP: 200px" runat="server"></asp:TextBox><asp:Label id=Label1 style="Z-INDEX: 102; LEFT: 400px; POSITION: absolute; TOP: 152px" runat="server" Width="185px" Font-Bold="True" Font-Size="Large">Customer Orders</asp:Label></form></body></HTML>


Public Class OrderForm
Inherits System.Web.UI.Page
Protected WithEvents Image1 As System.Web.UI.WebControls.Image
Protected WithEvents Label1 As System.Web.UI.WebControls.Label
Protected WithEvents txtOrderDate As System.Web.UI.WebControls.TextBox

#Region " Web Form Designer Generated Code "

'This call is required by the Web Form Designer.
<System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()

End Sub

Private Sub Page_Init(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Init
'CODEGEN: This method call is required by the Web Form Designer
'Do not modify it using the code editor.
InitializeComponent()
End Sub

#End Region

Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
txtOrderDate.Text = DateString
End Sub

End Class



Re: APS web page does not come up in the browser! by Jerry

Jerry
Fri Nov 07 18:22:53 CST 2003

Sia, it would be a lot more helpful to show the actual HTML being sent to IE
(View -> Source). My guess is that your Asp.Net (you're not using APS, not
even ASP but ASP.NET) pages are not being processed by the framework (maybe
because you installed IIS after you installed the framework), you need to
register it with IIS, just search this newsgroup, there's tons of posts on
how to do this.

Jerry

"sia malek" <anonymous@discussions.microsoft.com> wrote in message
news:30A8D67C-0A24-4C4F-B587-C291D68CF605@microsoft.com...
> Below is the code in OrderForm.aspx and the code in the OrderForm.aspx.vb
file. The only thing that appears on the screen is "Cutomer Order" lable.
Many thanks. This is driving me crazy.
>
> <%@ Page Language="vb" AutoEventWireup="false"
Codebehind="OrderForm.aspx.vb"
Inherits="CustomerOrders.OrderForm"%><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML
4.0 Transitional//EN"><HTML><HEAD><title>OrderForm</title><meta
name="GENERATOR" content="Microsoft Visual Studio.NET 7.0"><meta
name="CODE_LANGUAGE" content="Visual Basic 7.0"><meta
name=vs_defaultClientScript content="JavaScript"><meta name=vs_targetSchema
content="http://schemas.microsoft.com/intellisense/ie5"></HEAD><body
MS_POSITIONING="GridLayout"><form id="Form1" method="post"
runat="server"><asp:Image id=Image1 style="Z-INDEX: 101; LEFT: 8px;
POSITION: absolute; TOP: 8px" runat="server" Width="368px" Height="264px"
ImageUrl="clearlogo.jpg"></asp:Image><asp:TextBox id=txtOrderDate
style="Z-INDEX: 103; LEFT: 400px; POSITION: absolute; TOP: 200px"
runat="server"></asp:TextBox><asp:Label id=Label1 style="Z-INDEX: 102; LEFT:
400px; POSITION: absolute; TOP: 152px" runat="server" Width="185px"
Font-Bold="True" Font-Size="Large">Customer
Orders</asp:Label></form></body></HTML>
>
>
> Public Class OrderForm
> Inherits System.Web.UI.Page
> Protected WithEvents Image1 As System.Web.UI.WebControls.Image
> Protected WithEvents Label1 As System.Web.UI.WebControls.Label
> Protected WithEvents txtOrderDate As System.Web.UI.WebControls.TextBox
>
> #Region " Web Form Designer Generated Code "
>
> 'This call is required by the Web Form Designer.
> <System.Diagnostics.DebuggerStepThrough()> Private Sub
InitializeComponent()
>
> End Sub
>
> Private Sub Page_Init(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Init
> 'CODEGEN: This method call is required by the Web Form Designer
> 'Do not modify it using the code editor.
> InitializeComponent()
> End Sub
>
> #End Region
>
> Private Sub Page_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
> txtOrderDate.Text = DateString
> End Sub
>
> End Class
>
>



Re: APS web page does not come up in the browser! by anonymous

anonymous
Fri Nov 07 19:56:05 CST 2003

Jerry,

Thanks for the input. I don't know anything about framework! What is that? I will do some search and see what I can find out. This has been a real puzzl for me so far!

Sia

Re: APS web page does not come up in the browser! by anonymous

anonymous
Fri Nov 07 22:11:05 CST 2003

Jerry,

I did a lot of searching, but I did not find how to reregister the framework in IIS. I think, you are right and my APS.NET pages do not get executed in IIS. Do you have a direct reference to a place where I can find the information? If so, please let me know.

Thanks,

Sia

Re: APS web page does not come up in the browser! by Jerry

Jerry
Fri Nov 07 22:32:12 CST 2003

Different Jerry here...

Check out KB 815175 or possibly, but not likely, KB 306005

--
Jerry M. Gartner
www.gartnerwebdev.com
"sia malek" <anonymous@discussions.microsoft.com> wrote in message
news:27296BDC-43BD-4A17-B1D4-2B8DBEE1D87E@microsoft.com...
> Jerry,
>
> I did a lot of searching, but I did not find how to reregister the
framework in IIS. I think, you are right and my APS.NET pages do not get
executed in IIS. Do you have a direct reference to a place where I can find
the information? If so, please let me know.
>
> Thanks,
>
> Sia



Re: APS web page does not come up in the browser! by Jerry

Jerry
Fri Nov 07 22:38:08 CST 2003

Oh, and go to the windows updates for the .NET framework. It registers in
IIS by default once installed.

--
Jerry M. Gartner
www.gartnerwebdev.com
"Jerry M. Gartner" <jerry@SPAM_BE_GONEgartnerwebdev.com> wrote in message
news:%238%23yfDbpDHA.2732@TK2MSFTNGP11.phx.gbl...
> Different Jerry here...
>
> Check out KB 815175 or possibly, but not likely, KB 306005
>
> --
> Jerry M. Gartner
> www.gartnerwebdev.com
> "sia malek" <anonymous@discussions.microsoft.com> wrote in message
> news:27296BDC-43BD-4A17-B1D4-2B8DBEE1D87E@microsoft.com...
> > Jerry,
> >
> > I did a lot of searching, but I did not find how to reregister the
> framework in IIS. I think, you are right and my APS.NET pages do not get
> executed in IIS. Do you have a direct reference to a place where I can
find
> the information? If so, please let me know.
> >
> > Thanks,
> >
> > Sia
>
>



Re: APS web page does not come up in the browser! by anonymous

anonymous
Sat Nov 08 11:26:05 CST 2003

Jerry, Thanks for you help. I did go and add all the stuff for registring the .NET framwork. Man this is so diffcult. Unfortunately, now I get HTTP error 403 or 500! Any ideas what is wrong now? Thaks for all your help.

Sia

Re: APS web page does not come up in the browser! by jcochran

jcochran
Mon Nov 10 09:21:53 CST 2003

On Sat, 8 Nov 2003 09:26:05 -0800, sia malek
<anonymous@discussions.microsoft.com> wrote:

>Unfortunately, now I get HTTP error 403 or 500! Any ideas what is wrong now?

Start here:

Why do I get a 500 Internal Server error for all ASP errors?
http://www.aspfaq.com/show.asp?id=2109

Jeff