473,765 Members | 1,955 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 1927
Mark,

I agree with Juan. This is pretty simple code. If the code that either one
of us provided does not work you will probably need to reinstall.

Hope this helps.

Nov 19 '05 #11
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 #12
To determine the version of the .NET Framework
on a computer that is running Microsoft Windows XP

1. Click Start, and then click Control Panel.

2. In Classic view, double-click Administrative Tools.

3. Double-click either Microsoft .NET Framework Configuration.

4. In the .NET Framework Configuration window,
click About .NET Framework Configuration on the Help menu.

The .NET Framework version number appears in the
"About .NET Framework Configuration" dialog box.

If the version number is 1.0.3705.0,
you have version 1.0 without any service packs installed.

If you don't have any .Net Framework SPs installed,
you could try installing the .NET Framework's SP3.

Download it at :

http://www.microsoft.com/downloads/d...DisplayLang=en

You don't need to install SP1 nor SP2, to install SP3.

Even better, you could download .Net Framework 1.1,
and install *that*.

The .Net 1.1 redistributable is available at :
http://www.microsoft.com/downloads/d...DisplayLang=en
( 23 MB )

The .Net Framework 1.1 SDK is available at :
http://www.microsoft.com/downloads/d...DisplayLang=en
(110 MB)

You should install .Net Framework 1.1 SP1,
after you install the .Net Framework 1.1 or the 1.1 SDK :

Get it from:
http://www.microsoft.com/downloads/d...displaylang=en
( 10 MB )

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 #13
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 #14
Juan -

I will try the 1.1 installation.

I'm guessing v1.1 will not interfere with Visual Studio .Net 2002 (which
uses .Net Framework 1.0).

Thank you for your help.

Mark
Nov 19 '05 #15
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 #16
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 #17
Mark,

After you install the framework will you please post your results of running
this page? We are very interested in seeing how it turns out.

Good Luck.
Nov 19 '05 #18
Juan -

Will I be able to use Visual Studio .Net 2002 with v1.1?

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 #19
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 #20

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
9398
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10160
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...
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...
1
9951
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,...
0
8831
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
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
5421
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.

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.