473,765 Members | 2,053 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Need with Error Message

I'm just starting out in an introductory ASP.Net course, and am trying to run
a simple program but keeping getting an error.

I'm running XP, have installed Internet Information Services (5.1) ,
Microsoft .Net Framework (English) v1.0.3705 and Microsoft .Net Framework SDK
(English) v1.0a on my computer. Also Visual Studio .Net 2002 is also
installed.

"http://localhost/day1/listing0104.asp x" is placed in the address line of
Browser. The following error message displays:

Line: 5
Char: 5
Error: Expected ';'
Code: 0
URL: http://localhost/day1/listing0104.aspx

The program is a follows:
<%@ Page Language="VB" %>

<script runat="server">

sub Page_Load(obj as object, e as eventargs)
lblMessage.text = "Welcome to ASPNet!"
end sub

</script>

<html><body>
<asp:Label id="lblMessage " runat="server"/>
</body></html>

My hunch is that the .Net Framework 1.1 might work better than the current
1.0v.

Any ideas as to what is causing the error?

Thank you,
Mark
Nov 19 '05
25 1926
You should be able to run them both "side-by-side",
and still develop apps with VS.NET 2002.

For that, you would need to *not* uninstall
the .Net Framework 1.0, OK ?

If all you are looking for is to fix your .Net Framework
1.0 install and continue to use VS.NET 2002,
then you should install .Net Framework SP3.

You could also uninstall/reinstall .Net Framework 1.0,
and *then* install the .Net Framework SP3.

If you re-install VS.NET 2002,
make sure you apply SP3 afterwards.

Juan T. Llibre
ASP.NET MVP
===========
"Mark" <Ma**@discussio ns.microsoft.co m> wrote in message
news:83******** *************** ***********@mic rosoft.com...
Juan -

OK, Will .Net Framework 1.1 mess up Visual Studio .Net 2002?

Thanks Mark

"Juan T. Llibre" wrote:
I should have added that you should uninstall
the .NET Framework 1.0 *before* installing 1.1

OK ?

Juan T. Llibre
ASP.NET MVP
===========
"Mark" <Ma**@discussio ns.microsoft.co m> wrote in message
news:BC******** *************** ***********@mic rosoft.com...
> I'd say I have an installation or configuration error, too.
>
> What can I do?
>
> What I have installed is:
> IIS 5.1
> .Net Framework (English) v1.0.3705
> .Net Framwork SDK (English) 1.0a
> Visual Studio .Net Enterprise Architect - English (2002)
>
>
>
>
>


Nov 19 '05 #21
Sorry Juan! It's been a long thread ;-)

"Juan T. Llibre" wrote:
re:
Juan,
After you get the 1.1


You mean "Mark"... :-)

I'm running 1.1 and 2.0...

Juan T. Llibre
ASP.NET MVP
===========
"Brian Brown" <Br********@dis cussions.micros oft.com> wrote in message
news:65******** *************** ***********@mic rosoft.com...
Juan,

After you get the 1.1 framwork installed please give it a try again and
then
post your results. We would be very interested to see them.

Good Luck!


Nov 19 '05 #22
Gentlemen -

I installed .NET Framework's SP3. The system gave me the message that it
was already installed but I could "reinstall it" on .Net Framework and .Net
Framework SDK 1.0a, which of course I click yes.

I ran the simple C# and VB .aspx files and received the same error messages.

Will download and install v1.1 (without uninstalling 1.0).
Nov 19 '05 #23
Gentlemen -

Instead of loading .Net Framework 1.1, I uninstalled/installed .Net
Framework 1.0, .Net Framework SDK 1.0 and Service Pack 3.

Guess What - It worked!!!!!!!!! !!

Thanks for your patience and help

Nov 19 '05 #24
Congratulations , Mark!

Happy coding!

Juan T. Llibre
ASP.NET MVP
===========
"Mark" <Ma**@discussio ns.microsoft.co m> wrote in message
news:E3******** *************** ***********@mic rosoft.com...
Gentlemen -

Instead of loading .Net Framework 1.1, I uninstalled/installed .Net
Framework 1.0, .Net Framework SDK 1.0 and Service Pack 3.

Guess What - It worked!!!!!!!!! !!

Thanks for your patience and help

Nov 19 '05 #25
Glad to see you solved the problem. I had similar problems doing the simple
application.

