473,660 Members | 2,428 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Cannot run ASP.NET in the browser

Hi all,

I installed .NET Framework (ver 1.0.3705) on my laptop
recently. I created the simplest of ASP.NET form having a
button and a label. When I build the application I get no
errors or warnings. But when I run the application in a
browser I dont see the controls. I can see the label
(which it is out of position) but the button is not
visible at all.

Did I missing anything while installation.

Any help is highly appreciated.

Thanks
Vinit
Nov 18 '05 #1
6 960
It sounds like there's nothing wrong with your installation. I would think,
under the circumstances, that there is something wrong with your code.

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

"Vinit Kumar" <an*******@disc ussions.microso ft.com> wrote in message
news:09******** *************** *****@phx.gbl.. .
Hi all,

I installed .NET Framework (ver 1.0.3705) on my laptop
recently. I created the simplest of ASP.NET form having a
button and a label. When I build the application I get no
errors or warnings. But when I run the application in a
browser I dont see the controls. I can see the label
(which it is out of position) but the button is not
visible at all.

Did I missing anything while installation.

Any help is highly appreciated.

Thanks
Vinit

Nov 18 '05 #2
I tried the same code on my office PC and it works fine.
What I did is create a new web form and place a button
and a label on that form. But the button wont show up in
the browser.

Thanks for helping

vinit kumar
-----Original Message-----
It sounds like there's nothing wrong with your installation. I would think,under the circumstances, that there is something wrong with your code.
--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

"Vinit Kumar" <an*******@disc ussions.microso ft.com> wrote in messagenews:09******* *************** ******@phx.gbl. ..
Hi all,

I installed .NET Framework (ver 1.0.3705) on my laptop
recently. I created the simplest of ASP.NET form having a button and a label. When I build the application I get no errors or warnings. But when I run the application in a
browser I dont see the controls. I can see the label
(which it is out of position) but the button is not
visible at all.

Did I missing anything while installation.

Any help is highly appreciated.

Thanks
Vinit

.

Nov 18 '05 #3
You're running IIS on your Laptop? If so, have you made sure that ASP.Net is
installed on the web server?

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

"vinit kumar" <an*******@disc ussions.microso ft.com> wrote in message
news:08******** *************** *****@phx.gbl.. .
I tried the same code on my office PC and it works fine.
What I did is create a new web form and place a button
and a label on that form. But the button wont show up in
the browser.

Thanks for helping

vinit kumar
-----Original Message-----
It sounds like there's nothing wrong with your

installation. I would think,
under the circumstances, that there is something wrong

with your code.

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

"Vinit Kumar" <an*******@disc ussions.microso ft.com>

wrote in message
news:09******* *************** ******@phx.gbl. ..
Hi all,

I installed .NET Framework (ver 1.0.3705) on my laptop
recently. I created the simplest of ASP.NET form having a button and a label. When I build the application I get no errors or warnings. But when I run the application in a
browser I dont see the controls. I can see the label
(which it is out of position) but the button is not
visible at all.

Did I missing anything while installation.

Any help is highly appreciated.

Thanks
Vinit

.

Nov 18 '05 #4
Try to view the source. If you see server side tags I would say that ASP.NET
is not part of the processing pipeline (not properly installed ?).

Do you access the file using a local web site ?

Patrice

--

"Vinit Kumar" <an*******@disc ussions.microso ft.com> a écrit dans le message
de news:09******** *************** *****@phx.gbl.. .
Hi all,

I installed .NET Framework (ver 1.0.3705) on my laptop
recently. I created the simplest of ASP.NET form having a
button and a label. When I build the application I get no
errors or warnings. But when I run the application in a
browser I dont see the controls. I can see the label
(which it is out of position) but the button is not
visible at all.

Did I missing anything while installation.

Any help is highly appreciated.

Thanks
Vinit


Nov 18 '05 #5
It's possible that ASP.Net is not registered correctly on your system.
Try running aspnet_regiis from the command prompt.

Here's the default location:

C:\WINNT\Micros oft.NET\Framewo rk\<latest version #>\aspnet_regii s.exe -i

Windows Server 2003, you must use aspnet_regiis -i -enable

David Wier
MCP, MVP ASP.NET, ASPInsider
http://aspnet101.com
http://aspexpress.com
"Vinit Kumar" <an*******@disc ussions.microso ft.com> wrote in message
news:09******** *************** *****@phx.gbl.. .
Hi all,

I installed .NET Framework (ver 1.0.3705) on my laptop
recently. I created the simplest of ASP.NET form having a
button and a label. When I build the application I get no
errors or warnings. But when I run the application in a
browser I dont see the controls. I can see the label
(which it is out of position) but the button is not
visible at all.

Did I missing anything while installation.

Any help is highly appreciated.

