473,383 Members | 1,892 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,383 software developers and data experts.

Aspx not compiling

I use VB.NET Std Edition and I am building a web application. I have two
problems that may or may not be related.

1) The debugger does not work.
2) If I ignore the debugger, build the project, and then access the aspx
form from the browser none of the ASP controls or code work.

BTW I am viewing the form through a server that is running i.e.
(http://localhost/webapplication1//webform.aspx)

If I view the source code of the form from within the browser I find that
all of the <Asp> tags are still present. Thus I conclude that this form is
not being compiled.

Can some one help me please.

Dan

P.S. Please excuse the double post - I posted another in the framework
group but now I think this group seems like it would be a better choice.
Nov 18 '05 #1
3 1564
Dear Dan

Can you post the code in your page.. if you view the view source, you will
not be able to see the <asp tags. instead you should be able to see tags
like <input type>
because though you use <Asp> tags, the browser will render only <input type
internally.

I think either you should have put the code outside the form tag or there
must be other problems.

anyways, having a view of the page should help. thanks.

"DanB" wrote:
I use VB.NET Std Edition and I am building a web application. I have two
problems that may or may not be related.

1) The debugger does not work.
2) If I ignore the debugger, build the project, and then access the aspx
form from the browser none of the ASP controls or code work.

BTW I am viewing the form through a server that is running i.e.
(http://localhost/webapplication1//webform.aspx)

If I view the source code of the form from within the browser I find that
all of the <Asp> tags are still present. Thus I conclude that this form is
not being compiled.

Can some one help me please.

Dan

P.S. Please excuse the double post - I posted another in the framework
group but now I think this group seems like it would be a better choice.

Nov 18 '05 #2
you need to execute the following

go to command prompt and go to
%WindowsDirectory%\Microsoft.NET\Framework\framewo rk_version
framework_version is the directory for version of framework and execute

aspnet_regiis -i

this should sort it out.

--

Regards,

Hermit Dave
(http://hdave.blogspot.com)
"Dan Bacon" <db****@kc.rr.com> wrote in message
news:SQ*****************@twister.rdc-kc.rr.com...
Here is the Webform1.aspx html code.

I don't think this will help unless the template that VB.net is using is
messed up. Because I really only pasted two controls on the form just to
test things out. I have tried creating other web apps and that tells me
that its not in the code that follows but something in the setup of my
system.

I have uninstalled and then installed both IIS and VB.net and still I get
this problem. BTW on my laptop which has a similar set up I am NOT having
this problem. But I can't seem to find out what makes the two different.
<%@ Page Language="vb" AutoEventWireup="false" Codebehind="WebForm1.aspx.vb" Inherits="WebApplication1.WebForm1"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<title>WebForm1</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>
<form id="Form1" method="post" runat="server">
<asp:HyperLink id="HyperLink1" style="Z-INDEX: 101; LEFT: 259px;
POSITION: absolute; TOP: 131px" runat="server"
NavigateUrl="file:///C:\Program Files\Microsoft Visual Studio
.NET\readme.htm" Visible="true" Enabled="true">HyperLink</asp:HyperLink>
</form>
</body>
</HTML>
"ranganh" <ra*****@discussions.microsoft.com> wrote in message
news:CE**********************************@microsof t.com...
Dear Dan

Can you post the code in your page.. if you view the view source, you will
not be able to see the <asp tags. instead you should be able to see tags like <input type>
because though you use <Asp> tags, the browser will render only <input type
internally.

I think either you should have put the code outside the form tag or there must be other problems.

anyways, having a view of the page should help. thanks.

"DanB" wrote:
I use VB.NET Std Edition and I am building a web application. I have

two problems that may or may not be related.

1) The debugger does not work.
2) If I ignore the debugger, build the project, and then access the aspx form from the browser none of the ASP controls or code work.