I found the aspx server extension wasn't setup on my web server. I used the
"aspnet_regiis. exe /I" to setup the extension and everything started to work.
"Juan T. Llibre" wrote:
Congratulations , Mark!

Happy coding!

Juan T. Llibre
ASP.NET MVP
===========
"Mark" <Ma**@discussio ns.microsoft.co m> wrote in message
news:E3******** *************** ***********@mic rosoft.com...
Gentlemen -

Instead of loading .Net Framework 1.1, I uninstalled/installed .Net
Framework 1.0, .Net Framework SDK 1.0 and Service Pack 3.

Guess What - It worked!!!!!!!!! !!

Thanks for your patience and help


Nov 19 '05 #26

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

Similar topics

2
3056
by: lawrence | last post by:
I've been bad about documentation so far but I'm going to try to be better. I've mostly worked alone so I'm the only one, so far, who's suffered from my bad habits. But I'd like other programmers to have an easier time understanding what I do. Therefore this weekend I'm going to spend 3 days just writing comments. Before I do it, I thought I'd ask other programmers what information they find useful. Below is a typical class I've...
6
6328
by: mike | last post by:
Hello, After trying to validate this page for a couple of days now I was wondering if someone might be able to help me out. Below is a list of snippets where I am having the errors. 1. Line 334, column 13: there is no attribute "SRC" <bgsound src="C:\My Documents\zingwent.mids"> You have used the attribute named above in your document, but the document type you are using does not support that attribute for this element. This error is...
2
1997
by: CSDunn | last post by:
Hello, I need some assistance with error handling in an Access 2003 Project form. The project is has a data source connection to a SQL Server 2000 database. The main form is named ‘frmSelectByTest', and its subform's ‘Name' and ‘Source Object' properties are ‘frmSelectByTestSub'. The ‘Default View' on the main form is ‘Single Form', and on the sub form is ‘Continuous Forms'. The users select the name of a test (uniquely identified by a...
1
323
by: Marco Krechting | last post by:
Hi All, This is a response on my earlier posting about trapping the standard access error message when you click on a hyperlink field and the file cannot be found. I know now how to work on the field to use multiple hyperlink bases but I still need a way to get rit of this error message. Can I have a error trap at form level? Or is there another way of dealing with it?
7
3306
by: Timothy Shih | last post by:
Hi, I am trying to figure out how to use unmanaged code using P/Invoke. I wrote a simple function which takes in 2 buffers (one a byte buffer, one a char buffer) and copies the contents of the byte buffer into the character pointer. The code looks like the following: #include <stdio.h> #include <stdlib.h> #include "stdafx.h" BOOL APIENTRY DllMain( HANDLE hModule, DWORD ul_reason_for_call,
4
1928
by: Tressa | last post by:
I have a messagebox that I only want to pop up only if it is not already being displayed on the screen. My code is still poping up the messagebox even though it is on the screen. What am I doing wrong here. Any suggestions on how to fix this using System; using System.Collections; using System.ComponentModel;
2
1604
by: Charles | last post by:
I need to find a way to share information between two classes, one is an employee class and the other is a custom error class that inherits from ApplicationException. These two classes are part of a ClassLibrary project. The other project has all the web page classes. My project allows employees to log in using Forms Auth, I do some checking on the person that is logging in and then after that is good I create an employee object and...
12
5342
by: Noel | last post by:
Hello, I'm currently developing a web service that retrieves data from an employee table. I would like to send and retrieve a custom employee class to/from the webservice. I have currently coded the custom employee class and have built it as a separate library (employee.dll). This employee.dll is being referenced by both the web service and the windows application. I face the following problem when I send this class to the webservice.
1
2526
by: tccode97 | last post by:
Hi, I need an urgent help. I am developing a socket application in VC++ that uses asynchronous connnection. After doing search on google, I found the following link http://msdn2.microsoft.com/en-us/library/system.net.sockets.udpclient...
5
7966
by: Chuck Anderson | last post by:
I run Apache 2.0.55, and Php (both 4.4.1 and 5.2.5) on my home PC (Windows XP). One of the scripts that I run daily needs to access a secure URL (https://..............). When I am running Php4, it can open the file. However, when I run Php5 I (now) get this error message: "Unable to find the wrapper "https" - did you forget to enable it when you configured PHP?" This is new. Last time I messed with this, I merely got:
0
9568
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
10007
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9832
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7375
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
6649
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
5275
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
5419
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3531
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2805
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.