Thanks
Vinit

Nov 18 '05 #6
Did you install IIS after installing the .NET framework? I am aware of a
case where this was done and the ASPX processing did not work. The remedy
was to reinstall IIS and then the framework - this may be an overkill
solution but it is a simple & clean one.

Also - if you are building your project with Studio 2003 you will need to
upgrade your framework to ver 1.1

Simon

"Vinit Kumar" <an*******@disc ussions.microso ft.com> wrote in message
news:09******** *************** *****@phx.gbl.. .
Hi all,

I installed .NET Framework (ver 1.0.3705) on my laptop
recently. I created the simplest of ASP.NET form having a
button and a label. When I build the application I get no
errors or warnings. But when I run the application in a
browser I dont see the controls. I can see the label
(which it is out of position) but the button is not
visible at all.

Did I missing anything while installation.

Any help is highly appreciated.

Thanks
Vinit

Nov 18 '05 #7

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

Similar topics

4
3202
by: rossum | last post by:
I am using Visual C# Express Beta, though I suspect that my question has more to do with .NET than with C# specifically. I have written a form with a Web Browser in it. At the top I have a button bar. What I want to do is to have a button which searches for user-entered text in the HTML document in the Web Browser. When I run my form I can type Ctrl-F and up comes a standard Find dialogue box which does exactly what I want - the...
7
4531
by: Joe | last post by:
I have an upload file operation in the web application. UploadForm.asp is the form, and UploadAction.asp is the form processing. //UploadForm.asp <FORM NAME="InputForm" ACTION="UploadAction.asp" METHOD="POST" enctype=multipart/form-data> <input type="file" name="fileName"> //etc ... </FORM>
8
5463
by: baustin75 | last post by:
Posted: Mon Oct 03, 2005 1:41 pm Post subject: cannot mail() in ie only when debugging in php designer 2005 -------------------------------------------------------------------------------- Hello, I have a very simple problem but cannot seem to figure it out. I have a very simple php script that sends a test email to myself. When I debug it in PHP designer, it works with no problems, I get the test email. If
8
24266
by: Andreas Klemt | last post by:
Hello, I get this error Message "cannot redirect after http headers have been sent" when I do this response.redirect ("home.aspx") How can I find out with vb.net if already a http header has been sent like If response.IsSentHttpHeader then ....
2
8137
by: Tim Reynolds | last post by:
Team, When my web service throws an exception and I am debugging on my PC - I get the exception back in my browser fine. My web.config shows <customErrors mode="Off"/> and this is working well. However, when I test this web service on the deployment server, I only get 'The page cannot be displayed' instead of the exception. That is when I call the web service on the deployment server locally or remotely. The web.config on the...
11
2724
by: Laurent Compere | last post by:
Hi, I'm trying to do something I thought easy. Explanation : I've recently bought a Multimedia Player DVX-500E. This player is connected via ethernet on my local network et allows among other things to browse web pages (not everyone). I don't know anything about this browser nor about media server implentation (on the pc side). I want to browse a page with Tv schedule (a simplified version of EuroTV.com). To do that, I've created a php...
1
9593
by: bbulsara23 | last post by:
Hi, this has been asked so many times before but I cannot get an answer that works. So I'm asking again. I am using .Net 1.1 on a Windows XP Pro.
5
5083
by: smatta | last post by:
I have just installed MySql version 5.0-18 on Red Hat Fedora Core 4. It is running but I cant connect to it using MySql Query Browser running on my pc. >From my pc, I can telnet to the sql server / port. I get back a garbled message: 5.0.18-standard§}WxyuadT,☻V6F?J5i1YMT= Should this be garbled ? or is there a problem ?
1
1944
by: =?Utf-8?B?RGVubmlzIE1jQ2FydGh5?= | last post by:
I am trying to add users to the default ASP.NET membership provider (SQL Express) using the ASP.NET Configuration Tool. When I launch the ASP.NET Configuration Tool from the Web Site menu in Visual Studio, the ASP.NET development server starts, a browser window opens, and the browser displays this error message: "The page cannot be displayed. Cannot find server or DNS error."
13
3990
by: =?Utf-8?B?Um9nZXIgTWFydGlu?= | last post by:
This is a follow-up to my post "Silverlight video doesn't work when file is streamed from handler in ASP.net" at http://www.microsoft.com/communities/newsgroups/en-us/default.aspx?dg=microsoft.public.dotnet.framework.aspnet&mid=e9a38d03-83a8-41fc-8950-5ee60d2a18a5. I have a web site under .NET 2.0 that renders videos using the Silverlight media player. When I stream the video file (.wmv) to the browser via a hard-coded link to the file,...
0
8428
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8851
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...
1
8542
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
6181
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
5650
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
4177
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...
0
4343
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2760
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1984
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.