473,396 Members | 1,907 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,396 software developers and data experts.

Some clarification needed C# vs. Javascript

joe
I'm a newbie so please bear with my newbie qustions.

I just got a note from my Web hotel help desk and they said the web hotel Windows
server support ASP 1.0 thru ASP 2.0 and newer.

But when I add anything:

<%@ Language="C#" %>
<html><body><form>
....

I get an error message. If the page starts
<%@ Language="javascript" %>
<html><body><form>
....

I don't get an error.

I bought a book "MS ASP.NET 2.0" and examples there (simple Helloworld etc) won't
run on the server unless I change the header to <%@ Language="javascript" %>. And
after that most examples fail unless they are very simple Response.Write.

What is the matter? Do I have a version of ASP.NET 2.0 on the web hotel server
that does not support C#?? On my own computer with Microsoft Visual Web Developer
2005 Express Edition everything runs OK.
Apr 16 '06 #1
5 1522
Hello Joe,

Are you sure that ASP.net 2.0 are included in your service, not that hoster
provige in general?

J> I'm a newbie so please bear with my newbie qustions.
J> I just got a note from my Web hotel help desk and they said the web
J> hotel Windows server support ASP 1.0 thru ASP 2.0 and newer.
J>
J> But when I add anything:
J>
J> <%@ Language="C#" %>
J> <html><body><form>
J> ...
J> I get an error message. If the page starts
J> <%@ Language="javascript" %>
J> <html><body><form>
J> ...
J> I don't get an error.
J>
J> I bought a book "MS ASP.NET 2.0" and examples there (simple
J> Helloworld etc) won't run on the server unless I change the header to
J> <%@ Language="javascript" %>. And after that most examples fail
J> unless they are very simple Response.Write.
J>
J> What is the matter? Do I have a version of ASP.NET 2.0 on the web
J> hotel server that does not support C#?? On my own computer with
J> Microsoft Visual Web Developer 2005 Express Edition everything runs
J> OK.
J>
---
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche
Apr 16 '06 #2
joe
Michael Nemtsev <ne*****@msn.com> wrote:
Hello Joe,

Are you sure that ASP.net 2.0 are included in your service, not that hoster
provige in general?
I emailed their help desk asking "Which version of ASP is supported" and they
replied

J> I'm a newbie so please bear with my newbie qustions.
J> I just got a note from my Web hotel help desk and they said the web
J> hotel Windows server support ASP 1.0 thru ASP 2.0 and newer.
J>
J> But when I add anything:
J>
J> <%@ Language="C#" %>
J> <html><body><form>
J> ...
J> I get an error message. If the page starts
J> <%@ Language="javascript" %>
J> <html><body><form>
J> ...
J> I don't get an error.
J>
J> I bought a book "MS ASP.NET 2.0" and examples there (simple
J> Helloworld etc) won't run on the server unless I change the header to
J> <%@ Language="javascript" %>. And after that most examples fail
J> unless they are very simple Response.Write.
J>
J> What is the matter? Do I have a version of ASP.NET 2.0 on the web
J> hotel server that does not support C#?? On my own computer with
J> Microsoft Visual Web Developer 2005 Express Edition everything runs
J> OK.
J>
---
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche

Apr 16 '06 #3
Is it ASP or is it ASP.NET?

Apr 17 '06 #4
Hello Chris,

Seems that just ASP

CD> Is it ASP or is it ASP.NET?
CD>
---
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche
Apr 17 '06 #5
If it is classic ASP, the you cannot use C#

Apr 17 '06 #6

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

Similar topics

53
by: Cardman | last post by:
Greetings, I am trying to solve a problem that has been inflicting my self created Order Forms for a long time, where the problem is that as I cannot reproduce this error myself, then it is...
3
by: solomon_13000 | last post by:
> Wonthaggi Civic Theatre 'WCT' Case Study > > The town of Wonthaggi has a theatre which is owned and > operated by the local council, it is called the > Wonthaggi Civic Theatre (WCT) and a wide...
8
by: Victor | last post by:
I need a JavaScript timer - I have five events I need to time, that can be triggered by a mouseclick event, or a keypress event. Each event is separated by only one to two seconds. The first...
8
by: Sai Kit Tong | last post by:
In the article, the description for "Modiy DLL That Contains Consumers That Use Managed Code and DLL Exports or Managed Entry Points" suggests the creation of the class ManagedWrapper. If I...
3
by: Jon Booth | last post by:
I have just started programming .NET having come from ASP. We used to create a connection and store it in a session.This meant for each user logging into the site there was only one connection ...
3
by: Lerp | last post by:
Hi all, I have a developer that likes to work using all code behind forms no matter the size of the page, whereas I don't usually use this format. Today when I went to remove a field from one...
1
by: danilo of TUP | last post by:
Greetings, im Danilo, a student from TUP Manila and taking up COMPUTER SCIENCE. we are going to have a defense or we could say a project in turbo c. i just wanna know how to use the SWITCH...
4
by: vivekian | last post by:
Hi, Have this following hierarchy which am implementing for a networking program. The base class 'ASocket' is the base class from which 'AListener' and 'ATalker' inherit . None of the functions...
17
by: fctk | last post by:
some other doubts: 1) K&R, p50, 2.10: "if expr1 and expr2 are expressions, then expr1 op= expr2 is equivalent to expr1 = (expr1) op (expr2) except that expr1 is computed only once."
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...
0
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,...
0
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...
0
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...
0
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,...

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.