BTW I am viewing the form through a server that is running i.e.
(http://localhost/webapplication1//webform.aspx)

If I view the source code of the form from within the browser I find that all of the <Asp> tags are still present. Thus I conclude that this form is
not being compiled.

Can some one help me please.

Dan

P.S. Please excuse the double post - I posted another in the

framework group but now I think this group seems like it would be a better choice.


Nov 18 '05 #3
YES!

That did it. At least it got me on the right path.

For any one else out there having the same problem I also had to
* remove Framework 1.1 and went back to 1.0
* remove FrontPage ServerExtension and re-create / install FP Extensions on
the default Website

Thanks for your help - Everyone

Dan

"Hermit Dave" <he************@CAPS.AND.DOTS.hotmail.com> wrote in message
news:eX**************@TK2MSFTNGP14.phx.gbl...
you need to execute the following

go to command prompt and go to
%WindowsDirectory%\Microsoft.NET\Framework\framewo rk_version
framework_version is the directory for version of framework and execute

aspnet_regiis -i

this should sort it out.

--

Regards,

Hermit Dave
(http://hdave.blogspot.com)
"Dan Bacon" <db****@kc.rr.com> wrote in message
news:SQ*****************@twister.rdc-kc.rr.com...
Here is the Webform1.aspx html code.

I don't think this will help unless the template that VB.net is using is
messed up. Because I really only pasted two controls on the form just to
test things out. I have tried creating other web apps and that tells me
that its not in the code that follows but something in the setup of my
system.

I have uninstalled and then installed both IIS and VB.net and still I get this problem. BTW on my laptop which has a similar set up I am NOT having this problem. But I can't seem to find out what makes the two different.

<%@ Page Language="vb" AutoEventWireup="false"

Codebehind="WebForm1.aspx.vb"
Inherits="WebApplication1.WebForm1"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<title>WebForm1</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>
<form id="Form1" method="post" runat="server">
<asp:HyperLink id="HyperLink1" style="Z-INDEX: 101; LEFT: 259px;
POSITION: absolute; TOP: 131px" runat="server"
NavigateUrl="file:///C:\Program Files\Microsoft Visual Studio
.NET\readme.htm" Visible="true" Enabled="true">HyperLink</asp:HyperLink>
</form>
</body>
</HTML>
"ranganh" <ra*****@discussions.microsoft.com> wrote in message
news:CE**********************************@microsof t.com...
Dear Dan

Can you post the code in your page.. if you view the view source, you will not be able to see the <asp tags. instead you should be able to see tags like <input type>
because though you use <Asp> tags, the browser will render only <input

type
internally.

I think either you should have put the code outside the form tag or there must be other problems.

anyways, having a view of the page should help. thanks.

"DanB" wrote:

> I use VB.NET Std Edition and I am building a web application. I
have two
> problems that may or may not be related.
>
> 1) The debugger does not work.
> 2) If I ignore the debugger, build the project, and then access
the aspx
> form from the browser none of the ASP controls or code work.
>
> BTW I am viewing the form through a server that is running i.e.
> (http://localhost/webapplication1//webform.aspx)
>
> If I view the source code of the form from within the browser I find

that
> all of the <Asp> tags are still present. Thus I conclude that this

form
is
> not being compiled.
>
> Can some one help me please.
>
> Dan
>
> P.S. Please excuse the double post - I posted another in the

framework > group but now I think this group seems like it would be a better choice. >
>
>



Nov 18 '05 #4

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

Similar topics

2
by: DanB | last post by:
I run VB.net standard edition. When I try to build any type of Web Application I have two problems. 1) The debugger does not work. 2) If I ignore the debugger and just build the project it...
4
by: BH | last post by:
I'm looking at the source code of the ASP.NET forum sample application. It has the "code-behind" classes compiled into a separate DLL, totally separated from the aspx/ascx files. Adding the class...
4
by: Lenard Gunda | last post by:
Hi! When I make a request to an ASPX file, it is converted into a C# source file (given, the language is C#). This source can be seen, if I intentionally put in something bad between <% ... %>,...
2
by: Anon-E-Moose | last post by:
Will there ever be a time when we can compile everything (ASPX, VB, Resources, etc) into a DLL? Sometimes the programmer doesn't want the end user to touch ANY files on the server. Compiling...
21
by: matvdl | last post by:
I have a system that was originally developed in asp - the pages are saved in SQL (there are over 10,000 pages) and saved to a temp directory in the server when requested by a client. I have...
2
by: Andy Fish | last post by:
Hi all, As far as I understand, when a user requests an aspx page, this is JIT compiled to a DLL. In theory, I can't see any reason why I shouldn't be able to precompile all my aspx pages...
1
by: Andy Fish | last post by:
Hi, In my aspx web application, I am generating a list of items in a menu down the left-hand side. Different items in the list may have different controls in, and this is data-driven at runtime....
4
by: Neil.Smith | last post by:
I can't seem to find any references to this, but here goes: In there anyway to parse an html/aspx file within an asp.net application to gather a collection of controls in the file. For instance...
2
by: Max2006 | last post by:
Hi, Is there any way to break a web application into separated web projects, so we can re-use pages\? I am trying to put aspx pages and/or ascx pages in separated web projects,
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?

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.