Some clarification needed C# vs. Javascript

  • Thread starter Thread starter joe
  • Start date Start date
J

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.
 
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 Nietzsch
 
Michael Nemtsev said:
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
 
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 Nietzsch
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Do you need JavaScript in ASP.NET? 22
JavaScript and C# 2
Newbie simple question 3
How Do i use this Javascript 3
beginning 1
Master page problem 4
What am I doing wrong? 1
Javascript call 2

Back
Top