| | |
VB.NET Error
Please support our ASP.NET advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: Nov 2006
Posts: 18
Reputation:
Solved Threads: 0
Using notepad, I created VB.NET code and saved it as a file named Jack.aspx in C:\ASP.NET (the whole path to the file is C:\ASP.NET\Jack.aspx). Then I launched IE, then clicked on File, Open, Browse, C:\ASP.NET\Jack.aspx and I got the following error:
The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later. Reference to undeclared namespace prefix: 'asp'. Error processing resource 'file:///C:/ASP.NET/Jack.aspx'. Line 10, Positi...
<asp:Label id="lblTest" runat="server" />My Code is shown here as well:<html><script language="VB" runat="server"> Private Sub Page_load() lblTest.Text = "Hello, the Page.Load event occured." End Sub</script><body><form id="Form" runat="server"> <asp:Label id="lblTest" runat="server" /></form></body></html> What is the problem?
The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later. Reference to undeclared namespace prefix: 'asp'. Error processing resource 'file:///C:/ASP.NET/Jack.aspx'. Line 10, Positi...
<asp:Label id="lblTest" runat="server" />My Code is shown here as well:<html><script language="VB" runat="server"> Private Sub Page_load() lblTest.Text = "Hello, the Page.Load event occured." End Sub</script><body><form id="Form" runat="server"> <asp:Label id="lblTest" runat="server" /></form></body></html> What is the problem?
You can't just open/run an aspx page like that -- it has to go through IIS and the .NET engine.
Did you install .NET Framewrok and set up IIS on your machine?
Did you install .NET Framewrok and set up IIS on your machine?
Google is your friend. I'm giving examples, not typing up your whole app for you. You run code at your own risk.
Bored? Visit http://www.kaelisspace.com/
Bored? Visit http://www.kaelisspace.com/
![]() |
Similar Threads
- Updated : Simple ASP.Net Login Page (ASP.NET)
- GPMC not installing: .NET framework required? (Windows NT / 2000 / XP)
- ASP.Net Error with C# Coding (C#)
- ASP.Net Error (ASP.NET)
- Error opening a project (ASP.NET)
- Really Bad ERROR(dat i don noe) (Windows NT / 2000 / XP)
- New user with Bridge.DLL error (Viruses, Spyware and other Nasties)
Other Threads in the ASP.NET Forum
- Previous Thread: Windows script host and filesystemobject - pls help
- Next Thread: VB.NET Code
Views: 1459 | Replies: 1
| Thread Tools | Search this Thread |
Tag cloud for ASP.NET
.net 2.0 ajax alltypeofvideos anathor appliances application asp asp.net beginner box browser button c# cac checkbox class commonfunctions complex control countryselector dataaccesslayer database datagridview datalist deployment development dgv dialog dropdownlist dynamic dynamically edit editing embeddingactivexcontrol feedback fileuploader fill findcontrol flash form gridview gudi iis image javascript languages list listbox login maps microsoft mobile mouse mssql news novell numerical opera panelmasterpagebuttoncontrols parent problem profile project radio redirect registration relationaldatabases reportemail response.redirect richtextbox rows schoolproject search security select sessionvariables silverlight smoobjects software sql sql-server sqlserver2005 ssl tracking treeview validatedate validation vb.net videos vista visualstudio vs2008 web webapplications webdevelopment webprogramming webservice wizard xsl





